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,818 @@
1
+ Feature: bugreports
2
+ As a CSL cite processor hacker
3
+ I want the test bugreports_AllCapsLeakage to pass
4
+
5
+ @bibliography @bugreports
6
+ Scenario: All Caps Leakage
7
+ Given the following style:
8
+ """
9
+ <?xml version="1.0" encoding="utf-8"?>
10
+ <style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="fr-FR" version="1.0" page-range-format="expanded">
11
+ <info>
12
+ <title>France Philo Theatre (Biblio et notes)</title>
13
+ <id>http://www.zotero.org/styles/france-philo-theatre</id>
14
+ <link href="http://www.zotero.org/styles/france-philo-theatre" rel="self"/>
15
+ <author>
16
+ <name>L. Lafitte</name>
17
+ <email>l2lafitte@yahoo.fr</email>
18
+ </author>
19
+ <category field="humanities"/>
20
+ <category citation-format="note"/>
21
+ <category field="generic-base"/>
22
+ <updated>2011-04-30T09:01:01+00:00</updated>
23
+ </info>
24
+ <locale xml:lang="fr-FR">
25
+ <terms>
26
+ <term name="editor" form="short">
27
+ <single>éd.</single>
28
+ <multiple>éds</multiple>
29
+ </term>
30
+ <term name="editor" form="verb-short">éd. par</term>
31
+ <term name="translator" form="verb-short">trad. par</term>
32
+ <term name="interviewer" form="verb">entretien réalisé par</term>
33
+ <term name="in">in</term>
34
+ <term name="edition">édition</term>
35
+ <term name="accessed">consulté le </term>
36
+ <term name="at">disponible sur&#160;: </term>
37
+ <term name="et-al">[et al.]</term>
38
+ <term name="sub verbo" form="short">
39
+ <single></single>
40
+ <multiple></multiple>
41
+ </term>
42
+ </terms>
43
+ </locale>
44
+ <!-- UTILISATION D'espaces insécables &#160; POUR EVITER DE MALENCONTREUX RETOURS A LA LIGNE -->
45
+ <!-- CODAGE &lt; POUR SIGNE INFÉRIEUR ET &gt; POUR SIGNE SUPÉRIEUR -->
46
+ <!-- SECTION DEFINITION DES MACROS -->
47
+ <macro name="contributors">
48
+ <names variable="author">
49
+ <name name-as-sort-order="all" form="long" delimiter=", " delimiter-precedes-last="always" sort-separator=" ">
50
+ <name-part name="family" font-variant="small-caps"/>
51
+ </name>
52
+ <label form="short" prefix=", (" suffix=".)" strip-periods="false"/>
53
+ <substitute>
54
+ <names variable="editor"/>
55
+ <names variable="translator"/>
56
+ <text macro="title"/>
57
+ </substitute>
58
+ </names>
59
+ </macro>
60
+ <macro name="contributors-notes">
61
+ <names variable="author">
62
+ <name sort-separator=" " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
63
+ <label form="short" prefix=", (" suffix=".)" strip-periods="false"/>
64
+ <substitute>
65
+ <names variable="editor"/>
66
+ <names variable="translator"/>
67
+ <text macro="title-note"/>
68
+ </substitute>
69
+ </names>
70
+ </macro>
71
+ <macro name="contributors-short">
72
+ <names variable="author">
73
+ <name sort-separator=" " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
74
+ <label form="short" prefix=", (" suffix=".)" strip-periods="false"/>
75
+ <substitute>
76
+ <names variable="editor"/>
77
+ <names variable="translator"/>
78
+ <text macro="title-short"/>
79
+ </substitute>
80
+ </names>
81
+ </macro>
82
+ <macro name="translator">
83
+ <names variable="translator">
84
+ <label form="verb" text-case="capitalize-first" suffix=" "/>
85
+ <name form="long" and="text" delimiter=", " delimiter-precedes-last="never"/>
86
+ </names>
87
+ </macro>
88
+ <macro name="translator-note">
89
+ <names variable="translator">
90
+ <label form="verb-short" suffix=" " strip-periods="false"/>
91
+ <name sort-separator=" " initialize-with=". " and="text" delimiter=", " delimiter-precedes-last="never"/>
92
+ </names>
93
+ </macro>
94
+ <macro name="editor">
95
+ <names variable="editor" delimiter=", ">
96
+ <label form="verb" text-case="capitalize-first" suffix=" "/>
97
+ <name form="long" and="text" delimiter=", " delimiter-precedes-last="never"/>
98
+ </names>
99
+ </macro>
100
+ <macro name="editor-note">
101
+ <names variable="editor" delimiter=", ">
102
+ <label form="verb-short" suffix=" " strip-periods="false"/>
103
+ <name sort-separator=" " initialize-with=". " and="text" delimiter=", " delimiter-precedes-last="never"/>
104
+ </names>
105
+ </macro>
106
+ <macro name="container-contributors">
107
+ <choose>
108
+ <if variable="container-title">
109
+ <text term="in" font-style="italic" suffix=" "/>
110
+ <choose>
111
+ <if variable="container-author">
112
+ <names variable="container-author">
113
+ <name form="long" delimiter=", " delimiter-precedes-last="always" suffix=". "/>
114
+ </names>
115
+ </if>
116
+ <else-if variable="editor">
117
+ <names variable="editor" suffix=". ">
118
+ <name form="long" delimiter=", " delimiter-precedes-last="always"/>
119
+ <label form="short" prefix=", (" suffix=".)" strip-periods="false"/>
120
+ </names>
121
+ </else-if>
122
+ </choose>
123
+ <text variable="container-title" font-style="italic"/>
124
+ <choose>
125
+ <if variable="title" match="any"/>
126
+ <else>
127
+ <choose>
128
+ <if variable="URL DOI" match="any">
129
+ <text value="en ligne" prefix=" [" suffix="]" text-case="capitalize-first"/>
130
+ </if>
131
+ </choose>
132
+ </else>
133
+ </choose>
134
+ <choose>
135
+ <if variable="container-author">
136
+ <text macro="editor" prefix=", "/>
137
+ </if>
138
+ </choose>
139
+ </if>
140
+ </choose>
141
+ </macro>
142
+ <macro name="container-contributors-note">
143
+ <choose>
144
+ <if variable="container-title">
145
+ <text term="in" font-style="italic" suffix=" "/>
146
+ <choose>
147
+ <if variable="container-author">
148
+ <names variable="container-author">
149
+ <name sort-separator=" " initialize-with=". " form="long" delimiter=", " delimiter-precedes-last="always" suffix=". "/>
150
+ </names>
151
+ </if>
152
+ <else-if variable="editor">
153
+ <names variable="editor" suffix=". ">
154
+ <name sort-separator=" " initialize-with=". " form="long" delimiter=", " delimiter-precedes-last="always"/>
155
+ <label form="short" prefix=", (" suffix=".)" strip-periods="false"/>
156
+ </names>
157
+ </else-if>
158
+ </choose>
159
+ <text variable="container-title" font-style="italic"/>
160
+ <choose>
161
+ <if variable="container-author">
162
+ <text macro="editor-note" prefix=", "/>
163
+ </if>
164
+ </choose>
165
+ </if>
166
+ </choose>
167
+ </macro>
168
+ <macro name="title">
169
+ <choose>
170
+ <if type="bill book graphic legal_case motion_picture report song thesis" match="any">
171
+ <text variable="title" text-case="capitalize-first" font-style="italic"/>
172
+ </if>
173
+ <else>
174
+ <text variable="title" text-case="capitalize-first" quotes="true"/>
175
+ </else>
176
+ </choose>
177
+ <choose>
178
+ <if variable="title" match="none"/>
179
+ <else>
180
+ <choose>
181
+ <if variable="URL DOI" match="any">
182
+ <text value="en ligne" prefix=" [" suffix="]" text-case="capitalize-first"/>
183
+ </if>
184
+ </choose>
185
+ </else>
186
+ </choose>
187
+ </macro>
188
+ <macro name="title-note">
189
+ <choose>
190
+ <if type="bill book graphic legal_case motion_picture report song thesis" match="any">
191
+ <text variable="title" text-case="capitalize-first" font-style="italic"/>
192
+ </if>
193
+ <else>
194
+ <text variable="title" text-case="capitalize-first" quotes="true"/>
195
+ </else>
196
+ </choose>
197
+ </macro>
198
+ <macro name="title-short">
199
+ <choose>
200
+ <if type="bill book graphic legal_case motion_picture report song thesis" match="any">
201
+ <text variable="title" text-case="capitalize-first" font-style="italic" form="short"/>
202
+ </if>
203
+ <else>
204
+ <text variable="title" text-case="capitalize-first" quotes="true" form="short"/>
205
+ </else>
206
+ </choose>
207
+ </macro>
208
+ <macro name="publisher">
209
+ <!-- PAS DE MENTION AUTOMATIQUE DE [s.l.] [s.n.] POUR EVITER INCOHERENCE AVEC MENTIONS DANS EDITION ET NOTES -->
210
+ <choose>
211
+ <if variable="publisher-place">
212
+ <text variable="publisher-place"/>
213
+ <choose>
214
+ <if variable="publisher">
215
+ <text variable="publisher" prefix=", "/>
216
+ </if>
217
+ </choose>
218
+ </if>
219
+ <else-if variable="publisher">
220
+ <text variable="publisher"/>
221
+ </else-if>
222
+ </choose>
223
+ </macro>
224
+ <macro name="publisher-report">
225
+ <text macro="publisher"/>
226
+ <choose>
227
+ <if variable="issued">
228
+ <text macro="issued-long" prefix=", "/>
229
+ </if>
230
+ <else>
231
+ <text value=", [s.d.]"/>
232
+ </else>
233
+ </choose>
234
+ <!-- ZOTERO NE PERMETTANT PAS DE DISTINGUER UNE PLAGE DE PAGES D'UN NOMBRE DE PAGES -->
235
+ <!-- SI LA CASE PAGES EST RENSEIGNEE, CE SERA TOUJOURS INTERPRETE COMME UNE PLAGE -->
236
+ <choose>
237
+ <if variable="number-of-pages">
238
+ <text variable="number-of-pages" prefix=", " suffix="&#160;p."/>
239
+ </if>
240
+ <else-if variable="page">
241
+ <text variable="page" prefix=", p.&#160;"/>
242
+ </else-if>
243
+ </choose>
244
+ </macro>
245
+ <macro name="publisher-report-note">
246
+ <text macro="publisher"/>
247
+ <choose>
248
+ <if variable="issued">
249
+ <text macro="issued-long" prefix=", "/>
250
+ </if>
251
+ <else>
252
+ <text value=", [s.d.]"/>
253
+ </else>
254
+ </choose>
255
+ </macro>
256
+ <macro name="publisher-book">
257
+ <text macro="publisher"/>
258
+ <date variable="issued" prefix=", ">
259
+ <date-part name="year"/>
260
+ </date>
261
+ <!-- POUR OUVRAGE MULTI-VOLUMES, NBRE de VOLUMES RENSEIGNE et >1, NBRE de PAGES RAREMENT PRESENT -->
262
+ <!-- POUR OUVRAGE MONO-VOLUME, NBRE de PAGES RENSEIGNE, MAIS NBRE de VOLUMES PARFOIS VALORISE A 1 -->
263
+ <!-- ZOTERO NE PERMETTANT PAS DE TESTER VALEURS, ON TESTE PRESENCE DU NBRE de PAGES -->
264
+ <choose>
265
+ <if variable="number-of-pages">
266
+ <text variable="number-of-pages" prefix=", " suffix="&#160;p."/>
267
+ </if>
268
+ <else>
269
+ <choose>
270
+ <if variable="number-of-volumes">
271
+ <group>
272
+ <text variable="number-of-volumes" prefix=". " suffix="&#160;"/>
273
+ <text term="volume" form="short" suffix="." strip-periods="false"/>
274
+ </group>
275
+ </if>
276
+ </choose>
277
+ </else>
278
+ </choose>
279
+ </macro>
280
+ <macro name="publisher-book-note">
281
+ <text macro="publisher"/>
282
+ <date variable="issued" prefix=", ">
283
+ <date-part name="year"/>
284
+ </date>
285
+ </macro>
286
+ <macro name="publisher-chapter">
287
+ <text variable="event" prefix="Contribution à " font-style="italic" suffix=", "/>
288
+ <group delimiter=", ">
289
+ <text macro="publisher"/>
290
+ <text macro="issued-long"/>
291
+ <text variable="page" prefix="p.&#160;"/>
292
+ </group>
293
+ </macro>
294
+ <macro name="publisher-chapter-note">
295
+ <text variable="event" prefix=", contribution à " font-style="italic" suffix=", "/>
296
+ <text macro="publisher"/>
297
+ <text macro="issued-long" prefix=", "/>
298
+ </macro>
299
+ <macro name="broadcast">
300
+ <choose>
301
+ <if variable="container-title">
302
+ <group suffix=". ">
303
+ <text term="in" font-style="italic" suffix=" "/>
304
+ <text variable="container-title" font-style="italic"/>
305
+ <text variable="number" prefix=", "/>
306
+ </group>
307
+ </if>
308
+ </choose>
309
+ <text variable="medium" suffix=". "/>
310
+ <group delimiter=", ">
311
+ <text macro="publisher"/>
312
+ <text macro="issued-long"/>
313
+ </group>
314
+ </macro>
315
+ <macro name="webpage">
316
+ <group delimiter=", ">
317
+ <text variable="container-title" font-style="italic"/>
318
+ <text variable="genre" text-case="capitalize-first"/>
319
+ <choose>
320
+ <if variable="issued" match="none">
321
+ <text value="[s.d.]"/>
322
+ </if>
323
+ <else>
324
+ <text macro="issued-long"/>
325
+ </else>
326
+ </choose>
327
+ </group>
328
+ </macro>
329
+ <macro name="publication">
330
+ <choose>
331
+ <!-- SI LA ZONE PUBLICATION EST LA PREMIERE RENSEIGNEE, L'ITEM EST UN PERIODIQUE, SINON C'EST UN ARTICLE DE PERIODIQUE ou UNE CARTE ... -->
332
+ <if variable="author editor translator title" match="none">
333
+ <text macro="journal"/>
334
+ </if>
335
+ <else>
336
+ <group delimiter=", " suffix=", ">
337
+ <text variable="container-title" font-style="italic"/>
338
+ <text variable="genre" text-case="capitalize-first"/>
339
+ <text variable="edition" text-case="capitalize-first"/>
340
+ </group>
341
+ <group delimiter=", ">
342
+ <text macro="publisher"/>
343
+ <text macro="issued-long"/>
344
+ <text macro="volume"/>
345
+ <text macro="issue"/>
346
+ <text variable="collection-title" text-case="capitalize-first" prefix="(" suffix=")"/>
347
+ <text macro="editor"/>
348
+ <text variable="page" prefix="p.&#160;"/>
349
+ </group>
350
+ </else>
351
+ </choose>
352
+ </macro>
353
+ <macro name="publication-note">
354
+ <choose>
355
+ <!-- SI LA ZONE PUBLICATION EST LA PREMIERE RENSEIGNEE, C'EST UN PERIODIQUE, SINON C'EST UN ARTICLE DE PERIODIQUE -->
356
+ <if variable="author editor translator title" match="none">
357
+ <text macro="journal-note"/>
358
+ </if>
359
+ <else>
360
+ <group delimiter=", " suffix=", ">
361
+ <text variable="container-title" font-style="italic"/>
362
+ <text variable="genre" text-case="capitalize-first"/>
363
+ <text variable="edition" text-case="capitalize-first"/>
364
+ </group>
365
+ <group delimiter=", ">
366
+ <text macro="publisher"/>
367
+ <text macro="issued-long"/>
368
+ <text macro="volume"/>
369
+ <text macro="issue"/>
370
+ <text variable="collection-title" text-case="capitalize-first" prefix="(" suffix=")"/>
371
+ <text macro="editor-note"/>
372
+ </group>
373
+ </else>
374
+ </choose>
375
+ </macro>
376
+ <macro name="publication-short">
377
+ <choose>
378
+ <if variable="author editor translator title" match="none">
379
+ <text variable="container-title" font-style="italic"/>
380
+ <group delimiter=", " prefix=", ">
381
+ <text macro="volume"/>
382
+ <text macro="issue"/>
383
+ </group>
384
+ </if>
385
+ </choose>
386
+ </macro>
387
+ <macro name="journal">
388
+ <group delimiter=", ">
389
+ <text macro="journal-note"/>
390
+ <text variable="page" prefix="p.&#160;"/>
391
+ </group>
392
+ </macro>
393
+ <macro name="journal-note">
394
+ <text variable="container-title" font-style="italic" suffix=", "/>
395
+ <group delimiter=", ">
396
+ <choose>
397
+ <if variable="issued">
398
+ <date variable="issued">
399
+ <date-part name="day" suffix=" "/>
400
+ <date-part name="month" suffix=" " text-case="capitalize-first"/>
401
+ <date-part name="year"/>
402
+ </date>
403
+ <text macro="volume"/>
404
+ </if>
405
+ <else>
406
+ <text macro="volume" text-case="capitalize-first"/>
407
+ </else>
408
+ </choose>
409
+ <text macro="issue"/>
410
+ <text variable="collection-title" text-case="capitalize-first" prefix="(" suffix=")"/>
411
+ </group>
412
+ </macro>
413
+ <macro name="volume">
414
+ <choose>
415
+ <if is-numeric="volume">
416
+ <text term="volume" form="short" suffix=".&#160;" strip-periods="false"/>
417
+ <text variable="volume"/>
418
+ </if>
419
+ <else>
420
+ <text variable="volume"/>
421
+ </else>
422
+ </choose>
423
+ </macro>
424
+ <macro name="issue">
425
+ <choose>
426
+ <if is-numeric="issue">
427
+ <text term="issue" form="short" suffix="&#160;" strip-periods="false"/>
428
+ <text variable="issue"/>
429
+ </if>
430
+ <else>
431
+ <text variable="issue"/>
432
+ </else>
433
+ </choose>
434
+ </macro>
435
+ <macro name="issued-long">
436
+ <date variable="issued">
437
+ <date-part name="day" suffix=" "/>
438
+ <date-part name="month" suffix=" " text-case="lowercase"/>
439
+ <date-part name="year"/>
440
+ </date>
441
+ </macro>
442
+ <macro name="article-newspaper">
443
+ <text macro="publication-title"/>
444
+ <group delimiter=", ">
445
+ <text macro="publisher"/>
446
+ <text macro="issued-long"/>
447
+ <group>
448
+ <text term="edition" suffix=" "/>
449
+ <text variable="edition"/>
450
+ </group>
451
+ <text variable="section"/>
452
+ <text macro="volume"/>
453
+ <text macro="issue"/>
454
+ <text variable="page" prefix="p.&#160;"/>
455
+ </group>
456
+ </macro>
457
+ <macro name="article-newspaper-note">
458
+ <text macro="publication-title"/>
459
+ <group delimiter=", ">
460
+ <text macro="publisher"/>
461
+ <text macro="issued-long"/>
462
+ <group>
463
+ <text term="edition" suffix=" "/>
464
+ <text variable="edition"/>
465
+ </group>
466
+ <text variable="section"/>
467
+ <text macro="volume"/>
468
+ <text macro="issue"/>
469
+ </group>
470
+ </macro>
471
+ <macro name="article-newspaper-short">
472
+ <text macro="publication-title" prefix=". "/>
473
+ <group delimiter=", ">
474
+ <text macro="publisher"/>
475
+ <text macro="issued-long"/>
476
+ </group>
477
+ </macro>
478
+ <macro name="interview">
479
+ <names variable="interviewer" delimiter=", ">
480
+ <label form="verb" text-case="capitalize-first" suffix=" "/>
481
+ <name and="text" delimiter=", " delimiter-precedes-last="never"/>
482
+ </names>
483
+ <group delimiter=", " prefix=", ">
484
+ <text macro="translator"/>
485
+ <text variable="medium"/>
486
+ <text macro="issued-long"/>
487
+ </group>
488
+ </macro>
489
+ <macro name="interview-note">
490
+ <names variable="interviewer" delimiter=", ">
491
+ <label form="verb" text-case="capitalize-first" suffix=" "/>
492
+ <name sort-separator=" " and="text" initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
493
+ </names>
494
+ <group delimiter=", " prefix=", ">
495
+ <text macro="translator-note"/>
496
+ <text variable="medium"/>
497
+ <text macro="issued-long"/>
498
+ </group>
499
+ </macro>
500
+ <macro name="interview-short">
501
+ <names variable="interviewer" delimiter=", ">
502
+ <label form="verb" text-case="capitalize-first" prefix=". " suffix=" "/>
503
+ <name sort-separator=" " and="text" initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
504
+ </names>
505
+ <group delimiter=", " prefix=", ">
506
+ <text variable="medium"/>
507
+ <text macro="issued-long"/>
508
+ </group>
509
+ </macro>
510
+ <macro name="report">
511
+ <choose>
512
+ <if variable="genre" match="none">
513
+ <choose>
514
+ <if variable="number">
515
+ <text variable="number" prefix="Rapport "/>
516
+ </if>
517
+ </choose>
518
+ </if>
519
+ <else>
520
+ <group delimiter=" ">
521
+ <text variable="genre" text-case="capitalize-first"/>
522
+ <text variable="number"/>
523
+ </group>
524
+ </else>
525
+ </choose>
526
+ </macro>
527
+ <macro name="collection">
528
+ <group>
529
+ <text variable="collection-title" text-case="capitalize-first" quotes="true" prefix="("/>
530
+ <text variable="collection-number" prefix=", "/>
531
+ <text value=")"/>
532
+ </group>
533
+ </macro>
534
+ <macro name="url-doi">
535
+ <group delimiter=", ">
536
+ <group>
537
+ <text term="at" text-case="capitalize-first"/>
538
+ <text value="URL&#160;"/>
539
+ <text variable="URL" prefix="&lt;&#160;" suffix="&#160;&gt;"/>
540
+ </group>
541
+ <group>
542
+ <text value="DOI&#160;"/>
543
+ <text variable="DOI" prefix="&lt;&#160;" suffix="&#160;&gt;"/>
544
+ </group>
545
+ </group>
546
+ </macro>
547
+ <macro name="access">
548
+ <group>
549
+ <text term="accessed" prefix="["/>
550
+ <date variable="accessed">
551
+ <date-part name="day" suffix=" "/>
552
+ <date-part name="month" suffix=" " text-case="lowercase"/>
553
+ <date-part name="year" suffix="]"/>
554
+ </date>
555
+ </group>
556
+ </macro>
557
+ <macro name="locator-refs">
558
+ <group prefix=", ">
559
+ <label variable="locator" form="short" suffix="&#160;"/>
560
+ <text variable="locator"/>
561
+ </group>
562
+ </macro>
563
+ <macro name="publication-title">
564
+ <!-- SI LA ZONE PUBLICATION EST LA PREMIERE RENSEIGNEE, L'ITEM EST UN PERIODIQUE, SINON C'EST UN ARTICLE DE PERIODIQUE -->
565
+ <choose>
566
+ <if variable="author editor translator title" match="none">
567
+ <text variable="container-title" font-style="italic" suffix=". "/>
568
+ </if>
569
+ <else>
570
+ <text variable="container-title" font-style="italic" suffix=", "/>
571
+ </else>
572
+ </choose>
573
+ </macro>
574
+ <macro name="contributors-sort">
575
+ <names variable="author">
576
+ <name name-as-sort-order="all" form="long" delimiter=", " delimiter-precedes-last="always" sort-separator=" "/>
577
+ <label form="short" prefix=", (" suffix=".)" strip-periods="false"/>
578
+ <substitute>
579
+ <names variable="editor"/>
580
+ <names variable="translator"/>
581
+ <text macro="title"/>
582
+ <text macro="publication-title"/>
583
+ </substitute>
584
+ </names>
585
+ </macro>
586
+ <!-- SECTION NOTES -->
587
+ <citation et-al-min="3" et-al-use-first="3" et-al-subsequent-min="3" et-al-subsequent-use-first="3" disambiguate-add-names="true">
588
+ <layout suffix=".">
589
+ <choose>
590
+ <if position="first">
591
+ <text macro="contributors-notes" font-variant="normal" suffix=", "/>
592
+ <choose>
593
+ <if type="thesis">
594
+ <group delimiter=", ">
595
+ <text macro="title-note"/>
596
+ <text variable="genre"/>
597
+ <text macro="publisher-book-note"/>
598
+ </group>
599
+ </if>
600
+ <else-if type="interview">
601
+ <group delimiter=", ">
602
+ <text macro="title-note"/>
603
+ <text macro="interview-note"/>
604
+ </group>
605
+ </else-if>
606
+ <else-if type="broadcast">
607
+ <group delimiter=", ">
608
+ <text macro="title-note"/>
609
+ <text macro="broadcast"/>
610
+ </group>
611
+ </else-if>
612
+ <else-if type="webpage">
613
+ <group delimiter=", ">
614
+ <text macro="title-note"/>
615
+ <text macro="webpage"/>
616
+ </group>
617
+ </else-if>
618
+ <else-if type="article-newspaper">
619
+ <group delimiter=", ">
620
+ <text macro="title-note"/>
621
+ <text macro="translator-note" text-case="capitalize-first"/>
622
+ <text macro="article-newspaper-note"/>
623
+ </group>
624
+ </else-if>
625
+ <else-if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
626
+ <group delimiter=", ">
627
+ <text macro="title-note"/>
628
+ <text macro="translator-note" text-case="capitalize-first"/>
629
+ <text macro="publication-note"/>
630
+ </group>
631
+ </else-if>
632
+ <else-if type="chapter paper-conference" match="any">
633
+ <group delimiter=", ">
634
+ <text macro="title-note"/>
635
+ <text macro="translator-note" text-case="capitalize-first"/>
636
+ <text macro="container-contributors-note"/>
637
+ <text macro="volume" text-case="capitalize-first"/>
638
+ <text variable="edition" text-case="capitalize-first"/>
639
+ <text macro="publisher-chapter-note"/>
640
+ </group>
641
+ </else-if>
642
+ <else-if type="report">
643
+ <group delimiter=", ">
644
+ <text macro="title-note"/>
645
+ <text macro="translator-note" text-case="capitalize-first"/>
646
+ <text macro="publisher-report-note"/>
647
+ <text macro="report"/>
648
+ </group>
649
+ </else-if>
650
+ <!-- LE TRAITEMENT CI-DESSOUS EST CELUI DES LIVRES -->
651
+ <!-- IL SERA APPLIQUE AUX TYPES NON TRAITES PAR LES CAS PRECEDENTS -->
652
+ <else>
653
+ <group delimiter=", ">
654
+ <text macro="title-note"/>
655
+ <text macro="volume" text-case="capitalize-first"/>
656
+ <text macro="translator-note" text-case="capitalize-first"/>
657
+ <text macro="editor-note" text-case="capitalize-first"/>
658
+ <text variable="edition" text-case="capitalize-first"/>
659
+ <text macro="publisher-book-note"/>
660
+ </group>
661
+ </else>
662
+ </choose>
663
+ <text macro="locator-refs"/>
664
+ </if>
665
+ <else-if position="ibid-with-locator">
666
+ <group>
667
+ <text term="ibid" form="short" font-style="italic"/>
668
+ <text macro="locator-refs"/>
669
+ </group>
670
+ </else-if>
671
+ <else-if position="ibid">
672
+ <text term="ibid" form="short" font-style="italic" text-case="capitalize-first"/>
673
+ </else-if>
674
+ <else-if position="subsequent">
675
+ <group delimiter=", ">
676
+ <text macro="contributors-short" font-variant="normal"/>
677
+ <text macro="title-short"/>
678
+ </group>
679
+ <group delimiter=". ">
680
+ <choose>
681
+ <if type="interview">
682
+ <text macro="interview-short"/>
683
+ </if>
684
+ <else-if type="article-newspaper">
685
+ <text macro="article-newspaper-short"/>
686
+ </else-if>
687
+ <else-if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
688
+ <text macro="publication-short"/>
689
+ </else-if>
690
+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
691
+ <text macro="volume"/>
692
+ </else-if>
693
+ </choose>
694
+ </group>
695
+ <!-- AJOUT TRAITEMENT POUR EVITER opus cité POUR LES CITATIONS DE PARTIES DE LIVRES ABSENTES DE LA BIBLIOGRAPHIE -->
696
+ <choose>
697
+ <if type="book" match="none">
698
+ <text value=", op.&#160;cit." font-style="italic"/>
699
+ </if>
700
+ <else>
701
+ <choose>
702
+ <if variable="publisher-place publisher issued number-of-pages number-of-volumes" match="any">
703
+ <text value=", op.&#160;cit." font-style="italic"/>
704
+ </if>
705
+ </choose>
706
+ </else>
707
+ </choose>
708
+ <text macro="locator-refs"/>
709
+ </else-if>
710
+ </choose>
711
+ </layout>
712
+ </citation>
713
+ <!-- SECTION BIBLIOGRAPHIE -->
714
+ <bibliography hanging-indent="true" et-al-min="3" et-al-use-first="3" subsequent-author-substitute="———" entry-spacing="1">
715
+ <sort>
716
+ <key macro="contributors-sort"/>
717
+ <key variable="title"/>
718
+ <key variable="issued"/>
719
+ <key variable="issue"/>
720
+ <key variable="volume"/>
721
+ </sort>
722
+ <layout suffix=".">
723
+ <text macro="contributors" suffix=", "/>
724
+ <choose>
725
+ <if type="thesis">
726
+ <group delimiter=", ">
727
+ <text macro="title"/>
728
+ <text variable="genre"/>
729
+ <text macro="publisher-book"/>
730
+ </group>
731
+ </if>
732
+ <else-if type="interview">
733
+ <group delimiter=", ">
734
+ <text macro="title"/>
735
+ <text macro="interview"/>
736
+ </group>
737
+ </else-if>
738
+ <else-if type="broadcast">
739
+ <group delimiter=", ">
740
+ <text macro="title"/>
741
+ <text macro="broadcast"/>
742
+ </group>
743
+ </else-if>
744
+ <else-if type="webpage">
745
+ <group delimiter=", ">
746
+ <text macro="title"/>
747
+ <text macro="webpage"/>
748
+ </group>
749
+ </else-if>
750
+ <else-if type="article-newspaper">
751
+ <group delimiter=", ">
752
+ <text macro="title"/>
753
+ <text macro="translator" text-case="capitalize-first"/>
754
+ <text macro="article-newspaper"/>
755
+ </group>
756
+ </else-if>
757
+ <else-if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
758
+ <group delimiter=", ">
759
+ <text macro="title"/>
760
+ <text macro="translator" text-case="capitalize-first"/>
761
+ <text macro="publication"/>
762
+ </group>
763
+ </else-if>
764
+ <else-if type="chapter paper-conference" match="any">
765
+ <group delimiter=", ">
766
+ <text macro="title"/>
767
+ <text macro="translator" text-case="capitalize-first"/>
768
+ <text macro="container-contributors"/>
769
+ <text macro="volume"/>
770
+ <text variable="edition" text-case="capitalize-first"/>
771
+ <text macro="publisher-chapter"/>
772
+ <text macro="collection"/>
773
+ </group>
774
+ </else-if>
775
+ <else-if type="report">
776
+ <group delimiter=", ">
777
+ <text macro="title"/>
778
+ <text macro="translator" text-case="capitalize-first"/>
779
+ <text macro="publisher-report"/>
780
+ <text macro="collection"/>
781
+ <text macro="report"/>
782
+ </group>
783
+ </else-if><!-- LE TRAITEMENT CI-DESSOUS EST CELUI DES LIVRES --><!-- IL SERA APPLIQUE AUX TYPES NON TRAITES PAR LES CAS PRECEDENTS -->
784
+ <else>
785
+ <group delimiter=", ">
786
+ <text macro="title"/>
787
+ <text macro="volume"/>
788
+ <text macro="translator" text-case="capitalize-first"/>
789
+ <text macro="editor" text-case="capitalize-first"/>
790
+ <text variable="edition" text-case="capitalize-first"/>
791
+ <text macro="publisher-book"/>
792
+ <text macro="collection"/>
793
+ </group>
794
+ </else>
795
+ </choose>
796
+ <group>
797
+ <text variable="note" prefix=", " text-case="capitalize-first"/>
798
+ <text macro="url-doi" prefix=", "/>
799
+ <text macro="access" prefix=" "/>
800
+ <text variable="ISBN" prefix=", ISBN&#160;"/>
801
+ </group>
802
+ </layout>
803
+ </bibliography>
804
+ </style>
805
+
806
+
807
+ """
808
+ And the following input:
809
+ """
810
+ [{"author":[{"family":"Doe","given":"John"}],"container-title":"His Anonymous Life","editor":[{"family":"Roe","given":"Jane"}],"id":"ITEM-1","issued":{"date-parts":[["1965","6","1"]]},"title":"His Anonymous Life","type":"chapter"}]
811
+ """
812
+ When I render the entire bibliography
813
+ Then the bibliography should be:
814
+ """
815
+ <div class="csl-bib-body">
816
+ <div class="csl-entry"><span style="font-variant:small-caps;">Doe</span> John, « His Anonymous Life », <i>in</i> Jane Roe, (éd.). <i>His Anonymous Life</i>, 1 juin 1965.</div>
817
+ </div>
818
+ """