citeproc 1.0.7 → 1.0.8

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