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,55 @@
1
+ Feature: bugreports
2
+ As a CSL cite processor hacker
3
+ I want the test bugreports_YearSuffixLingers to pass
4
+
5
+ @citation @bugreports @citations
6
+ Scenario: Year Suffix Lingers
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="3"
20
+ et-al-use-first="1"
21
+ et-al-subsequent-min="3"
22
+ et-al-subsequent-use-first="1"
23
+ disambiguate-add-year-suffix="true">
24
+ <layout delimiter="; ">
25
+ <group delimiter=" ">
26
+ <names variable="author">
27
+ <name form="short"/>
28
+ </names>
29
+ <date variable="issued" form="text" date-parts="year"/>
30
+ </group>
31
+ </layout>
32
+ </citation>
33
+ <bibliography>
34
+ <sort>
35
+ <key variable="author" />
36
+ <key variable="title" />
37
+ </sort>
38
+ <layout>
39
+ <text value="Ignore me" />
40
+ </layout>
41
+ </bibliography>
42
+ </style>
43
+ """
44
+ And the following input:
45
+ """
46
+ [{"author":[{"family":"Smith","given":"John"}],"id":"ITEM-1","issued":{"date-parts":[["1990"]]},"title":"Book A","type":"book"},{"author":[{"family":"Smith","given":"John"}],"id":"ITEM-2","issued":{"date-parts":[["1990"]]},"title":"Book B","type":"book"},{"author":[{"family":"Jones","given":"Bob"}],"id":"ITEM-3","issued":{"date-parts":[["1990"]]},"title":"Book C","type":"book"}]
47
+ """
48
+ And I have a citations input
49
+ When I cite all items
50
+ Then the result should be:
51
+ """
52
+ ..[0] Smith 1990a
53
+ ..[1] Smith 1990b
54
+ >>[2] Jones 1990
55
+ """
@@ -0,0 +1,343 @@
1
+ Feature: bugreports
2
+ As a CSL cite processor hacker
3
+ I want the test bugreports_disambiguate to pass
4
+
5
+ @citation @bugreports
6
+ Scenario: disambiguate
7
+ Given the following style:
8
+ """
9
+ <?xml version="1.0" encoding="utf-8"?>
10
+ <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
11
+ <info>
12
+ <title>American Psychological Association 6th Edition</title>
13
+ <id>http://www.zotero.org/styles/apa</id>
14
+ <link href="http://www.zotero.org/styles/apa" rel="self"/>
15
+ <link href="http://owl.english.purdue.edu/owl/resource/560/01/" rel="documentation"/>
16
+ <author>
17
+ <name>Simon Kornblith</name>
18
+ <email>simon@simonster.com</email>
19
+ </author>
20
+ <contributor>
21
+ <name>Bruce D'Arcus</name>
22
+ </contributor>
23
+ <contributor>
24
+ <name>Curtis M. Humphrey</name>
25
+ </contributor>
26
+ <contributor>
27
+ <name>Richard Karnesky</name>
28
+ <email>karnesky+zotero@gmail.com</email>
29
+ <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
30
+ </contributor>
31
+ <contributor>
32
+ <name>Sebastian Karcher</name>
33
+ </contributor>
34
+ <category field="psychology"/>
35
+ <category field="generic-base"/>
36
+ <category citation-format="author-date"/>
37
+ <updated>2010-01-27T20:08:03+00:00</updated>
38
+ <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
39
+ </info>
40
+ <macro name="container-contributors">
41
+ <choose>
42
+ <if type="chapter paper-conference" match="any">
43
+ <text term="in" text-case="capitalize-first" suffix=" "/>
44
+ <names variable="editor translator" delimiter=", " suffix=", ">
45
+ <name and="symbol" initialize-with=". " delimiter=", "/>
46
+ <label form="short" prefix=" (" text-case="capitalize-first" suffix=".)" strip-periods="true"/>
47
+ </names>
48
+ </if>
49
+ </choose>
50
+ </macro>
51
+ <macro name="secondary-contributors">
52
+ <choose>
53
+ <if type="chapter paper-conference" match="none">
54
+ <names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
55
+ <name and="symbol" initialize-with=". " delimiter=", "/>
56
+ <label form="short" prefix=", " text-case="capitalize-first" suffix="." strip-periods="true"/>
57
+ </names>
58
+ </if>
59
+ </choose>
60
+ </macro>
61
+ <macro name="author">
62
+ <names variable="author">
63
+ <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
64
+ <label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
65
+ <substitute>
66
+ <names variable="editor"/>
67
+ <names variable="translator"/>
68
+ <text macro="title"/>
69
+ </substitute>
70
+ </names>
71
+ </macro>
72
+ <macro name="author-short">
73
+ <names variable="author">
74
+ <name form="short" and="symbol" delimiter=", " initialize-with=". "/>
75
+ <substitute>
76
+ <names variable="editor"/>
77
+ <names variable="translator"/>
78
+ <choose>
79
+ <if type="bill book graphic legal_case motion_picture report song" match="any">
80
+ <text variable="title" form="short" font-style="italic"/>
81
+ </if>
82
+ <else>
83
+ <text variable="title" form="short" quotes="true"/>
84
+ </else>
85
+ </choose>
86
+ </substitute>
87
+ </names>
88
+ </macro>
89
+ <macro name="access">
90
+ <choose>
91
+ <if type="thesis">
92
+ <choose>
93
+ <if variable="archive" match="any">
94
+ <group>
95
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
96
+ <text term="from" suffix=" "/>
97
+ <text variable="archive" suffix="."/>
98
+ <text variable="archive_location" prefix=" (" suffix=")"/>
99
+ </group>
100
+ </if>
101
+ <else>
102
+ <group>
103
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
104
+ <text term="from" suffix=" "/>
105
+ <text variable="URL"/>
106
+ </group>
107
+ </else>
108
+ </choose>
109
+ </if>
110
+ <else>
111
+ <choose>
112
+ <if variable="DOI">
113
+ <text variable="DOI" prefix="doi:"/>
114
+ </if>
115
+ <else>
116
+ <choose>
117
+ <if type="webpage">
118
+ <group>
119
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
120
+ <date variable="accessed" suffix=", ">
121
+ <date-part name="month" suffix=" "/>
122
+ <date-part name="day" suffix=", "/>
123
+ <date-part name="year"/>
124
+ </date>
125
+ <group>
126
+ <text term="from" suffix=" "/>
127
+ <text variable="URL"/>
128
+ </group>
129
+ </group>
130
+ </if>
131
+ <else>
132
+ <group>
133
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
134
+ <text term="from" suffix=" "/>
135
+ <text variable="URL"/>
136
+ </group>
137
+ </else>
138
+ </choose>
139
+ </else>
140
+ </choose>
141
+ </else>
142
+ </choose>
143
+ </macro>
144
+ <macro name="title">
145
+ <choose>
146
+ <if type="report thesis" match="any">
147
+ <text variable="title" font-style="italic"/>
148
+ <group prefix=" (" suffix=")">
149
+ <text variable="genre"/>
150
+ <text variable="number" prefix=" No. "/>
151
+ </group>
152
+ </if>
153
+ <else-if type="bill book graphic legal_case motion_picture report song manuscript speech" match="any">
154
+ <text variable="title" font-style="italic"/>
155
+ </else-if>
156
+ <else>
157
+ <text variable="title"/>
158
+ </else>
159
+ </choose>
160
+ </macro>
161
+ <macro name="publisher">
162
+ <choose>
163
+ <if type="report" match="any">
164
+ <group delimiter=": ">
165
+ <text variable="publisher-place"/>
166
+ <text variable="publisher"/>
167
+ </group>
168
+ </if>
169
+ <else-if type="thesis" match="any">
170
+ <group delimiter=", ">
171
+ <text variable="publisher"/>
172
+ <text variable="publisher-place"/>
173
+ </group>
174
+ </else-if>
175
+ <else>
176
+ <choose>
177
+ <if variable="event" match="none">
178
+ <text variable="genre" suffix=", "/>
179
+ </if>
180
+ </choose>
181
+ <group delimiter=": ">
182
+ <text variable="publisher-place"/>
183
+ <text variable="publisher"/>
184
+ </group>
185
+ </else>
186
+ </choose>
187
+ </macro>
188
+ <macro name="event">
189
+ <choose>
190
+ <if variable="event">
191
+ <choose>
192
+ <if variable="genre" match="none">
193
+ <text term="presented at" text-case="capitalize-first" suffix=" "/>
194
+ <text variable="event"/>
195
+ </if>
196
+ <else>
197
+ <group delimiter=" ">
198
+ <text variable="genre" text-case="capitalize-first"/>
199
+ <text term="presented at"/>
200
+ <text variable="event"/>
201
+ </group>
202
+ </else>
203
+ </choose>
204
+ </if>
205
+ </choose>
206
+ </macro>
207
+ <macro name="issued">
208
+ <choose>
209
+ <if variable="issued">
210
+ <group prefix=" (" suffix=").">
211
+ <date variable="issued">
212
+ <date-part name="year"/>
213
+ </date>
214
+ <choose>
215
+ <if type="bill book graphic legal_case motion_picture report song article-journal chapter paper-conference" match="none">
216
+ <date variable="issued">
217
+ <date-part prefix=", " name="month"/>
218
+ <date-part prefix=" " name="day"/>
219
+ </date>
220
+ </if>
221
+ </choose>
222
+ </group>
223
+ </if>
224
+ <else>
225
+ <text prefix=" (" term="no date" suffix=")." form="short"/>
226
+ </else>
227
+ </choose>
228
+ </macro>
229
+ <macro name="issued-year">
230
+ <choose>
231
+ <if variable="issued">
232
+ <date variable="issued">
233
+ <date-part name="year"/>
234
+ </date>
235
+ </if>
236
+ <else>
237
+ <text term="no date" form="short" strip-periods="true"/>
238
+ </else>
239
+ </choose>
240
+ </macro>
241
+ <macro name="edition">
242
+ <choose>
243
+ <if is-numeric="edition">
244
+ <group delimiter=" ">
245
+ <number variable="edition" form="ordinal"/>
246
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
247
+ </group>
248
+ </if>
249
+ <else>
250
+ <text variable="edition" suffix="."/>
251
+ </else>
252
+ </choose>
253
+ </macro>
254
+ <macro name="locators">
255
+ <choose>
256
+ <if type="article-journal article-magazine article-newspaper" match="any">
257
+ <group prefix=", " delimiter=", ">
258
+ <group>
259
+ <text variable="volume" font-style="italic"/>
260
+ <text variable="issue" prefix="(" suffix=")"/>
261
+ </group>
262
+ <text variable="page"/>
263
+ </group>
264
+ </if>
265
+ <else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
266
+ <group prefix=" (" suffix=")" delimiter=", ">
267
+ <text macro="edition"/>
268
+ <group>
269
+ <text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=". " strip-periods="true"/>
270
+ <number variable="number-of-volumes" form="numeric" prefix="1-"/>
271
+ </group>
272
+ <group>
273
+ <text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
274
+ <number variable="volume" form="numeric"/>
275
+ </group>
276
+ <group>
277
+ <label variable="page" form="short" suffix=" "/>
278
+ <text variable="page"/>
279
+ </group>
280
+ </group>
281
+ </else-if>
282
+ </choose>
283
+ </macro>
284
+ <macro name="citation-locator">
285
+ <group>
286
+ <label variable="locator" form="short"/>
287
+ <text variable="locator" prefix=" "/>
288
+ </group>
289
+ </macro>
290
+ <citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
291
+ <sort>
292
+ <key macro="author"/>
293
+ <key macro="issued-year"/>
294
+ </sort>
295
+ <layout prefix="(" suffix=")" delimiter="; ">
296
+ <group delimiter=", ">
297
+ <text macro="author-short"/>
298
+ <text macro="issued-year"/>
299
+ <text macro="citation-locator"/>
300
+ </group>
301
+ </layout>
302
+ </citation>
303
+ <bibliography hanging-indent="true" et-al-min="8" et-al-use-first="7" entry-spacing="0" line-spacing="2">
304
+ <sort>
305
+ <key macro="author"/>
306
+ <key macro="issued-year" sort="ascending"/>
307
+ </sort>
308
+ <layout>
309
+ <group suffix=".">
310
+ <text macro="author" suffix="."/>
311
+ <text macro="issued" suffix=" "/>
312
+ <group delimiter=". ">
313
+ <text macro="title"/>
314
+ <group>
315
+ <text macro="container-contributors"/>
316
+ <text macro="secondary-contributors"/>
317
+ <group delimiter=", ">
318
+ <text variable="container-title" font-style="italic"/>
319
+ <text variable="collection-title"/>
320
+ </group>
321
+ </group>
322
+ </group>
323
+ <text macro="locators"/>
324
+ <group delimiter=", " prefix=". ">
325
+ <text macro="event"/>
326
+ <text macro="publisher"/>
327
+ </group>
328
+ </group>
329
+ <text macro="access" prefix=". "/>
330
+ </layout>
331
+ </bibliography>
332
+ </style>
333
+
334
+ """
335
+ And the following input:
336
+ """
337
+ [{"author":[{"family":"FamilyA","given":"GivenA D."},{"family":"FamilyB","given":"GivenB P."}],"container-title":"Container Title01","id":"ITEM-1","issued":{"date-parts":[[2003,1]]},"title":"Title01","type":"article-journal"},{"author":[{"family":"FamilyA","given":"GivenA D."},{"family":"FamilyC","given":"GivenC1 GivenC2"},{"family":"FamilyB","given":"GivenB P"}],"container-title":"Container Title02","id":"ITEM-2","issued":{"date-parts":[[2007,1]]},"title":"Title02","type":"article-journal"}]
338
+ """
339
+ When I cite all items
340
+ Then the result should be:
341
+ """
342
+ (FamilyA &amp; FamilyB, 2003; FamilyA, FamilyC, &amp; FamilyB, 2007)
343
+ """
@@ -0,0 +1,277 @@
1
+ Feature: bugreports
2
+ As a CSL cite processor hacker
3
+ I want the test bugreports_ikeyOne to pass
4
+
5
+ @citation @bugreports @citations
6
+ Scenario: ikey One
7
+ Given the following style:
8
+ """
9
+ <?xml version="1.0" encoding="utf-8"?>
10
+ <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
11
+ <info>
12
+ <title>Modern Language Association</title>
13
+ <id>http://www.zotero.org/styles/mla</id>
14
+ <link href="http://www.zotero.org/styles/mla" rel="self"/>
15
+ <author>
16
+ <name>modified by Sebastian Karcher</name>
17
+ <email>karcher@u.northwestern.edu</email>
18
+ </author>
19
+ <contributor>
20
+ <name>modified by Christian Werthschulte</name>
21
+ <email>Christian.Werthschulte@rub.de</email>
22
+ </contributor>
23
+ <contributor>
24
+ <name>Simon Kornblith</name>
25
+ <email>simon@simonster.com</email>
26
+ </contributor>
27
+ <contributor>
28
+ <name>modified by James Johnston</name>
29
+ <email>thejamesjohnston@gmail.com</email>
30
+ </contributor>
31
+ <category field="generic-base"/>
32
+ <category citation-format="author-date"/>
33
+ <link href="http://owl.english.purdue.edu/owl/section/2/11/" rel="documentation"/>
34
+ <updated>2009-11-10T07:33:51+00:00</updated>
35
+ <summary>This style requires the "Include URLs" box to be checked in the Style tab of the Zotero preferences</summary>
36
+ <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
37
+ </info>
38
+ <locale xml:lang="en">
39
+ <terms>
40
+ <term name="month-01" form="short">Jan.</term>
41
+ <term name="month-02" form="short">Feb.</term>
42
+ <term name="month-03" form="short">Mar.</term>
43
+ <term name="month-04" form="short">Apr.</term>
44
+ <term name="month-05" form="short">May</term>
45
+ <term name="month-06" form="short">June</term>
46
+ <term name="month-07" form="short">July</term>
47
+ <term name="month-08" form="short">Aug.</term>
48
+ <term name="month-09" form="short">Sept.</term>
49
+ <term name="month-10" form="short">Oct.</term>
50
+ <term name="month-11" form="short">Nov.</term>
51
+ <term name="month-12" form="short">Dec.</term>
52
+ </terms>
53
+ </locale>
54
+ <macro name="editor-translator">
55
+ <names variable="editor translator" delimiter=". ">
56
+ <label form="verb-short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
57
+ <name and="symbol" delimiter=", "/>
58
+ </names>
59
+ </macro>
60
+ <macro name="author">
61
+ <names variable="author">
62
+ <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
63
+ <label form="short" prefix=", " suffix="." strip-periods="true"/>
64
+ <substitute>
65
+ <names variable="editor"/>
66
+ <names variable="translator"/>
67
+ <text macro="title"/>
68
+ </substitute>
69
+ </names>
70
+ </macro>
71
+ <macro name="author-short">
72
+ <names variable="author">
73
+ <name form="short" and="text" delimiter=", " initialize-with=". "/>
74
+ <substitute>
75
+ <names variable="editor"/>
76
+ <names variable="translator"/>
77
+ <text macro="title-short"/>
78
+ </substitute>
79
+ </names>
80
+ </macro>
81
+ <macro name="access">
82
+ <group delimiter=" ">
83
+ <date variable="accessed">
84
+ <date-part name="day" suffix=" "/>
85
+ <date-part name="month" form="short" suffix=" " strip-periods="true"/>
86
+ <date-part name="year"/>
87
+ </date>
88
+ </group>
89
+ </macro>
90
+ <macro name="medium">
91
+ <choose>
92
+ <if type="motion_picture">
93
+ <choose>
94
+ <if variable="medium">
95
+ <text variable="medium" prefix=" "/>
96
+ </if>
97
+ <else>
98
+ <text value="Film" prefix=" "/>
99
+ </else>
100
+ </choose>
101
+ </if>
102
+ <else-if type="song">
103
+ <choose>
104
+ <if variable="medium">
105
+ <text variable="medium" prefix=" "/>
106
+ </if>
107
+ <else>
108
+ <text value="Audio Recording" prefix=" "/>
109
+ </else>
110
+ </choose>
111
+ </else-if>
112
+ <else>
113
+ <choose>
114
+ <if variable="URL DOI" match="any">
115
+ <text variable="archive" prefix=" " suffix=". "/>
116
+ <text value="Web" prefix=" "/>
117
+ <text prefix=". " suffix="." macro="access"/>
118
+ </if>
119
+ <else>
120
+ <text value="Print" prefix=" "/>
121
+ </else>
122
+ </choose>
123
+ </else>
124
+ </choose>
125
+ </macro>
126
+ <macro name="title">
127
+ <choose>
128
+ <if type="bill book graphic legal_case motion_picture report song" match="any">
129
+ <text variable="title" font-style="italic" text-case="title"/>
130
+ </if>
131
+ <else>
132
+ <text variable="title" quotes="true" text-case="title"/>
133
+ </else>
134
+ </choose>
135
+ </macro>
136
+ <macro name="title-short">
137
+ <choose>
138
+ <if type="bill book graphic legal_case motion_picture report song" match="any">
139
+ <text variable="title" form="short" font-style="italic" text-case="title"/>
140
+ </if>
141
+ <else>
142
+ <text variable="title" form="short" quotes="true" text-case="title"/>
143
+ </else>
144
+ </choose>
145
+ </macro>
146
+ <macro name="pages">
147
+ <choose>
148
+ <if variable="page">
149
+ <text variable="page"/>
150
+ </if>
151
+ <else>
152
+ <text value="n. pag"/>
153
+ </else>
154
+ </choose>
155
+ </macro>
156
+ <macro name="edition">
157
+ <choose>
158
+ <if is-numeric="edition">
159
+ <group delimiter=" ">
160
+ <number variable="edition" form="ordinal"/>
161
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
162
+ </group>
163
+ </if>
164
+ <else>
165
+ <text variable="edition"/>
166
+ </else>
167
+ </choose>
168
+ </macro>
169
+ <macro name="publisher-year">
170
+ <group delimiter=", ">
171
+ <group delimiter=": ">
172
+ <text variable="publisher-place"/>
173
+ <text variable="publisher"/>
174
+ </group>
175
+ <date variable="issued">
176
+ <date-part name="year"/>
177
+ </date>
178
+ </group>
179
+ </macro>
180
+ <citation et-al-min="4" et-al-use-first="1" disambiguate-add-names="true" disambiguate-add-givenname="true">
181
+ <layout prefix="(" suffix=")" delimiter="; ">
182
+ <group delimiter=" ">
183
+ <choose>
184
+ <if variable="author editor translator" match="any">
185
+ <group delimiter=", ">
186
+ <text macro="author-short"/>
187
+ <choose>
188
+ <if disambiguate="true">
189
+ <text macro="title-short"/>
190
+ </if>
191
+ </choose>
192
+ </group>
193
+ </if>
194
+ <else>
195
+ <text macro="title-short"/>
196
+ </else>
197
+ </choose>
198
+ <text variable="locator"/>
199
+ </group>
200
+ </layout>
201
+ </citation>
202
+ <bibliography hanging-indent="true" et-al-min="4" et-al-use-first="1" line-spacing="2" entry-spacing="0" subsequent-author-substitute="---">
203
+ <sort>
204
+ <key macro="author"/>
205
+ <key variable="title"/>
206
+ </sort>
207
+ <layout suffix=".">
208
+ <text macro="author" suffix="."/>
209
+ <text macro="title" prefix=" " suffix="."/>
210
+ <choose>
211
+ <if type="bill book graphic legal_case motion_picture report song" match="any">
212
+ <text macro="edition" prefix=" " suffix="."/>
213
+ <text macro="editor-translator" prefix=" " suffix="."/>
214
+ <text macro="publisher-year" prefix=" " suffix="."/>
215
+ </if>
216
+ <else-if type="chapter paper-conference" match="any">
217
+ <group>
218
+ <text variable="container-title" font-style="italic" text-case="title" prefix=" " suffix="."/>
219
+ <text macro="edition" prefix=" " suffix="."/>
220
+ <text macro="editor-translator" prefix=" " suffix="."/>
221
+ <text macro="publisher-year" prefix=" " suffix="."/>
222
+ </group>
223
+ <text variable="page" prefix=" " suffix="."/>
224
+ </else-if>
225
+ <else>
226
+ <group prefix=" " suffix="." delimiter=": ">
227
+ <group delimiter=" ">
228
+ <text macro="editor-translator" suffix="."/>
229
+ <text variable="container-title" font-style="italic" text-case="title"/>
230
+ <choose>
231
+ <if type="article-journal">
232
+ <group delimiter=" ">
233
+ <group delimiter=".">
234
+ <text variable="volume"/>
235
+ <text variable="issue"/>
236
+ </group>
237
+ <date variable="issued" prefix="(" suffix=")">
238
+ <date-part name="year"/>
239
+ </date>
240
+ </group>
241
+ <text macro="pages" prefix=": "/>
242
+ </if>
243
+ <else>
244
+ <date variable="issued">
245
+ <date-part name="day" suffix=" "/>
246
+ <date-part name="month" form="short" suffix=" " strip-periods="true"/>
247
+ <date-part name="year"/>
248
+ </date>
249
+ <choose>
250
+ <if variable="URL DOI" match="any">
251
+ <text variable="page"/>
252
+ </if>
253
+ <else>
254
+ <text macro="pages" prefix=": "/>
255
+ </else>
256
+ </choose>
257
+ </else>
258
+ </choose>
259
+ </group>
260
+ </group>
261
+ </else>
262
+ </choose>
263
+ <text macro="medium"/>
264
+ </layout>
265
+ </bibliography>
266
+ </style>
267
+ """
268
+ And the following input:
269
+ """
270
+ [{"author":[{"family":"Smith","given":"James"}],"id":5,"title":"Book B","type":"book"},{"author":[{"family":"Smith","given":"John"}],"id":4,"title":"Book C","type":"book"}]
271
+ """
272
+ And I have a citations input
273
+ When I cite all items
274
+ Then the result should be:
275
+ """
276
+ >>[0] (Smith)
277
+ """