citeproc 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (788) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +19 -13
  3. data/Rakefile +7 -3
  4. data/features/affix/InterveningEmpty.feature +52 -0
  5. data/features/affix/PrefixFullCitationTextOnly.feature +41 -0
  6. data/features/affix/PrefixWithDecorations.feature +41 -0
  7. data/features/affix/SuppressDelimiterCharsWhenFullStopInSuffix.feature +410 -0
  8. data/features/affix/TextNodeWithMacro.feature +40 -0
  9. data/features/affix/WithCommas.feature +987 -0
  10. data/features/affix/WordProcessorAffixNoSpace.feature +41 -0
  11. data/features/api/SuppressAuthor.feature +48 -0
  12. data/features/api/UpdateItemsDelete.feature +44 -0
  13. data/features/api/UpdateItemsDeleteDecrementsByCiteDisambiguation.feature +46 -0
  14. data/features/api/UpdateItemsReshuffle.feature +44 -0
  15. data/features/bibheader/EntryspacingDefaultValueOne.feature +37 -0
  16. data/features/bibheader/EntryspacingExplicitValueZero.feature +38 -0
  17. data/features/bibheader/SecondFieldAlign.feature +38 -0
  18. data/features/bibheader/SecondFieldAlignWithAuthor.feature +40 -0
  19. data/features/bibheader/SecondFieldAlignWithNumber.feature +44 -0
  20. data/features/bibsection/Exclude.feature +47 -0
  21. data/features/bibsection/Include.feature +47 -0
  22. data/features/bibsection/Quash.feature +48 -0
  23. data/features/bibsection/Select.feature +47 -0
  24. data/features/bugreports/Abnt.feature +59 -0
  25. data/features/bugreports/AccidentalAllCaps.feature +813 -0
  26. data/features/bugreports/AllCapsLeakage.feature +818 -0
  27. data/features/bugreports/ApostropheOnParticle.feature +35 -0
  28. data/features/bugreports/AsaSpacing.feature +49 -0
  29. data/features/bugreports/AsmJournals.feature +153 -0
  30. data/features/bugreports/AuthorYear.feature +343 -0
  31. data/features/bugreports/AutomaticallyDeleteItemsFails.feature +154 -0
  32. data/features/bugreports/BadCitationUpdate.feature +39 -0
  33. data/features/bugreports/BrokenInstitutionalName.feature +390 -0
  34. data/features/bugreports/ChicagoAuthorDateLooping.feature +388 -0
  35. data/features/bugreports/ChineseCharactersFamilyOnlyPluralLabel.feature +36 -0
  36. data/features/bugreports/CitationSortsWithEtAl.feature +74 -0
  37. data/features/bugreports/CollapseFailure.feature +72 -0
  38. data/features/bugreports/ContainerTitleShort.feature +45 -0
  39. data/features/bugreports/ContentPunctuationDuplicate1.feature +40 -0
  40. data/features/bugreports/ContextualPluralWithMainItemFields.feature +34 -0
  41. data/features/bugreports/CreepingAddNames.feature +223 -0
  42. data/features/bugreports/DelimiterBug.feature +984 -0
  43. data/features/bugreports/DelimitersOnLocator.feature +322 -0
  44. data/features/bugreports/DemoPageFullCiteCruftOnSubsequent.feature +711 -0
  45. data/features/bugreports/DisambiguationAddNames.feature +233 -0
  46. data/features/bugreports/DisambiguationAddNamesBibliography.feature +235 -0
  47. data/features/bugreports/DroppingGroupDelimiterSpace.feature +37 -0
  48. data/features/bugreports/DuplicateSpaces.feature +151 -0
  49. data/features/bugreports/DuplicateSpaces2.feature +333 -0
  50. data/features/bugreports/DuplicateSpaces3.feature +200 -0
  51. data/features/bugreports/DuplicateTerminalPunctuationInBibliography.feature +227 -0
  52. data/features/bugreports/EmptyIfMatchNoneFail.feature +38 -0
  53. data/features/bugreports/EtAlSubsequent.feature +41 -0
  54. data/features/bugreports/FourAndFour.feature +715 -0
  55. data/features/bugreports/FrenchApostrophe.feature +34 -0
  56. data/features/bugreports/GreekStyleProblems.feature +1201 -0
  57. data/features/bugreports/GreekStyleTwoEditors.feature +1201 -0
  58. data/features/bugreports/IeeePunctuation.feature +151 -0
  59. data/features/bugreports/LabelsOutOfPlace.feature +715 -0
  60. data/features/bugreports/MovePunctuationInsideQuotesForLocator.feature +714 -0
  61. data/features/bugreports/NoEventInNestedMacroWithOldProcessor.feature +120 -0
  62. data/features/bugreports/NoTitle.feature +346 -0
  63. data/features/bugreports/NumberAffixEscape.feature +35 -0
  64. data/features/bugreports/NumberInMacroWithVerticalAlign.feature +36 -0
  65. data/features/bugreports/NumericStyleFirstRefMultipleCiteFailure.feature +148 -0
  66. data/features/bugreports/OldMhraDisambiguationFailure.feature +411 -0
  67. data/features/bugreports/ProcessorHang1.feature +209 -0
  68. data/features/bugreports/SingleQuote.feature +151 -0
  69. data/features/bugreports/SingletonIfMatchNoneFail.feature +38 -0
  70. data/features/bugreports/SortSecondaryKey.feature +233 -0
  71. data/features/bugreports/SortSecondaryKeyBibliography.feature +235 -0
  72. data/features/bugreports/SortedIeeeItalicsFail.feature +296 -0
  73. data/features/bugreports/ThesisUniversityAppearsTwice.feature +715 -0
  74. data/features/bugreports/TitleCase.feature +33 -0
  75. data/features/bugreports/TwoCitesPlusOneBackref.feature +963 -0
  76. data/features/bugreports/TwoFullStops.feature +394 -0
  77. data/features/bugreports/UndefinedInName.feature +199 -0
  78. data/features/bugreports/UndefinedInName2.feature +184 -0
  79. data/features/bugreports/UndefinedInName3.feature +351 -0
  80. data/features/bugreports/UndefinedNotString.feature +144 -0
  81. data/features/bugreports/UndefinedStr.feature +151 -0
  82. data/features/bugreports/UnisaHarvardInitialization.feature +62 -0
  83. data/features/bugreports/YearSuffixInHarvard1.feature +205 -0
  84. data/features/bugreports/YearSuffixLingers.feature +55 -0
  85. data/features/bugreports/disambiguate.feature +343 -0
  86. data/features/bugreports/ikeyOne.feature +277 -0
  87. data/features/bugreports/parenthesis.feature +333 -0
  88. data/features/bugreports/parseName.feature +46 -0
  89. data/features/bugreports/undefinedCrash.feature +150 -0
  90. data/features/collapse/AuthorCollapse.feature +41 -0
  91. data/features/collapse/AuthorCollapseDifferentAuthorsOneWithEtAl.feature +43 -0
  92. data/features/collapse/AuthorCollapseNoDate.feature +41 -0
  93. data/features/collapse/AuthorCollapseNoDateSorted.feature +45 -0
  94. data/features/collapse/CitationNumberRangesInsert.feature +39 -0
  95. data/features/collapse/CitationNumberRangesMixed.feature +39 -0
  96. data/features/collapse/CitationNumberRangesMixed2.feature +39 -0
  97. data/features/collapse/CitationNumberRangesMixed3.feature +39 -0
  98. data/features/collapse/CitationNumberRangesOneOnly.feature +41 -0
  99. data/features/collapse/CitationNumberRangesWithAffixes.feature +35 -0
  100. data/features/collapse/CitationNumberRangesWithAffixesGrouped.feature +51 -0
  101. data/features/collapse/CitationNumberRangesWithAffixesGroupedLocator.feature +51 -0
  102. data/features/collapse/CitationNumberRangesWithAffixesNoCollapse.feature +36 -0
  103. data/features/collapse/NumericDuplicate.feature +37 -0
  104. data/features/collapse/NumericDuplicate2.feature +34 -0
  105. data/features/collapse/TrailingDelimiter.feature +57 -0
  106. data/features/collapse/YearSuffixCollapse.feature +46 -0
  107. data/features/collapse/YearSuffixCollapseNoRange.feature +46 -0
  108. data/features/collapse/YearSuffixCollapseNoYearSuffixDelimiter.feature +45 -0
  109. data/features/collapse/YearSuffixImplicitCollapseNoYearSuffixDelimiter.feature +44 -0
  110. data/features/condition/EmptyDate.feature +42 -0
  111. data/features/condition/EmptyIsNumericFalse.feature +40 -0
  112. data/features/condition/EmptyIsUncertainDateFalse.feature +40 -0
  113. data/features/condition/EmptyShortTitleFalse.feature +40 -0
  114. data/features/condition/FirstNullAny.feature +38 -0
  115. data/features/condition/IsNumeric.feature +49 -0
  116. data/features/condition/LocatorIsFalse.feature +50 -0
  117. data/features/condition/MatchAll.feature +43 -0
  118. data/features/condition/NameAndTextVars.feature +56 -0
  119. data/features/condition/NumberIsNumeric.feature +40 -0
  120. data/features/condition/NumeralIsNumeric.feature +40 -0
  121. data/features/condition/NumeralWithTextIsNumeric.feature +40 -0
  122. data/features/condition/RefTypeBranching.feature +119 -0
  123. data/features/condition/SingletonIfMatchNone.feature +41 -0
  124. data/features/condition/TextIsNotNumeric.feature +40 -0
  125. data/features/condition/VariableAll.feature +41 -0
  126. data/features/condition/VariableAny.feature +41 -0
  127. data/features/condition/VariableNone.feature +41 -0
  128. data/features/date/Accessed.feature +33 -0
  129. data/features/date/DateAD.feature +37 -0
  130. data/features/date/DateBC.feature +37 -0
  131. data/features/date/DateNoDateNoTest.feature +37 -0
  132. data/features/date/DateNoDateWithTest.feature +45 -0
  133. data/features/date/DayOrdinalDayOneOnly.feature +44 -0
  134. data/features/date/IgnoreNonexistentSort.feature +37 -0
  135. data/features/date/InPress.feature +38 -0
  136. data/features/date/January.feature +33 -0
  137. data/features/date/KeyVariable.feature +46 -0
  138. data/features/date/LiteralFailGracefullyIfNoValue.feature +38 -0
  139. data/features/date/LocalizedDateFormats-af-ZA.feature +57 -0
  140. data/features/date/LocalizedDateFormats-ar-AR.feature +57 -0
  141. data/features/date/LocalizedDateFormats-bg-BG.feature +57 -0
  142. data/features/date/LocalizedDateFormats-ca-AD.feature +57 -0
  143. data/features/date/LocalizedDateFormats-cs-CZ.feature +57 -0
  144. data/features/date/LocalizedDateFormats-da-DK.feature +57 -0
  145. data/features/date/LocalizedDateFormats-de-AT.feature +57 -0
  146. data/features/date/LocalizedDateFormats-de-CH.feature +57 -0
  147. data/features/date/LocalizedDateFormats-de-DE.feature +57 -0
  148. data/features/date/LocalizedDateFormats-el-GR.feature +57 -0
  149. data/features/date/LocalizedDateFormats-en-US.feature +57 -0
  150. data/features/date/LocalizedDateFormats-es-ES.feature +57 -0
  151. data/features/date/LocalizedDateFormats-et-EE.feature +57 -0
  152. data/features/date/LocalizedDateFormats-fr-FR.feature +57 -0
  153. data/features/date/LocalizedDateFormats-he-IL.feature +57 -0
  154. data/features/date/LocalizedDateFormats-hu-HU.feature +57 -0
  155. data/features/date/LocalizedDateFormats-is-IS.feature +57 -0
  156. data/features/date/LocalizedDateFormats-it-IT.feature +57 -0
  157. data/features/date/LocalizedDateFormats-ja-JP.feature +57 -0
  158. data/features/date/LocalizedDateFormats-kh-KH.feature +46 -0
  159. data/features/date/LocalizedDateFormats-ko-KR.feature +57 -0
  160. data/features/date/LocalizedDateFormats-mn-MN.feature +57 -0
  161. data/features/date/LocalizedDateFormats-nb-NO.feature +57 -0
  162. data/features/date/LocalizedDateFormats-nl-NL.feature +57 -0
  163. data/features/date/LocalizedDateFormats-pl-PL.feature +57 -0
  164. data/features/date/LocalizedDateFormats-pt-BR.feature +57 -0
  165. data/features/date/LocalizedDateFormats-pt-PT.feature +57 -0
  166. data/features/date/LocalizedDateFormats-ro-RO.feature +57 -0
  167. data/features/date/LocalizedDateFormats-ru-RU.feature +57 -0
  168. data/features/date/LocalizedDateFormats-sk-SK.feature +57 -0
  169. data/features/date/LocalizedDateFormats-sl-SL.feature +57 -0
  170. data/features/date/LocalizedDateFormats-sr-RS.feature +57 -0
  171. data/features/date/LocalizedDateFormats-sv-SE.feature +57 -0
  172. data/features/date/LocalizedDateFormats-th-TH.feature +57 -0
  173. data/features/date/LocalizedDateFormats-tr-TR.feature +57 -0
  174. data/features/date/LocalizedDateFormats-uk-UA.feature +57 -0
  175. data/features/date/LocalizedDateFormats-vi-VN.feature +57 -0
  176. data/features/date/LocalizedDateFormats-zh-CN.feature +57 -0
  177. data/features/date/LocalizedDateFormats-zh-TW.feature +57 -0
  178. data/features/date/LocalizedNumericDefault.feature +33 -0
  179. data/features/date/LocalizedNumericDefaultMissingDay.feature +33 -0
  180. data/features/date/LocalizedNumericDefaultWithAffixes.feature +33 -0
  181. data/features/date/LocalizedNumericYear.feature +33 -0
  182. data/features/date/LocalizedNumericYearMonth.feature +33 -0
  183. data/features/date/LocalizedNumericYearRange.feature +33 -0
  184. data/features/date/LocalizedNumericYearWithAffixes.feature +33 -0
  185. data/features/date/LocalizedTextDefault.feature +33 -0
  186. data/features/date/LocalizedTextDefaultMissingDay.feature +33 -0
  187. data/features/date/LocalizedTextDefaultWithAffixes.feature +33 -0
  188. data/features/date/LocalizedTextInStyleLocaleWithTextCase.feature +42 -0
  189. data/features/date/LocalizedTextMonthFormOverride.feature +35 -0
  190. data/features/date/LocalizedTextYear.feature +33 -0
  191. data/features/date/LocalizedTextYearMonth.feature +33 -0
  192. data/features/date/LocalizedTextYearWithAffixes.feature +33 -0
  193. data/features/date/LocalizedWithInStyleFormatting.feature +35 -0
  194. data/features/date/LoneJapaneseMonth.feature +33 -0
  195. data/features/date/LongMonth.feature +37 -0
  196. data/features/date/LopsidedDataYearSuffixCollapse.feature +43 -0
  197. data/features/date/MaskNonexistentWithCondition.feature +42 -0
  198. data/features/date/NegativeDateSort.feature +40 -0
  199. data/features/date/NegativeDateSortViaMacro.feature +43 -0
  200. data/features/date/NegativeDateSortViaMacroOnYearMonthOnly.feature +53 -0
  201. data/features/date/NoDate.feature +45 -0
  202. data/features/date/NonexistentSortReverseBibliography.feature +47 -0
  203. data/features/date/NonexistentSortReverseCitation.feature +37 -0
  204. data/features/date/OtherAlone.feature +37 -0
  205. data/features/date/OtherWithDate.feature +37 -0
  206. data/features/date/RawParseSimpleDate.feature +37 -0
  207. data/features/date/RawSeasonRange1.feature +33 -0
  208. data/features/date/RawSeasonRange2.feature +33 -0
  209. data/features/date/RawSeasonRange3.feature +33 -0
  210. data/features/date/SeasonSubstituteInGroup.feature +38 -0
  211. data/features/date/SortEmptyDatesBibliography.feature +53 -0
  212. data/features/date/SortEmptyDatesCitation.feature +42 -0
  213. data/features/date/String.feature +36 -0
  214. data/features/date/TextFormFulldateDayRange.feature +37 -0
  215. data/features/date/TextFormFulldateMonthRange.feature +37 -0
  216. data/features/date/TextFormFulldateYearRange.feature +37 -0
  217. data/features/date/TextFormMonthdateMonthRange.feature +37 -0
  218. data/features/date/TextFormMonthdateYearRange.feature +37 -0
  219. data/features/date/TextFormYeardateYearRange.feature +37 -0
  220. data/features/date/TextFormYeardateYearRangeOpen.feature +37 -0
  221. data/features/date/Uncertain.feature +42 -0
  222. data/features/date/VariousInvalidDates.feature +37 -0
  223. data/features/date/YearSuffixDelimiter.feature +44 -0
  224. data/features/date/YearSuffixImplicitWithNoDate.feature +54 -0
  225. data/features/date/YearSuffixImplicitWithNoDateOneOnly.feature +54 -0
  226. data/features/date/YearSuffixWithNoDate.feature +54 -0
  227. data/features/decorations/AndTermUnaffectedByNameDecorations.feature +38 -0
  228. data/features/decorations/Baseline.feature +48 -0
  229. data/features/decorations/NestedQuotes.feature +33 -0
  230. data/features/decorations/NestedQuotesInnerReverse.feature +33 -0
  231. data/features/decorations/NoNormalWithoutDecoration.feature +41 -0
  232. data/features/decorations/SimpleFlipFlop.feature +33 -0
  233. data/features/decorations/SimpleQuotes.feature +33 -0
  234. data/features/disambiguate/AddNamesFailure.feature +43 -0
  235. data/features/disambiguate/AddNamesFailureWithAddGivenname.feature +44 -0
  236. data/features/disambiguate/AddNamesSuccess.feature +43 -0
  237. data/features/disambiguate/AllNamesBaseNameCountOnFailureIfYearSuffixAvailable.feature +55 -0
  238. data/features/disambiguate/AllNamesGenerally.feature +44 -0
  239. data/features/disambiguate/AllNamesSimpleSequence.feature +42 -0
  240. data/features/disambiguate/AllNamesWithInitialsGenerally.feature +44 -0
  241. data/features/disambiguate/AndreaEg1a.feature +47 -0
  242. data/features/disambiguate/AndreaEg1b.feature +48 -0
  243. data/features/disambiguate/AndreaEg1c.feature +47 -0
  244. data/features/disambiguate/AndreaEg2.feature +49 -0
  245. data/features/disambiguate/AndreaEg3.feature +50 -0
  246. data/features/disambiguate/AndreaEg4.feature +52 -0
  247. data/features/disambiguate/AndreaEg5.feature +53 -0
  248. data/features/disambiguate/BasedOnEtAlSubsequent.feature +44 -0
  249. data/features/disambiguate/BasedOnSubsequentFormWithBackref.feature +63 -0
  250. data/features/disambiguate/BasedOnSubsequentFormWithLocator.feature +67 -0
  251. data/features/disambiguate/ByCiteBaseNameCountOnFailureIfYearSuffixAvailable.feature +47 -0
  252. data/features/disambiguate/ByCiteDisambiguateCondition.feature +54 -0
  253. data/features/disambiguate/ByCiteGivennameExpandCrossNestedNames.feature +40 -0
  254. data/features/disambiguate/ByCiteGivennameNoShortFormInitializeWith.feature +39 -0
  255. data/features/disambiguate/ByCiteGivennameShortFormInitializeWith.feature +40 -0
  256. data/features/disambiguate/ByCiteGivennameShortFormNoInitializeWith.feature +39 -0
  257. data/features/disambiguate/ByCiteIncremental1.feature +355 -0
  258. data/features/disambiguate/ByCiteIncremental2.feature +352 -0
  259. data/features/disambiguate/ByCiteIsDefault.feature +250 -0
  260. data/features/disambiguate/ByCiteMinimalGivennameExpandMinimalNames.feature +48 -0
  261. data/features/disambiguate/ByCiteRetainNamesOnFailureIfYearSuffixNotAvailable.feature +46 -0
  262. data/features/disambiguate/ByCiteTwoAuthorsSameCite.feature +38 -0
  263. data/features/disambiguate/ByCiteTwoAuthorsSameFamilyName.feature +44 -0
  264. data/features/disambiguate/CitationLabelDefault.feature +34 -0
  265. data/features/disambiguate/CitationLabelInData.feature +34 -0
  266. data/features/disambiguate/DifferentSpacingInInitials.feature +40 -0
  267. data/features/disambiguate/DisambiguateTrueAndYearSuffixOne.feature +220 -0
  268. data/features/disambiguate/DisambiguateTrueAndYearSuffixTwo.feature +220 -0
  269. data/features/disambiguate/DisambiguateWithThree.feature +48 -0
  270. data/features/disambiguate/DisambiguateWithThree2.feature +91 -0
  271. data/features/disambiguate/DisambiguationHang.feature +48 -0
  272. data/features/disambiguate/ExtraTextCitation.feature +44 -0
  273. data/features/disambiguate/FailWithYearSuffix.feature +390 -0
  274. data/features/disambiguate/FamilyNameOnly.feature +43 -0
  275. data/features/disambiguate/HonorFullnameInBibliography.feature +49 -0
  276. data/features/disambiguate/ImplicitYearSuffixOnceOnly.feature +56 -0
  277. data/features/disambiguate/IncrementalExtraText.feature +55 -0
  278. data/features/disambiguate/InitializeWithButNoDisambiguation.feature +292 -0
  279. data/features/disambiguate/LastOnlyFailWithByCite.feature +49 -0
  280. data/features/disambiguate/NoTextElementUsesYearSuffixVariable.feature +39 -0
  281. data/features/disambiguate/PrimaryNameGenerally.feature +42 -0
  282. data/features/disambiguate/PrimaryNameWithInitialsLimitedToPrimary.feature +46 -0
  283. data/features/disambiguate/SetsOfNames.feature +205 -0
  284. data/features/disambiguate/SkipAccessedYearSuffix.feature +258 -0
  285. data/features/disambiguate/ThreeNoAuthorNoTitleEntries.feature +63 -0
  286. data/features/disambiguate/ToInitialOnly.feature +39 -0
  287. data/features/disambiguate/Trigraph.feature +36 -0
  288. data/features/disambiguate/YearCollapseWithInstitution.feature +51 -0
  289. data/features/disambiguate/YearSuffixAndSort.feature +50 -0
  290. data/features/disambiguate/YearSuffixAtTwoLevels.feature +45 -0
  291. data/features/disambiguate/YearSuffixFiftyTwoEntries.feature +48 -0
  292. data/features/disambiguate/YearSuffixFiftyTwoEntriesByCite.feature +48 -0
  293. data/features/disambiguate/YearSuffixMacroSameYearExplicit.feature +45 -0
  294. data/features/disambiguate/YearSuffixMacroSameYearImplicit.feature +42 -0
  295. data/features/disambiguate/YearSuffixMidInsert.feature +391 -0
  296. data/features/disambiguate/YearSuffixMixedDates.feature +52 -0
  297. data/features/disambiguate/YearSuffixTwoPairsBibliography.feature +63 -0
  298. data/features/disambiguate/YearSuffixTwoPairsFirstNameBibliography.feature +65 -0
  299. data/features/disambiguate/YearSuffixTwoPairsFullNamesBibliography.feature +63 -0
  300. data/features/disambiguate/YearSuffixWithEtAlSubequent.feature +51 -0
  301. data/features/disambiguate/YearSuffixWithMixedCreatorTypes.feature +53 -0
  302. data/features/discretionary/AuthorDateAuthorOnlyThenSuppressAuthor.feature +46 -0
  303. data/features/discretionary/AuthorOnly.feature +42 -0
  304. data/features/discretionary/CitationNumberAuthorOnlyThenSuppressAuthor.feature +41 -0
  305. data/features/discretionary/CitationNumberSuppressAuthor.feature +40 -0
  306. data/features/discretionary/SuppressAuthorSolo.feature +45 -0
  307. data/features/discretionary/SuppressEditorSolo.feature +45 -0
  308. data/features/discretionary/SuppressEditorSubstitute.feature +45 -0
  309. data/features/discretionary/SuppressMultipleAuthors.feature +45 -0
  310. data/features/display/AuthorAsHeading.feature +80 -0
  311. data/features/display/DisplayBlock.feature +54 -0
  312. data/features/display/SecondFieldAlignClone.feature +65 -0
  313. data/features/display/SecondFieldAlignMigratePunctuation.feature +154 -0
  314. data/features/etal/ShortFormOfName.feature +38 -0
  315. data/features/etal/UseZeroFirst.feature +47 -0
  316. data/features/flipflop/Apostrophes.feature +1064 -0
  317. data/features/flipflop/BoldfaceNodeLevelMarkup.feature +33 -0
  318. data/features/flipflop/ItalicsFlipped.feature +35 -0
  319. data/features/flipflop/ItalicsSimple.feature +39 -0
  320. data/features/flipflop/ItalicsWithOk.feature +48 -0
  321. data/features/flipflop/ItalicsWithOkAndTextcase.feature +48 -0
  322. data/features/flipflop/LeadingSingleQuote.feature +33 -0
  323. data/features/flipflop/QuotesInFieldNotOnNode.feature +33 -0
  324. data/features/flipflop/QuotesNodeLevelMarkup.feature +40 -0
  325. data/features/flipflop/SingleQuotesOnItalics.feature +33 -0
  326. data/features/flipflop/SmallCaps.feature +36 -0
  327. data/features/flipflop/StartingApostrophe.feature +33 -0
  328. data/features/form/TitleShort.feature +33 -0
  329. data/features/form/TitleShortNoLong.feature +33 -0
  330. data/features/form/TitleTestNoLongFalse.feature +40 -0
  331. data/features/fullstyles/ABdNT.feature +675 -0
  332. data/features/fullstyles/APA.feature +361 -0
  333. data/features/fullstyles/ChicagoArticleTitleQuestion.feature +390 -0
  334. data/features/fullstyles/ChicagoAuthorDateSimple.feature +394 -0
  335. data/features/fullstyles/ChicagoNoteWithBibliographyWithPublisher.feature +716 -0
  336. data/features/group/ComplexNesting.feature +397 -0
  337. data/features/group/ShortOutputOnly.feature +35 -0
  338. data/features/group/SuppressTermWhenNoOutputFromPartialDate.feature +39 -0
  339. data/features/group/SuppressValueWithEmptySubgroup.feature +46 -0
  340. data/features/group/SuppressWithEmptyNestedDateNode.feature +202 -0
  341. data/features/integration/CitationSort.feature +50 -0
  342. data/features/integration/CitationSortTwice.feature +51 -0
  343. data/features/integration/CrossCitationIbidOnInsert.feature +82 -0
  344. data/features/integration/DeleteName.feature +36 -0
  345. data/features/integration/DisambiguateAddGivenname1.feature +45 -0
  346. data/features/integration/DisambiguateAddGivenname2.feature +45 -0
  347. data/features/integration/DuplicateItem.feature +45 -0
  348. data/features/integration/DuplicateItem2.feature +45 -0
  349. data/features/integration/FirstReferenceNoteNumberPositionChange.feature +62 -0
  350. data/features/integration/IbidOnInsert.feature +50 -0
  351. data/features/integration/IbidWithDifferentLocators.feature +59 -0
  352. data/features/integration/SimpleFirstReferenceNoteNumber.feature +61 -0
  353. data/features/integration/SimpleIbid.feature +57 -0
  354. data/features/integration/SubsequentWhenInterveningFootnote.feature +51 -0
  355. data/features/integration/YearSuffixOnOffOn.feature +46 -0
  356. data/features/label/CollapsedPageNumberPluralDetection.feature +42 -0
  357. data/features/label/EditorTranslator1.feature +556 -0
  358. data/features/label/EmptyLabelVanish.feature +43 -0
  359. data/features/label/ImplicitForm.feature +36 -0
  360. data/features/label/NoFirstCharCapWithInTextClass.feature +38 -0
  361. data/features/label/NonexistentNameVariableLabel.feature +36 -0
  362. data/features/label/PageWithEmbeddedLabel.feature +35 -0
  363. data/features/label/PluralNumberOfVolumes.feature +36 -0
  364. data/features/label/PluralPagesWithAlphaPrefix.feature +37 -0
  365. data/features/locale/EffectOfStyleDefinition.feature +38 -0
  366. data/features/locale/EmptyDate.feature +41 -0
  367. data/features/locale/EmptyPlusOverrideDate.feature +48 -0
  368. data/features/locale/EmptyPlusOverrideStyleOpt.feature +39 -0
  369. data/features/locale/EmptyPlusOverrideTerm.feature +44 -0
  370. data/features/locale/EmptyStyleOpt.feature +36 -0
  371. data/features/locale/EmptyTerm.feature +39 -0
  372. data/features/locale/ForceEmptyAndOthersTerm.feature +41 -0
  373. data/features/locale/ForceEmptyEtAlTerm.feature +40 -0
  374. data/features/locale/NonExistentLocaleDef.feature +48 -0
  375. data/features/locale/OverloadWithEmptyString.feature +46 -0
  376. data/features/locale/PageRangeDelimiterTermDefined.feature +38 -0
  377. data/features/locale/PageRangeDelimiterTermFrenchUndef.feature +34 -0
  378. data/features/locale/PageRangeDelimiterTermUndefined.feature +33 -0
  379. data/features/locale/SpecificDate.feature +41 -0
  380. data/features/locale/SpecificStyleOpt.feature +36 -0
  381. data/features/locale/SpecificTerm.feature +39 -0
  382. data/features/locale/TermInSort.feature +77 -0
  383. data/features/locale/TitleCaseEmptyLangEmptyLocale.feature +33 -0
  384. data/features/locale/TitleCaseEmptyLangNonEnglishLocale.feature +34 -0
  385. data/features/locale/TitleCaseEnglishLangUpperEmptyLocale.feature +33 -0
  386. data/features/locale/TitleCaseGarbageLangEmptyLocale.feature +33 -0
  387. data/features/locale/TitleCaseGarbageLangEnglishLocale.feature +34 -0
  388. data/features/locale/TitleCaseGarbageLangNonEnglishLocale.feature +34 -0
  389. data/features/locale/TitleCaseNonEnglishLangUpperEmptyLocale.feature +33 -0
  390. data/features/locale/UnknownTerm.feature +34 -0
  391. data/features/locator/SimpleLocators.feature +46 -0
  392. data/features/locator/TermSelection.feature +40 -0
  393. data/features/locator/TrickyEntryForPlurals.feature +40 -0
  394. data/features/locator/WorkaroundTestForSubVerbo.feature +47 -0
  395. data/features/magic/AllowRepeatDateRenderings.feature +47 -0
  396. data/features/magic/CapitalizeFirstOccurringNameParticle.feature +35 -0
  397. data/features/magic/CapitalizeFirstOccurringTerm.feature +33 -0
  398. data/features/magic/CitationLabelInBibliography.feature +234 -0
  399. data/features/magic/CitationLabelInCitation.feature +224 -0
  400. data/features/magic/EntrySpacingDouble.feature +52 -0
  401. data/features/magic/HangingIndent.feature +52 -0
  402. data/features/magic/ImplicitYearSuffixDelimiter.feature +38 -0
  403. data/features/magic/ImplicitYearSuffixExplicitDelimiter.feature +52 -0
  404. data/features/magic/LineSpacingDouble.feature +52 -0
  405. data/features/magic/LineSpacingTripleStretch.feature +52 -0
  406. data/features/magic/NameParticle.feature +35 -0
  407. data/features/magic/NameSuffixNoComma.feature +35 -0
  408. data/features/magic/NameSuffixWithComma.feature +35 -0
  409. data/features/magic/NumberRangeEnglish.feature +33 -0
  410. data/features/magic/NumberRangeFrench.feature +34 -0
  411. data/features/magic/PunctuationInQuoteDefaultEnglishDelimiter.feature +41 -0
  412. data/features/magic/PunctuationInQuoteDefaultEnglishSuffix.feature +39 -0
  413. data/features/magic/PunctuationInQuoteDelimiterTrue.feature +44 -0
  414. data/features/magic/PunctuationInQuoteFalse.feature +44 -0
  415. data/features/magic/PunctuationInQuoteFalseSuppressExtra.feature +37 -0
  416. data/features/magic/PunctuationInQuoteNested.feature +47 -0
  417. data/features/magic/PunctuationInQuoteSuffixTrue.feature +42 -0
  418. data/features/magic/PunctuationInQuoteTrueSuppressExtra.feature +37 -0
  419. data/features/magic/QuotesAndBraces1.feature +36 -0
  420. data/features/magic/QuotesAndBraces2.feature +36 -0
  421. data/features/magic/SecondFieldAlign.feature +57 -0
  422. data/features/magic/StripPeriodsExcludeAffixes.feature +44 -0
  423. data/features/magic/StripPeriodsFalse.feature +34 -0
  424. data/features/magic/StripPeriodsTrue.feature +34 -0
  425. data/features/magic/StripPeriodsTrueShortForm.feature +46 -0
  426. data/features/magic/SubsequentAuthorSubstitute.feature +55 -0
  427. data/features/magic/SubsequentAuthorSubstituteNotFooled.feature +497 -0
  428. data/features/magic/SubsequentAuthorSubstituteOfTitleField.feature +55 -0
  429. data/features/magic/SuperscriptChars.feature +241 -0
  430. data/features/magic/SuppressDuplicateVariableRendering.feature +43 -0
  431. data/features/magic/SuppressExtraTerminalPunctuationAfterTerm.feature +410 -0
  432. data/features/magic/SuppressLayoutDelimiterIfPrefixComma.feature +34 -0
  433. data/features/magic/TermCapitalizationWithPrefix.feature +49 -0
  434. data/features/magic/TextRangeEnglish.feature +33 -0
  435. data/features/magic/TextRangeFrench.feature +34 -0
  436. data/features/name/AfterInvertedName.feature +42 -0
  437. data/features/name/AllCapsInitialsUntouched.feature +46 -0
  438. data/features/name/AndTextDelimiterPrecedesLastAlways.feature +35 -0
  439. data/features/name/ArticularNameAsSortOrder.feature +35 -0
  440. data/features/name/ArticularPlain.feature +35 -0
  441. data/features/name/ArticularShortForm.feature +35 -0
  442. data/features/name/ArticularShortFormCommaSuffix.feature +35 -0
  443. data/features/name/ArticularWithComma.feature +35 -0
  444. data/features/name/ArticularWithCommaNameAsSortOrder.feature +35 -0
  445. data/features/name/Asian.feature +35 -0
  446. data/features/name/AsianGlyphs.feature +35 -0
  447. data/features/name/AuthorCount.feature +39 -0
  448. data/features/name/AuthorCountWithMultipleVariables.feature +37 -0
  449. data/features/name/AuthorCountWithSameVarContentAndCombinedTermFail.feature +45 -0
  450. data/features/name/AuthorCountWithSameVarContentAndCombinedTermSucceed.feature +45 -0
  451. data/features/name/AuthorEditorCount.feature +37 -0
  452. data/features/name/CelticClanName.feature +35 -0
  453. data/features/name/CeltsAndToffsCrowdedInitials.feature +35 -0
  454. data/features/name/CeltsAndToffsNoHyphens.feature +36 -0
  455. data/features/name/CeltsAndToffsSpacedInitials.feature +35 -0
  456. data/features/name/CeltsAndToffsWithHyphens.feature +36 -0
  457. data/features/name/CollapseRoleLabels.feature +46 -0
  458. data/features/name/Delimiter.feature +37 -0
  459. data/features/name/EditorTranslatorBoth.feature +189 -0
  460. data/features/name/EditorTranslatorSameEmptyTerm.feature +41 -0
  461. data/features/name/EditorTranslatorSameWithTerm.feature +36 -0
  462. data/features/name/EditorTranslatorWithTranslatorOnly.feature +35 -0
  463. data/features/name/EditorTranslatorWithTranslatorOnlyBib.feature +189 -0
  464. data/features/name/EtAlUseLast.feature +47 -0
  465. data/features/name/FormattingOfParticles.feature +37 -0
  466. data/features/name/GreekSimple.feature +35 -0
  467. data/features/name/HebrewAnd.feature +40 -0
  468. data/features/name/HierarchicalDelimiter.feature +35 -0
  469. data/features/name/HyphenatedFirstName.feature +35 -0
  470. data/features/name/HyphenatedNonDroppingParticle1.feature +51 -0
  471. data/features/name/HyphenatedNonDroppingParticle2.feature +51 -0
  472. data/features/name/InheritAttributesEtAlStyle.feature +37 -0
  473. data/features/name/Institution.feature +35 -0
  474. data/features/name/InstitutionDecoration.feature +45 -0
  475. data/features/name/LabelAfterPlural.feature +36 -0
  476. data/features/name/LabelAfterPluralDecorations.feature +38 -0
  477. data/features/name/LongAbbreviation.feature +35 -0
  478. data/features/name/LowercaseSurnameSuffix.feature +35 -0
  479. data/features/name/MixedFormatsInitialSortOrderAllWithDecorationsEtAl.feature +39 -0
  480. data/features/name/MixedFormatsInitialSortOrderFirstWithDecorationsEtAl.feature +39 -0
  481. data/features/name/MixedFormatsInitialsWithDecorationsEtAl.feature +39 -0
  482. data/features/name/MixedFormatsPrimaryDecorations.feature +37 -0
  483. data/features/name/MixedFormatsWithDecorationsEtAl.feature +39 -0
  484. data/features/name/MixedFormatsWithDecorationsPlusAlternateEtAlDecorations.feature +40 -0
  485. data/features/name/MixedFormatsWithDecorationsPlusEtAlDecorations.feature +40 -0
  486. data/features/name/MultipleLiteral.feature +35 -0
  487. data/features/name/NoNameNode.feature +33 -0
  488. data/features/name/NonDroppingParticleDefault.feature +35 -0
  489. data/features/name/OnlyFamilyname.feature +35 -0
  490. data/features/name/OnlyGivenname.feature +35 -0
  491. data/features/name/OverridingHierarchicalDelimiter.feature +36 -0
  492. data/features/name/ParseNames.feature +39 -0
  493. data/features/name/ParsedCommaDelimitedDroppingParticleNormalOrderingWithAffixes.feature +38 -0
  494. data/features/name/ParsedCommaDelimitedDroppingParticleNormalOrderingWithoutAffixes.feature +36 -0
  495. data/features/name/ParsedCommaDelimitedDroppingParticleSortOrderingWithoutAffixes.feature +38 -0
  496. data/features/name/ParsedDroppingParticleWithAffixes.feature +39 -0
  497. data/features/name/ParsedDroppingParticleWithApostrophe.feature +38 -0
  498. data/features/name/ParsedNonDroppingParticleWithAffixes.feature +39 -0
  499. data/features/name/ParsedNonDroppingParticleWithApostrophe.feature +39 -0
  500. data/features/name/ParsedUpperCaseNonDroppingParticle.feature +39 -0
  501. data/features/name/ParticleCaps1.feature +40 -0
  502. data/features/name/ParticleCaps2.feature +46 -0
  503. data/features/name/ParticleCaps3.feature +47 -0
  504. data/features/name/ParticleFormatting.feature +38 -0
  505. data/features/name/ParticlesDemoteNonDroppingNever.feature +99 -0
  506. data/features/name/PeriodAfterInitials.feature +38 -0
  507. data/features/name/QuashOrdinaryVariableRenderedViaSubstitute.feature +39 -0
  508. data/features/name/RomanianTwo.feature +36 -0
  509. data/features/name/SemicolonWithAnd.feature +38 -0
  510. data/features/name/SplitInitials.feature +35 -0
  511. data/features/name/SubsequentAuthorSubstituteMultipleNames.feature +50 -0
  512. data/features/name/SubstituteInheritLabel.feature +44 -0
  513. data/features/name/SubstituteMacroInheritDecorations.feature +42 -0
  514. data/features/name/SubstituteName.feature +38 -0
  515. data/features/name/SubstituteOnDateGroupSpanFail.feature +45 -0
  516. data/features/name/SubstituteOnGroupSpanGroupSpanFail.feature +46 -0
  517. data/features/name/SubstituteOnMacroGroupSpanFail.feature +46 -0
  518. data/features/name/SubstituteOnNamesSingletonGroupSpanFail.feature +42 -0
  519. data/features/name/SubstituteOnNamesSpanGroupSpanFail.feature +44 -0
  520. data/features/name/SubstituteOnNamesSpanNamesSpanFail.feature +43 -0
  521. data/features/name/SubstituteOnNumberGroupSpanFail.feature +42 -0
  522. data/features/name/TwoRolesSameRenderingSeparateRoleLabels.feature +43 -0
  523. data/features/name/WesternArticularLowercase.feature +35 -0
  524. data/features/name/WesternPrimaryFontStyle.feature +37 -0
  525. data/features/name/WesternPrimaryFontStyleTwoAuthors.feature +37 -0
  526. data/features/name/WesternSimple.feature +35 -0
  527. data/features/name/WesternTwoAuthors.feature +35 -0
  528. data/features/name/namepartAffixes.feature +38 -0
  529. data/features/name/namepartAffixesNameAsSortOrder.feature +39 -0
  530. data/features/name/namepartAffixesNameAsSortOrderDemoteNonDroppingParticle.feature +39 -0
  531. data/features/nameattr/AndOnBibliographyInBibliography.feature +43 -0
  532. data/features/nameattr/AndOnBibliographyInCitation.feature +43 -0
  533. data/features/nameattr/AndOnCitationInBibliography.feature +45 -0
  534. data/features/nameattr/AndOnCitationInCitation.feature +36 -0
  535. data/features/nameattr/AndOnNamesInBibliography.feature +42 -0
  536. data/features/nameattr/AndOnNamesInCitation.feature +35 -0
  537. data/features/nameattr/AndOnStyleInBibliography.feature +43 -0
  538. data/features/nameattr/AndOnStyleInCitation.feature +43 -0
  539. data/features/nameattr/DelimiterPrecedesEtAlOnBibliographyInBibliography.feature +43 -0
  540. data/features/nameattr/DelimiterPrecedesEtAlOnBibliographyInCitation.feature +43 -0
  541. data/features/nameattr/DelimiterPrecedesEtAlOnCitationInBibliography.feature +45 -0
  542. data/features/nameattr/DelimiterPrecedesEtAlOnCitationInCitation.feature +36 -0
  543. data/features/nameattr/DelimiterPrecedesEtAlOnNamesInBibliography.feature +42 -0
  544. data/features/nameattr/DelimiterPrecedesEtAlOnNamesInCitation.feature +35 -0
  545. data/features/nameattr/DelimiterPrecedesEtAlOnStyleInBibliography.feature +43 -0
  546. data/features/nameattr/DelimiterPrecedesEtAlOnStyleInCitation.feature +36 -0
  547. data/features/nameattr/DelimiterPrecedesLastOnBibliographyInBibliography.feature +43 -0
  548. data/features/nameattr/DelimiterPrecedesLastOnBibliographyInCitation.feature +43 -0
  549. data/features/nameattr/DelimiterPrecedesLastOnCitationInBibliography.feature +45 -0
  550. data/features/nameattr/DelimiterPrecedesLastOnCitationInCitation.feature +36 -0
  551. data/features/nameattr/DelimiterPrecedesLastOnNamesInBibliography.feature +42 -0
  552. data/features/nameattr/DelimiterPrecedesLastOnNamesInCitation.feature +35 -0
  553. data/features/nameattr/DelimiterPrecedesLastOnStyleInBibliography.feature +43 -0
  554. data/features/nameattr/DelimiterPrecedesLastOnStyleInCitation.feature +36 -0
  555. data/features/nameattr/EtAlMinOnBibliographyInBibliography.feature +43 -0
  556. data/features/nameattr/EtAlMinOnBibliographyInCitation.feature +43 -0
  557. data/features/nameattr/EtAlMinOnCitationInBibliography.feature +45 -0
  558. data/features/nameattr/EtAlMinOnCitationInCitation.feature +36 -0
  559. data/features/nameattr/EtAlMinOnNamesInBibliography.feature +42 -0
  560. data/features/nameattr/EtAlMinOnNamesInCitation.feature +35 -0
  561. data/features/nameattr/EtAlMinOnStyleInBibliography.feature +42 -0
  562. data/features/nameattr/EtAlMinOnStyleInCitation.feature +35 -0
  563. data/features/nameattr/EtAlSubsequentMinOnBibliographyInBibliography.feature +43 -0
  564. data/features/nameattr/EtAlSubsequentMinOnBibliographyInCitation.feature +43 -0
  565. data/features/nameattr/EtAlSubsequentMinOnCitationInBibliography.feature +45 -0
  566. data/features/nameattr/EtAlSubsequentMinOnCitationInCitation.feature +37 -0
  567. data/features/nameattr/EtAlSubsequentMinOnNamesInBibliography.feature +42 -0
  568. data/features/nameattr/EtAlSubsequentMinOnStyleInBibliography.feature +42 -0
  569. data/features/nameattr/EtAlSubsequentMinOnStyleInCitation.feature +38 -0
  570. data/features/nameattr/EtAlSubsequentUseFirstOnBibliographyInBibliography.feature +43 -0
  571. data/features/nameattr/EtAlSubsequentUseFirstOnBibliographyInCitation.feature +43 -0
  572. data/features/nameattr/EtAlSubsequentUseFirstOnCitationInBibliography.feature +45 -0
  573. data/features/nameattr/EtAlSubsequentUseFirstOnCitationInCitation.feature +44 -0
  574. data/features/nameattr/EtAlSubsequentUseFirstOnStyleInBibliography.feature +43 -0
  575. data/features/nameattr/EtAlSubsequentUseFirstOnStyleInCitation.feature +37 -0
  576. data/features/nameattr/EtAlUseFirstOnBibliographyInBibliography.feature +43 -0
  577. data/features/nameattr/EtAlUseFirstOnBibliographyInCitation.feature +43 -0
  578. data/features/nameattr/EtAlUseFirstOnCitationInBibliography.feature +45 -0
  579. data/features/nameattr/EtAlUseFirstOnCitationInCitation.feature +43 -0
  580. data/features/nameattr/EtAlUseFirstOnNamesInBibliography.feature +42 -0
  581. data/features/nameattr/EtAlUseFirstOnNamesInCitation.feature +35 -0
  582. data/features/nameattr/EtAlUseFirstOnStyleInBibliography.feature +43 -0
  583. data/features/nameattr/EtAlUseFirstOnStyleInCitation.feature +35 -0
  584. data/features/nameattr/InitializeWithOnBibliographyInBibliography.feature +43 -0
  585. data/features/nameattr/InitializeWithOnBibliographyInCitation.feature +43 -0
  586. data/features/nameattr/InitializeWithOnCitationInBibliography.feature +45 -0
  587. data/features/nameattr/InitializeWithOnCitationInCitation.feature +36 -0
  588. data/features/nameattr/InitializeWithOnNamesInBibliography.feature +42 -0
  589. data/features/nameattr/InitializeWithOnNamesInCitation.feature +35 -0
  590. data/features/nameattr/InitializeWithOnStyleInBibliography.feature +43 -0
  591. data/features/nameattr/InitializeWithOnStyleInCitation.feature +36 -0
  592. data/features/nameattr/NameAsSortOrderOnBibliographyInBibliography.feature +43 -0
  593. data/features/nameattr/NameAsSortOrderOnBibliographyInCitation.feature +43 -0
  594. data/features/nameattr/NameAsSortOrderOnCitationInBibliography.feature +45 -0
  595. data/features/nameattr/NameAsSortOrderOnCitationInCitation.feature +36 -0
  596. data/features/nameattr/NameAsSortOrderOnNamesInBibliography.feature +42 -0
  597. data/features/nameattr/NameAsSortOrderOnNamesInCitation.feature +35 -0
  598. data/features/nameattr/NameAsSortOrderOnStyleInBibliography.feature +43 -0
  599. data/features/nameattr/NameAsSortOrderOnStyleInCitation.feature +35 -0
  600. data/features/nameattr/NameDelimiterOnBibliographyInBibliography.feature +43 -0
  601. data/features/nameattr/NameDelimiterOnBibliographyInCitation.feature +43 -0
  602. data/features/nameattr/NameDelimiterOnCitationInBibliography.feature +45 -0
  603. data/features/nameattr/NameDelimiterOnCitationInCitation.feature +43 -0
  604. data/features/nameattr/NameDelimiterOnNamesInBibliography.feature +42 -0
  605. data/features/nameattr/NameDelimiterOnNamesInCitation.feature +42 -0
  606. data/features/nameattr/NameDelimiterOnStyleInBibliography.feature +43 -0
  607. data/features/nameattr/NameDelimiterOnStyleInCitation.feature +43 -0
  608. data/features/nameattr/NameFormOnBibliographyInBibliography.feature +43 -0
  609. data/features/nameattr/NameFormOnBibliographyInCitation.feature +43 -0
  610. data/features/nameattr/NameFormOnCitationInBibliography.feature +45 -0
  611. data/features/nameattr/NameFormOnCitationInCitation.feature +43 -0
  612. data/features/nameattr/NameFormOnNamesInBibliography.feature +42 -0
  613. data/features/nameattr/NameFormOnNamesInCitation.feature +35 -0
  614. data/features/nameattr/NameFormOnStyleInBibliography.feature +43 -0
  615. data/features/nameattr/NameFormOnStyleInCitation.feature +36 -0
  616. data/features/nameattr/NamesDelimiterOnBibliographyInBibliography.feature +43 -0
  617. data/features/nameattr/NamesDelimiterOnBibliographyInCitation.feature +43 -0
  618. data/features/nameattr/NamesDelimiterOnCitationInBibliography.feature +45 -0
  619. data/features/nameattr/NamesDelimiterOnCitationInCitation.feature +36 -0
  620. data/features/nameattr/NamesDelimiterOnNamesInBibliography.feature +42 -0
  621. data/features/nameattr/NamesDelimiterOnNamesInCitation.feature +35 -0
  622. data/features/nameattr/NamesDelimiterOnStyleInBibliography.feature +42 -0
  623. data/features/nameattr/NamesDelimiterOnStyleInCitation.feature +36 -0
  624. data/features/nameattr/SortSeparatorOnBibliographyInBibliography.feature +43 -0
  625. data/features/nameattr/SortSeparatorOnBibliographyInCitation.feature +44 -0
  626. data/features/nameattr/SortSeparatorOnCitationInBibliography.feature +45 -0
  627. data/features/nameattr/SortSeparatorOnCitationInCitation.feature +36 -0
  628. data/features/nameattr/SortSeparatorOnNamesInBibliography.feature +42 -0
  629. data/features/nameattr/SortSeparatorOnNamesInCitation.feature +35 -0
  630. data/features/nameattr/SortSeparatorOnStyleInBibliography.feature +43 -0
  631. data/features/nameattr/SortSeparatorOnStyleInCitation.feature +36 -0
  632. data/features/nameorder/Long.feature +35 -0
  633. data/features/nameorder/LongNameAsSortDemoteDisplayAndSort.feature +36 -0
  634. data/features/nameorder/LongNameAsSortDemoteNever.feature +36 -0
  635. data/features/nameorder/Short.feature +35 -0
  636. data/features/nameorder/ShortDemoteDisplayAndSort.feature +36 -0
  637. data/features/nameorder/ShortNameAsSortDemoteNever.feature +36 -0
  638. data/features/namespaces/NonNada3.feature +33 -0
  639. data/features/number/EditionSort.feature +47 -0
  640. data/features/number/FailingDelimiters.feature +44 -0
  641. data/features/number/IsNumericWithAlpha.feature +40 -0
  642. data/features/number/MixedPageRange.feature +34 -0
  643. data/features/number/MixedText.feature +33 -0
  644. data/features/number/NewOrdinals.feature +64 -0
  645. data/features/number/NewOrdinalsEdition.feature +1044 -0
  646. data/features/number/NewOrdinalsWithGenderChange.feature +45 -0
  647. data/features/number/PageFirst.feature +36 -0
  648. data/features/number/PageRange.feature +33 -0
  649. data/features/number/PlainHyphenOrEnDashAlwaysPlural.feature +42 -0
  650. data/features/number/SeparateOrdinalNamespaces.feature +55 -0
  651. data/features/number/SimpleNumberArabic.feature +33 -0
  652. data/features/number/SimpleNumberOrdinalLong.feature +35 -0
  653. data/features/number/SimpleNumberOrdinalShort.feature +33 -0
  654. data/features/number/SimpleNumberRoman.feature +33 -0
  655. data/features/number/StrangeError.feature +34 -0
  656. data/features/page/Chicago.feature +55 -0
  657. data/features/page/Expand.feature +42 -0
  658. data/features/page/Minimal.feature +55 -0
  659. data/features/page/NoOption.feature +34 -0
  660. data/features/page/NumberPageFirst.feature +33 -0
  661. data/features/page/PluralDetectWithEndash.feature +33 -0
  662. data/features/parallel/Bibliography.feature +87 -0
  663. data/features/parallel/HackedChicago.feature +715 -0
  664. data/features/parallel/JournalArticleReverse.feature +46 -0
  665. data/features/parallel/JournalArticleSimple.feature +46 -0
  666. data/features/parallel/TrailingIbid.feature +69 -0
  667. data/features/plural/LabelForced.feature +37 -0
  668. data/features/plural/NameLabelAlways.feature +36 -0
  669. data/features/plural/NameLabelContextualPlural.feature +36 -0
  670. data/features/plural/NameLabelContextualSingular.feature +36 -0
  671. data/features/plural/NameLabelDefaultPlural.feature +36 -0
  672. data/features/plural/NameLabelDefaultSingular.feature +36 -0
  673. data/features/plural/NameLabelNever.feature +36 -0
  674. data/features/position/FalseInBibliography.feature +47 -0
  675. data/features/position/FirstTrueOnlyOnce.feature +55 -0
  676. data/features/position/IbidInText.feature +51 -0
  677. data/features/position/IbidSeparateCiteSameNote.feature +80 -0
  678. data/features/position/IbidWithLocator.feature +52 -0
  679. data/features/position/IbidWithMultipleSoloCitesInBackref.feature +52 -0
  680. data/features/position/IbidWithPrefixFullStop.feature +44 -0
  681. data/features/position/IbidWithSuffix.feature +54 -0
  682. data/features/position/IfIbidIsTrueThenSubsequentIsTrue.feature +61 -0
  683. data/features/position/IfIbidWithLocatorIsTrueThenIbidIsTrue.feature +58 -0
  684. data/features/position/NearNoteFalse.feature +41 -0
  685. data/features/position/NearNoteSameNote.feature +43 -0
  686. data/features/position/NearNoteTrue.feature +41 -0
  687. data/features/position/NearNoteUnsupported.feature +40 -0
  688. data/features/position/NearNoteWithPlugin.feature +454 -0
  689. data/features/position/ResetNoteNumbers.feature +54 -0
  690. data/features/position/TrueInCitation.feature +45 -0
  691. data/features/punctuation/DateStripPeriods.feature +36 -0
  692. data/features/punctuation/DefaultYearSuffixDelimiter.feature +183 -0
  693. data/features/punctuation/DelimiterWithStripPeriodsAndSubstitute1.feature +53 -0
  694. data/features/punctuation/DelimiterWithStripPeriodsAndSubstitute2.feature +52 -0
  695. data/features/punctuation/DelimiterWithStripPeriodsAndSubstitute3.feature +60 -0
  696. data/features/punctuation/DoNotSuppressColonAfterPeriod.feature +34 -0
  697. data/features/punctuation/FrenchOrthography.feature +33 -0
  698. data/features/punctuation/FullMontyField.feature +230 -0
  699. data/features/punctuation/FullMontyPlain.feature +230 -0
  700. data/features/punctuation/FullMontyQuotesIn.feature +233 -0
  701. data/features/punctuation/FullMontyQuotesOut.feature +233 -0
  702. data/features/punctuation/NoSuppressOfPeriodBeforeSemicolon.feature +36 -0
  703. data/features/punctuation/SemicolonDelimiter.feature +62 -0
  704. data/features/punctuation/SuppressPrefixPeriodForDelimiterSemicolon.feature +715 -0
  705. data/features/quotes/Punctuation.feature +43 -0
  706. data/features/quotes/PunctuationNasty.feature +977 -0
  707. data/features/quotes/PunctuationWithInnerQuote.feature +43 -0
  708. data/features/simplespace/case1.feature +202 -0
  709. data/features/sort/AguStyle.feature +94 -0
  710. data/features/sort/AguStyleReverseGroups.feature +94 -0
  711. data/features/sort/AuthorDateWithYearSuffix.feature +202 -0
  712. data/features/sort/BibliographyCitationNumberDescending.feature +51 -0
  713. data/features/sort/BibliographyCitationNumberDescendingViaMacro.feature +54 -0
  714. data/features/sort/BibliographyNosortOption.feature +44 -0
  715. data/features/sort/CaseInsensitiveBibliography.feature +55 -0
  716. data/features/sort/CaseInsensitiveCitation.feature +36 -0
  717. data/features/sort/ChangeInNameSort.feature +54 -0
  718. data/features/sort/ChicagoYearSuffix1.feature +391 -0
  719. data/features/sort/ChicagoYearSuffix2.feature +391 -0
  720. data/features/sort/Citation.feature +42 -0
  721. data/features/sort/CitationEdit.feature +49 -0
  722. data/features/sort/CitationSecondaryKey.feature +46 -0
  723. data/features/sort/CitationUnsorted.feature +42 -0
  724. data/features/sort/CiteGroupDelimiter.feature +45 -0
  725. data/features/sort/ConditionalMacroDates.feature +64 -0
  726. data/features/sort/DateMacroSortWithSecondFieldAlign.feature +56 -0
  727. data/features/sort/DateVariable.feature +36 -0
  728. data/features/sort/DateVariableMixedElementsAscendingA.feature +36 -0
  729. data/features/sort/DateVariableMixedElementsAscendingB.feature +36 -0
  730. data/features/sort/DateVariableMixedElementsDescendingA.feature +36 -0
  731. data/features/sort/DateVariableMixedElementsDescendingB.feature +36 -0
  732. data/features/sort/DateVariableRange.feature +36 -0
  733. data/features/sort/DateVariableRangeMixed.feature +36 -0
  734. data/features/sort/DropNameLabelInSort.feature +116 -0
  735. data/features/sort/EtAlUseLast.feature +54 -0
  736. data/features/sort/FamilyOnly.feature +45 -0
  737. data/features/sort/GroupedByAuthorstring.feature +50 -0
  738. data/features/sort/LatinUnicode.feature +42 -0
  739. data/features/sort/LeadingApostropheOnNameParticle.feature +55 -0
  740. data/features/sort/LocalizedDateLimitedParts.feature +40 -0
  741. data/features/sort/NameImplicitSortOrderAndForm.feature +51 -0
  742. data/features/sort/NameParticleInNameSortFalse.feature +48 -0
  743. data/features/sort/NameParticleInNameSortTrue.feature +48 -0
  744. data/features/sort/NameVariable.feature +47 -0
  745. data/features/sort/NamesUseLast.feature +64 -0
  746. data/features/sort/NumberOfAuthorsAsKey.feature +68 -0
  747. data/features/sort/SeparateAuthorsAndOthers.feature +127 -0
  748. data/features/sort/StatusFieldAscending.feature +46 -0
  749. data/features/sort/StatusFieldDescending.feature +46 -0
  750. data/features/sort/StripMarkup.feature +39 -0
  751. data/features/sort/SubstituteTitle.feature +398 -0
  752. data/features/sort/VariousNameMacros1.feature +287 -0
  753. data/features/sort/VariousNameMacros2.feature +287 -0
  754. data/features/sort/VariousNameMacros3.feature +288 -0
  755. data/features/sort/WithAndInOneEntry.feature +228 -0
  756. data/features/sortseparator/SortSeparatorEmpty.feature +44 -0
  757. data/features/substitute/RepeatedNamesOk.feature +52 -0
  758. data/features/substitute/SuppressOrdinaryVariable.feature +79 -0
  759. data/features/testers/FirstAutoGeneratedZoteroPluginTest.feature +715 -0
  760. data/features/testers/SecondAutoGeneratedZoteroPluginTest.feature +717 -0
  761. data/features/textcase/CapitalizeAll.feature +33 -0
  762. data/features/textcase/CapitalizeFirst.feature +33 -0
  763. data/features/textcase/CapitalizeFirstWithDecor.feature +33 -0
  764. data/features/textcase/CapitalsUntouched.feature +37 -0
  765. data/features/textcase/Lowercase.feature +33 -0
  766. data/features/textcase/SentenceCapitalization.feature +33 -0
  767. data/features/textcase/SkipNameParticlesInTitleCase.feature +33 -0
  768. data/features/textcase/TitleCapitalization.feature +33 -0
  769. data/features/textcase/TitleCaseNonEnglish.feature +33 -0
  770. data/features/textcase/TitleCaseNonEnglish2.feature +34 -0
  771. data/features/textcase/TitleCaseWithHyphens.feature +33 -0
  772. data/features/textcase/TitleCaseWithInitials.feature +33 -0
  773. data/features/textcase/Uppercase.feature +59 -0
  774. data/features/textcase/UppercaseNumber.feature +33 -0
  775. data/features/unicode/NonBreakingSpace.feature +34 -0
  776. data/features/variables/ShortForm.feature +54 -0
  777. data/features/variables/TitleShortOnAbbrevWithTitle.feature +37 -0
  778. data/features/variables/TitleShortOnAbbrevWithTitleCondition.feature +57 -0
  779. data/features/variables/TitleShortOnAbbrevWithTitleGroup.feature +44 -0
  780. data/features/variables/TitleShortOnShortTitleNoTitle.feature +33 -0
  781. data/features/variables/TitleShortOnShortTitleNoTitleCondition.feature +53 -0
  782. data/features/variables/TitleShortOnShortTitleNoTitleGroup.feature +40 -0
  783. data/features/virtual/PageFirst.feature +37 -0
  784. data/lib/citeproc/attributes.rb +7 -1
  785. data/lib/citeproc/version.rb +1 -1
  786. data/spec/citeproc/attributes_spec.rb +71 -27
  787. data/spec/citeproc/item_spec.rb +12 -0
  788. metadata +1563 -4
@@ -0,0 +1,41 @@
1
+ Feature: bugreports
2
+ As a CSL cite processor hacker
3
+ I want the test bugreports_EtAlSubsequent to pass
4
+
5
+ @citation @bugreports @citations
6
+ Scenario: Et Al Subsequent
7
+ Given the following style:
8
+ """
9
+ <style
10
+ xmlns="http://purl.org/net/xbiblio/csl"
11
+ class="note"
12
+ version="1.0">
13
+ <info>
14
+ <id />
15
+ <title />
16
+ <updated>2009-08-10T04:49:00+09:00</updated>
17
+ </info>
18
+ <citation
19
+ et-al-min="5"
20
+ et-al-use-first="1"
21
+ et-al-subsequent-min="3"
22
+ et-al-subsequent-use-first="1">
23
+ <layout>
24
+ <names variable="author">
25
+ <name/>
26
+ </names>
27
+ </layout>
28
+ </citation>
29
+ </style>
30
+ """
31
+ And the following input:
32
+ """
33
+ [{"author":[{"family":"Doe","given":"John"},{"family":"Roe","given":"Jane"},{"family":"Harper","given":"Katie"},{"family":"Clutterbuck","given":"Emmanuel"}],"id":"ITEM-1","type":"book"}]
34
+ """
35
+ And I have a citations input
36
+ When I cite all items
37
+ Then the result should be:
38
+ """
39
+ ..[0] John Doe, Jane Roe, Katie Harper, Emmanuel Clutterbuck
40
+ >>[1] John Doe et al.
41
+ """
@@ -0,0 +1,715 @@
1
+ Feature: bugreports
2
+ As a CSL cite processor hacker
3
+ I want the test bugreports_FourAndFour to pass
4
+
5
+ @citation @bugreports @citations
6
+ Scenario: Four And Four
7
+ Given the following style:
8
+ """
9
+ <style
10
+ xmlns="http://purl.org/net/xbiblio/csl"
11
+ class="note"
12
+ version="1.0">
13
+ <info>
14
+ <title>Chicago Manual of Style (Full Note with Bibliography)</title>
15
+ <id>http://www.zotero.org/styles/chicago-fullnote-bibliography</id>
16
+ <link rel="self" href="http://www.zotero.org/styles/chicago-fullnote-bibliography" />
17
+ <link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation" />
18
+ <author>
19
+ <name>Julian Onions</name>
20
+ <email>julian.onions@gmail.com</email>
21
+ </author>
22
+ <contributor>
23
+ <name>Simon Kornblith</name>
24
+ <email>simon@simonster.com</email>
25
+ </contributor>
26
+ <contributor>
27
+ <name>Elena Razlogova</name>
28
+ <email>elena.razlogova@gmail.com</email>
29
+ </contributor>
30
+ <summary>Chicago format with full notes and bibliography</summary>
31
+ <category field="generic-base" />
32
+ <category citation-format="numeric" />
33
+ <updated>2009-08-10T04:49:00+09:00</updated>
34
+ </info>
35
+ <macro name="editor-translator">
36
+ <group delimiter=", ">
37
+ <choose>
38
+ <if variable="author">
39
+ <names delimiter=", " variable="editor">
40
+ <label form="verb-short" suffix=". " text-case="lowercase" />
41
+ <name and="text" delimiter=", " />
42
+ </names>
43
+ </if>
44
+ </choose>
45
+ <choose>
46
+ <if match="any" variable="author editor">
47
+ <names delimiter=", " variable="translator">
48
+ <label form="verb-short" suffix=". " text-case="lowercase" />
49
+ <name and="text" delimiter=", " />
50
+ </names>
51
+ </if>
52
+ </choose>
53
+ </group>
54
+ </macro>
55
+ <macro name="secondary-contributors-note">
56
+ <choose>
57
+ <if match="none" type="chapter">
58
+ <text macro="editor-translator" />
59
+ </if>
60
+ </choose>
61
+ </macro>
62
+ <macro name="container-contributors-note">
63
+ <choose>
64
+ <if type="chapter">
65
+ <text macro="editor-translator" />
66
+ </if>
67
+ </choose>
68
+ </macro>
69
+ <macro name="secondary-contributors">
70
+ <choose>
71
+ <if match="none" type="chapter">
72
+ <group delimiter=". ">
73
+ <choose>
74
+ <if variable="author">
75
+ <names delimiter=". " variable="editor">
76
+ <label form="verb" prefix=" " suffix=" " text-case="capitalize-first" />
77
+ <name and="text" delimiter=", " />
78
+ </names>
79
+ </if>
80
+ </choose>
81
+ <choose>
82
+ <if match="any" variable="author editor">
83
+ <names delimiter=". " variable="translator">
84
+ <label form="verb" prefix=" " suffix=" " text-case="capitalize-first" />
85
+ <name and="text" delimiter=", " />
86
+ </names>
87
+ </if>
88
+ </choose>
89
+ </group>
90
+ </if>
91
+ </choose>
92
+ </macro>
93
+ <macro name="container-contributors">
94
+ <choose>
95
+ <if type="chapter">
96
+ <group delimiter=", ">
97
+ <choose>
98
+ <if variable="author">
99
+ <names delimiter=", " variable="editor">
100
+ <label form="verb" suffix=" " text-case="lowercase" />
101
+ <name and="text" delimiter=", " />
102
+ </names>
103
+ </if>
104
+ </choose>
105
+ <choose>
106
+ <if match="any" variable="author editor">
107
+ <names delimiter=", " variable="translator">
108
+ <label form="verb" suffix=" " text-case="lowercase" />
109
+ <name and="text" delimiter=", " />
110
+ </names>
111
+ </if>
112
+ </choose>
113
+ </group>
114
+ </if>
115
+ </choose>
116
+ </macro>
117
+ <macro name="editor-note">
118
+ <names variable="editor">
119
+ <name and="text" delimiter=", " sort-separator=", " />
120
+ <label form="short" prefix=", " suffix="." />
121
+ </names>
122
+ </macro>
123
+ <macro name="translator-note">
124
+ <names variable="translator">
125
+ <name and="text" delimiter=", " sort-separator=", " />
126
+ <label form="verb-short" prefix=", " suffix="." />
127
+ </names>
128
+ </macro>
129
+ <macro name="recipient-note">
130
+ <names delimiter=", " variable="recipient">
131
+ <label form="verb" prefix=" " suffix=" " text-case="lowercase" />
132
+ <name and="text" delimiter=", " />
133
+ </names>
134
+ </macro>
135
+ <macro name="contributors-note">
136
+ <names variable="author">
137
+ <name and="text" delimiter=", " sort-separator=", " />
138
+ <substitute>
139
+ <text macro="editor-note" />
140
+ <text macro="translator-note" />
141
+ </substitute>
142
+ </names>
143
+ <text macro="recipient-note" />
144
+ </macro>
145
+ <macro name="editor">
146
+ <names variable="editor">
147
+ <name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
148
+ <label form="short" prefix=", " suffix="." />
149
+ </names>
150
+ </macro>
151
+ <macro name="translator">
152
+ <names variable="translator">
153
+ <name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
154
+ <label form="verb-short" prefix=", " suffix="." />
155
+ </names>
156
+ </macro>
157
+ <macro name="recipient">
158
+ <choose>
159
+ <if type="personal_communication">
160
+ <choose>
161
+ <if variable="genre">
162
+ <text text-case="capitalize-first" variable="genre" />
163
+ </if>
164
+ <else>
165
+ <text term="letter" text-case="capitalize-first" />
166
+ </else>
167
+ </choose>
168
+ </if>
169
+ </choose>
170
+ <text macro="recipient-note" prefix=" " />
171
+ </macro>
172
+ <macro name="contributors">
173
+ <names variable="author">
174
+ <name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
175
+ <substitute>
176
+ <text macro="editor" />
177
+ <text macro="translator" />
178
+ </substitute>
179
+ </names>
180
+ <text macro="recipient" prefix=". " />
181
+ </macro>
182
+ <macro name="recipient-short">
183
+ <names variable="recipient">
184
+ <label form="verb" prefix=" " suffix=" " text-case="lowercase" />
185
+ <name and="text" delimiter=", " form="short" />
186
+ </names>
187
+ </macro>
188
+ <macro name="contributors-short">
189
+ <names variable="author">
190
+ <name and="text" delimiter=", " form="short" />
191
+ <substitute>
192
+ <names variable="editor" />
193
+ <names variable="translator" />
194
+ </substitute>
195
+ </names>
196
+ <text macro="recipient-short" />
197
+ </macro>
198
+ <macro name="contributors-sort">
199
+ <names variable="author">
200
+ <name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all" sort-separator=", " />
201
+ <label form="verb-short" prefix=", " suffix="." />
202
+ <substitute>
203
+ <names variable="editor" />
204
+ <names variable="translator" />
205
+ </substitute>
206
+ </names>
207
+ </macro>
208
+ <macro name="interviewer-note">
209
+ <names delimiter=", " variable="interviewer">
210
+ <label form="verb" prefix=" " suffix=" " text-case="lowercase" />
211
+ <name and="text" delimiter=", " />
212
+ </names>
213
+ </macro>
214
+ <macro name="interviewer">
215
+ <names delimiter=", " variable="interviewer">
216
+ <label form="verb" prefix=" " suffix=" " text-case="capitalize-first" />
217
+ <name and="text" delimiter=", " />
218
+ </names>
219
+ </macro>
220
+ <macro name="title-note">
221
+ <choose>
222
+ <if match="none" variable="title">
223
+ <text variable="genre" />
224
+ </if>
225
+ <else-if type="book">
226
+ <text font-style="italic" variable="title" />
227
+ </else-if>
228
+ <else>
229
+ <text quotes="true" variable="title" />
230
+ </else>
231
+ </choose>
232
+ </macro>
233
+ <macro name="title">
234
+ <choose>
235
+ <if match="none" variable="title">
236
+ <choose>
237
+ <if match="none" type="personal_communication">
238
+ <text text-case="capitalize-first" variable="genre" />
239
+ </if>
240
+ </choose>
241
+ </if>
242
+ <else-if type="book">
243
+ <text font-style="italic" variable="title" />
244
+ </else-if>
245
+ <else>
246
+ <text quotes="true" variable="title" />
247
+ </else>
248
+ </choose>
249
+ </macro>
250
+ <macro name="title-short">
251
+ <choose>
252
+ <if match="none" variable="title">
253
+ <choose>
254
+ <if type="interview">
255
+ <text term="interview" text-case="lowercase" />
256
+ </if>
257
+ <else-if match="any" type="manuscript speech">
258
+ <text form="short" variable="genre" />
259
+ </else-if>
260
+ <else-if type="personal_communication">
261
+ <text macro="issued" />
262
+ </else-if>
263
+ </choose>
264
+ </if>
265
+ <else-if type="book">
266
+ <text font-style="italic" form="short" variable="title" />
267
+ </else-if>
268
+ <else>
269
+ <text form="short" quotes="true" variable="title" />
270
+ </else>
271
+ </choose>
272
+ </macro>
273
+ <macro name="description-note">
274
+ <group delimiter=", ">
275
+ <text macro="interviewer-note" />
276
+ <text variable="medium" />
277
+ <choose>
278
+ <if match="none" variable="title"/>
279
+ <else-if match="any" type="thesis speech"/>
280
+ <else>
281
+ <text variable="genre" />
282
+ </else>
283
+ </choose>
284
+ </group>
285
+ </macro>
286
+ <macro name="description">
287
+ <group delimiter=", ">
288
+ <group delimiter=". ">
289
+ <text macro="interviewer" />
290
+ <text text-case="capitalize-first" variable="medium" />
291
+ </group>
292
+ <choose>
293
+ <if match="none" variable="title"/>
294
+ <else-if match="any" type="thesis speech"/>
295
+ <else>
296
+ <text text-case="capitalize-first" variable="genre" />
297
+ </else>
298
+ </choose>
299
+ </group>
300
+ </macro>
301
+ <macro name="container-title-note">
302
+ <choose>
303
+ <if type="chapter">
304
+ <text suffix=" " term="in" text-case="lowercase" />
305
+ </if>
306
+ </choose>
307
+ <text font-style="italic" variable="container-title" />
308
+ </macro>
309
+ <macro name="container-title">
310
+ <choose>
311
+ <if type="chapter">
312
+ <text suffix=" " term="in" text-case="capitalize-first" />
313
+ </if>
314
+ </choose>
315
+ <text font-style="italic" variable="container-title" />
316
+ </macro>
317
+ <macro name="collection-title">
318
+ <text variable="collection-title" />
319
+ <text prefix=" " variable="collection-number" />
320
+ </macro>
321
+ <macro name="edition-note">
322
+ <choose>
323
+ <if match="any" type="book chapter">
324
+ <choose>
325
+ <if is-numeric="edition">
326
+ <group delimiter=" ">
327
+ <number form="ordinal" variable="edition" />
328
+ <text form="short" suffix="." term="edition" />
329
+ </group>
330
+ </if>
331
+ <else>
332
+ <text suffix="." variable="edition" />
333
+ </else>
334
+ </choose>
335
+ </if>
336
+ </choose>
337
+ </macro>
338
+ <macro name="edition">
339
+ <choose>
340
+ <if match="any" type="book chapter">
341
+ <choose>
342
+ <if is-numeric="edition">
343
+ <group delimiter=" ">
344
+ <number form="ordinal" variable="edition" />
345
+ <text form="short" suffix="." term="edition" />
346
+ </group>
347
+ </if>
348
+ <else>
349
+ <text suffix="." text-case="capitalize-first" variable="edition" />
350
+ </else>
351
+ </choose>
352
+ </if>
353
+ </choose>
354
+ </macro>
355
+ <macro name="locators-note">
356
+ <choose>
357
+ <if type="article-journal">
358
+ <text prefix=" " variable="volume" />
359
+ <text prefix=", no. " variable="issue" />
360
+ </if>
361
+ <else-if match="any" type="book chapter">
362
+ <group delimiter=", " prefix=", ">
363
+ <group>
364
+ <text form="short" suffix=". " term="volume" />
365
+ <number form="numeric" variable="volume" />
366
+ </group>
367
+ <choose>
368
+ <if match="none" variable="locator">
369
+ <group>
370
+ <number form="numeric" variable="number-of-volumes" />
371
+ <text form="short" plural="true" prefix=" " suffix="." term="volume" />
372
+ </group>
373
+ </if>
374
+ </choose>
375
+ <text macro="edition-note" />
376
+ </group>
377
+ </else-if>
378
+ </choose>
379
+ </macro>
380
+ <macro name="locators">
381
+ <choose>
382
+ <if type="article-journal">
383
+ <text prefix=" " variable="volume" />
384
+ <text prefix=", no. " variable="issue" />
385
+ </if>
386
+ <else-if match="any" type="book">
387
+ <group delimiter=". " prefix=". ">
388
+ <group>
389
+ <text form="short" suffix=". " term="volume" text-case="capitalize-first" />
390
+ <number form="numeric" variable="volume" />
391
+ </group>
392
+ <group>
393
+ <number form="numeric" variable="number-of-volumes" />
394
+ <text form="short" plural="true" prefix=" " suffix="." term="volume" />
395
+ </group>
396
+ <text macro="edition" />
397
+ </group>
398
+ </else-if>
399
+ </choose>
400
+ </macro>
401
+ <macro name="locators-newspaper">
402
+ <choose>
403
+ <if type="article-newspaper">
404
+ <group delimiter=", ">
405
+ <group>
406
+ <text suffix=" " variable="edition" />
407
+ <text prefix=" " term="edition" />
408
+ </group>
409
+ <group>
410
+ <text form="short" suffix=". " term="section" />
411
+ <text variable="section" />
412
+ </group>
413
+ </group>
414
+ </if>
415
+ </choose>
416
+ </macro>
417
+ <macro name="event">
418
+ <group>
419
+ <text suffix=" " term="presented at" />
420
+ <text variable="event" />
421
+ </group>
422
+ </macro>
423
+ <macro name="publisher">
424
+ <group delimiter=": ">
425
+ <text variable="publisher-place" />
426
+ <text variable="publisher" />
427
+ </group>
428
+ </macro>
429
+ <macro name="issued">
430
+ <choose>
431
+ <if match="any" type="graphic report">
432
+ <date variable="issued">
433
+ <date-part name="month" suffix=" " />
434
+ <date-part name="day" suffix=", " />
435
+ <date-part name="year" />
436
+ </date>
437
+ </if>
438
+ <else-if match="any" type="book chapter thesis">
439
+ <date variable="issued">
440
+ <date-part name="year" />
441
+ </date>
442
+ </else-if>
443
+ <else>
444
+ <date variable="issued">
445
+ <date-part name="month" suffix=" " />
446
+ <date-part name="day" suffix=", " />
447
+ <date-part name="year" />
448
+ </date>
449
+ </else>
450
+ </choose>
451
+ </macro>
452
+ <macro name="point-locators-subsequent">
453
+ <group>
454
+ <choose>
455
+ <if locator="page" match="none">
456
+ <label form="short" suffix=" " variable="locator" />
457
+ </if>
458
+ </choose>
459
+ <text variable="locator" />
460
+ </group>
461
+ </macro>
462
+ <macro name="point-locators">
463
+ <choose>
464
+ <if match="none" variable="locator">
465
+ <text macro="pages" />
466
+ </if>
467
+ <else-if type="article-journal">
468
+ <text prefix=": " variable="locator" />
469
+ </else-if>
470
+ <else>
471
+ <text macro="point-locators-subsequent" prefix=", " />
472
+ </else>
473
+ </choose>
474
+ </macro>
475
+ <macro name="pages">
476
+ <choose>
477
+ <if type="article-journal">
478
+ <text prefix=": " variable="page" />
479
+ </if>
480
+ <else-if type="chapter">
481
+ <text prefix=", " variable="page" />
482
+ </else-if>
483
+ </choose>
484
+ </macro>
485
+ <macro name="locators-chapter">
486
+ <choose>
487
+ <if type="chapter">
488
+ <text suffix=":" variable="volume" />
489
+ <text variable="page" />
490
+ </if>
491
+ </choose>
492
+ </macro>
493
+ <macro name="locators-journal">
494
+ <choose>
495
+ <if type="article-journal">
496
+ <text prefix=": " variable="page" />
497
+ </if>
498
+ </choose>
499
+ </macro>
500
+ <macro name="archive-note">
501
+ <group delimiter=", ">
502
+ <text variable="archive_location" />
503
+ <text variable="archive" />
504
+ <text variable="archive-place" />
505
+ </group>
506
+ </macro>
507
+ <macro name="archive">
508
+ <group delimiter=". ">
509
+ <text text-case="capitalize-first" variable="archive_location" />
510
+ <text variable="archive" />
511
+ <text variable="archive-place" />
512
+ </group>
513
+ </macro>
514
+ <macro name="issue-note">
515
+ <choose>
516
+ <if type="article-journal">
517
+ <text macro="issued" prefix=" (" suffix=")" />
518
+ </if>
519
+ <else-if match="any" variable="publisher-place publisher">
520
+ <group delimiter=", " prefix=" (" suffix=")">
521
+ <group delimiter=" ">
522
+ <choose>
523
+ <if match="none" variable="title"/>
524
+ <else-if match="any" type="thesis speech">
525
+ <text variable="genre" />
526
+ </else-if>
527
+ </choose>
528
+ <text macro="event" />
529
+ </group>
530
+ <text macro="publisher" />
531
+ <text macro="issued" />
532
+ </group>
533
+ </else-if>
534
+ <else>
535
+ <text macro="issued" prefix=", " />
536
+ </else>
537
+ </choose>
538
+ </macro>
539
+ <macro name="issue">
540
+ <choose>
541
+ <if type="article-journal">
542
+ <text macro="issued" prefix=" (" suffix=")" />
543
+ </if>
544
+ <else-if type="speech">
545
+ <choose>
546
+ <if match="none" variable="title"> </if>
547
+ <else>
548
+ <text prefix=". " text-case="capitalize-first" variable="genre" />
549
+ </else>
550
+ </choose>
551
+ <text macro="event" prefix=" " />
552
+ <text prefix=", " variable="event-place" />
553
+ <text macro="issued" prefix=", " />
554
+ </else-if>
555
+ <else-if match="any" variable="publisher-place publisher">
556
+ <group delimiter=", " prefix=". ">
557
+ <choose>
558
+ <if type="thesis">
559
+ <text text-case="capitalize-first" variable="genre" />
560
+ </if>
561
+ </choose>
562
+ <text macro="publisher" />
563
+ <text macro="issued" />
564
+ </group>
565
+ </else-if>
566
+ <else>
567
+ <text macro="issued" prefix=", " />
568
+ </else>
569
+ </choose>
570
+ </macro>
571
+ <macro name="access-note">
572
+ <group delimiter=", ">
573
+ <choose>
574
+ <if match="any" type="graphic report">
575
+ <text macro="archive-note" />
576
+ </if>
577
+ <else-if match="none" type="book thesis chapter article-journal article-newspaper article-magazine">
578
+ <text macro="archive-note" />
579
+ </else-if>
580
+ </choose>
581
+ <text prefix="doi:" variable="DOI" />
582
+ <text variable="URL" />
583
+ </group>
584
+ </macro>
585
+ <macro name="access">
586
+ <group delimiter=". ">
587
+ <choose>
588
+ <if match="any" type="graphic report">
589
+ <text macro="archive" />
590
+ </if>
591
+ <else-if match="none" type="book thesis chapter article-journal article-newspaper article-magazine">
592
+ <text macro="archive" />
593
+ </else-if>
594
+ </choose>
595
+ <text variable="URL" />
596
+ </group>
597
+ </macro>
598
+ <macro name="sort-key">
599
+ <text macro="contributors-sort" suffix=" " />
600
+ <text suffix=" " variable="title" />
601
+ <text variable="genre" />
602
+ </macro>
603
+ <macro name="legal-case-first">
604
+ <group delimiter=", ">
605
+ <text variable="title"/>
606
+ <group delimiter=" ">
607
+ <text variable="volume"/>
608
+ <text variable="container-title"/>
609
+ <text variable="page"/>
610
+ <group prefix="(" suffix=")" delimiter=" ">
611
+ <text variable="authority" form="short"/>
612
+ <date variable="issued">
613
+ <date-part name="year"/>
614
+ </date>
615
+ </group>
616
+ </group>
617
+ </group>
618
+ </macro>
619
+ <citation
620
+ disambiguate-add-names="true"
621
+ et-al-min="4"
622
+ et-al-subsequent-min="4"
623
+ et-al-subsequent-use-first="1"
624
+ et-al-use-first="1">
625
+ <layout delimiter="; " prefix="" suffix=".">
626
+ <choose>
627
+ <if type="legal_case">
628
+ <text macro="legal-case-first"/>
629
+ </if>
630
+ <else-if position="ibid-with-locator">
631
+ <group delimiter=", ">
632
+ <text suffix="." term="ibid"/>
633
+ <text macro="point-locators-subsequent" />
634
+ </group>
635
+ </else-if>
636
+ <else-if position="ibid">
637
+ <text suffix="." term="ibid"/>
638
+ </else-if>
639
+ <else-if position="subsequent">
640
+ <group delimiter=", ">
641
+ <text macro="contributors-short" />
642
+ <text macro="title-short" />
643
+ <text macro="point-locators-subsequent" />
644
+ </group>
645
+ </else-if>
646
+ <else>
647
+ <group delimiter=", ">
648
+ <text macro="contributors-note" />
649
+ <text macro="title-note" />
650
+ <text macro="description-note" />
651
+ <text macro="secondary-contributors-note" />
652
+ <text macro="container-title-note" />
653
+ <text macro="container-contributors-note" />
654
+ </group>
655
+ <text macro="locators-note" />
656
+ <text macro="collection-title" prefix=", " />
657
+ <text macro="issue-note" />
658
+ <text macro="locators-newspaper" prefix=", " />
659
+ <text macro="point-locators"/>
660
+ <text macro="access-note" prefix=", " />
661
+ </else>
662
+ </choose>
663
+ </layout>
664
+ </citation>
665
+ <bibliography
666
+ entry-spacing="0"
667
+ et-al-min="11"
668
+ et-al-use-first="7"
669
+ hanging-indent="true"
670
+ subsequent-author-substitute="---">
671
+ <sort>
672
+ <key macro="sort-key" />
673
+ <key variable="issued" />
674
+ </sort>
675
+ <layout suffix=".">
676
+ <choose>
677
+ <if type="legal_case">
678
+ <text macro="legal-case-first"/>
679
+ </if>
680
+ <else>
681
+ <group delimiter=". ">
682
+ <text macro="contributors" />
683
+ <text macro="title" />
684
+ <text macro="description" />
685
+ <text macro="secondary-contributors" />
686
+ <group delimiter=", ">
687
+ <text macro="container-title" />
688
+ <text macro="container-contributors" />
689
+ <text macro="locators-chapter" />
690
+ </group>
691
+ </group>
692
+ <text macro="locators" />
693
+ <text macro="collection-title" prefix=". " />
694
+ <text macro="issue" />
695
+ <text macro="locators-newspaper" prefix=", " />
696
+ <text macro="locators-journal" />
697
+ <text macro="access" prefix=". " />
698
+ </else>
699
+ </choose>
700
+ </layout>
701
+ </bibliography>
702
+ </style>
703
+
704
+ """
705
+ And the following input:
706
+ """
707
+ [{"ISBN":"9780804113472","author":[{"family":"Tyler","given":"Anne"},{"family":"Smith","given":"George"},{"family":"Brown","given":"John"},{"family":"Garfield","given":"Cat"}],"id":1,"issued":{"date-parts":[[1997]]},"publisher":"Ivy Books","publisher-place":"New York","title":"Ladder of his' Years","type":"book","volume":"2003"},{"ISBN":"9780804113472","author":[{"family":"Tyler","given":"Anne"},{"family":"Smith","given":"George"},{"family":"Brown","given":"John"},{"family":"Felix","given":"Cat"}],"id":2,"issued":{"date-parts":[[1997]]},"publisher":"Ivy Books","publisher-place":"New York","title":"Ladder of his' Years","type":"book","volume":"2003"}]
708
+ """
709
+ And I have a citations input
710
+ When I cite all items
711
+ Then the result should be:
712
+ """
713
+ >>[0] Anne Tyler, George Smith, John Brown, and Cat Garfield, <i>Ladder of his’ Years</i>, vol. 2003 (New York: Ivy Books, 1997).
714
+ >>[1] Anne Tyler, George Smith, John Brown, and Cat Felix, <i>Ladder of his’ Years</i>, vol. 2003 (New York: Ivy Books, 1997).
715
+ """