citeproc 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +19 -13
- data/Rakefile +7 -3
- data/features/affix/InterveningEmpty.feature +52 -0
- data/features/affix/PrefixFullCitationTextOnly.feature +41 -0
- data/features/affix/PrefixWithDecorations.feature +41 -0
- data/features/affix/SuppressDelimiterCharsWhenFullStopInSuffix.feature +410 -0
- data/features/affix/TextNodeWithMacro.feature +40 -0
- data/features/affix/WithCommas.feature +987 -0
- data/features/affix/WordProcessorAffixNoSpace.feature +41 -0
- data/features/api/SuppressAuthor.feature +48 -0
- data/features/api/UpdateItemsDelete.feature +44 -0
- data/features/api/UpdateItemsDeleteDecrementsByCiteDisambiguation.feature +46 -0
- data/features/api/UpdateItemsReshuffle.feature +44 -0
- data/features/bibheader/EntryspacingDefaultValueOne.feature +37 -0
- data/features/bibheader/EntryspacingExplicitValueZero.feature +38 -0
- data/features/bibheader/SecondFieldAlign.feature +38 -0
- data/features/bibheader/SecondFieldAlignWithAuthor.feature +40 -0
- data/features/bibheader/SecondFieldAlignWithNumber.feature +44 -0
- data/features/bibsection/Exclude.feature +47 -0
- data/features/bibsection/Include.feature +47 -0
- data/features/bibsection/Quash.feature +48 -0
- data/features/bibsection/Select.feature +47 -0
- data/features/bugreports/Abnt.feature +59 -0
- data/features/bugreports/AccidentalAllCaps.feature +813 -0
- data/features/bugreports/AllCapsLeakage.feature +818 -0
- data/features/bugreports/ApostropheOnParticle.feature +35 -0
- data/features/bugreports/AsaSpacing.feature +49 -0
- data/features/bugreports/AsmJournals.feature +153 -0
- data/features/bugreports/AuthorYear.feature +343 -0
- data/features/bugreports/AutomaticallyDeleteItemsFails.feature +154 -0
- data/features/bugreports/BadCitationUpdate.feature +39 -0
- data/features/bugreports/BrokenInstitutionalName.feature +390 -0
- data/features/bugreports/ChicagoAuthorDateLooping.feature +388 -0
- data/features/bugreports/ChineseCharactersFamilyOnlyPluralLabel.feature +36 -0
- data/features/bugreports/CitationSortsWithEtAl.feature +74 -0
- data/features/bugreports/CollapseFailure.feature +72 -0
- data/features/bugreports/ContainerTitleShort.feature +45 -0
- data/features/bugreports/ContentPunctuationDuplicate1.feature +40 -0
- data/features/bugreports/ContextualPluralWithMainItemFields.feature +34 -0
- data/features/bugreports/CreepingAddNames.feature +223 -0
- data/features/bugreports/DelimiterBug.feature +984 -0
- data/features/bugreports/DelimitersOnLocator.feature +322 -0
- data/features/bugreports/DemoPageFullCiteCruftOnSubsequent.feature +711 -0
- data/features/bugreports/DisambiguationAddNames.feature +233 -0
- data/features/bugreports/DisambiguationAddNamesBibliography.feature +235 -0
- data/features/bugreports/DroppingGroupDelimiterSpace.feature +37 -0
- data/features/bugreports/DuplicateSpaces.feature +151 -0
- data/features/bugreports/DuplicateSpaces2.feature +333 -0
- data/features/bugreports/DuplicateSpaces3.feature +200 -0
- data/features/bugreports/DuplicateTerminalPunctuationInBibliography.feature +227 -0
- data/features/bugreports/EmptyIfMatchNoneFail.feature +38 -0
- data/features/bugreports/EtAlSubsequent.feature +41 -0
- data/features/bugreports/FourAndFour.feature +715 -0
- data/features/bugreports/FrenchApostrophe.feature +34 -0
- data/features/bugreports/GreekStyleProblems.feature +1201 -0
- data/features/bugreports/GreekStyleTwoEditors.feature +1201 -0
- data/features/bugreports/IeeePunctuation.feature +151 -0
- data/features/bugreports/LabelsOutOfPlace.feature +715 -0
- data/features/bugreports/MovePunctuationInsideQuotesForLocator.feature +714 -0
- data/features/bugreports/NoEventInNestedMacroWithOldProcessor.feature +120 -0
- data/features/bugreports/NoTitle.feature +346 -0
- data/features/bugreports/NumberAffixEscape.feature +35 -0
- data/features/bugreports/NumberInMacroWithVerticalAlign.feature +36 -0
- data/features/bugreports/NumericStyleFirstRefMultipleCiteFailure.feature +148 -0
- data/features/bugreports/OldMhraDisambiguationFailure.feature +411 -0
- data/features/bugreports/ProcessorHang1.feature +209 -0
- data/features/bugreports/SingleQuote.feature +151 -0
- data/features/bugreports/SingletonIfMatchNoneFail.feature +38 -0
- data/features/bugreports/SortSecondaryKey.feature +233 -0
- data/features/bugreports/SortSecondaryKeyBibliography.feature +235 -0
- data/features/bugreports/SortedIeeeItalicsFail.feature +296 -0
- data/features/bugreports/ThesisUniversityAppearsTwice.feature +715 -0
- data/features/bugreports/TitleCase.feature +33 -0
- data/features/bugreports/TwoCitesPlusOneBackref.feature +963 -0
- data/features/bugreports/TwoFullStops.feature +394 -0
- data/features/bugreports/UndefinedInName.feature +199 -0
- data/features/bugreports/UndefinedInName2.feature +184 -0
- data/features/bugreports/UndefinedInName3.feature +351 -0
- data/features/bugreports/UndefinedNotString.feature +144 -0
- data/features/bugreports/UndefinedStr.feature +151 -0
- data/features/bugreports/UnisaHarvardInitialization.feature +62 -0
- data/features/bugreports/YearSuffixInHarvard1.feature +205 -0
- data/features/bugreports/YearSuffixLingers.feature +55 -0
- data/features/bugreports/disambiguate.feature +343 -0
- data/features/bugreports/ikeyOne.feature +277 -0
- data/features/bugreports/parenthesis.feature +333 -0
- data/features/bugreports/parseName.feature +46 -0
- data/features/bugreports/undefinedCrash.feature +150 -0
- data/features/collapse/AuthorCollapse.feature +41 -0
- data/features/collapse/AuthorCollapseDifferentAuthorsOneWithEtAl.feature +43 -0
- data/features/collapse/AuthorCollapseNoDate.feature +41 -0
- data/features/collapse/AuthorCollapseNoDateSorted.feature +45 -0
- data/features/collapse/CitationNumberRangesInsert.feature +39 -0
- data/features/collapse/CitationNumberRangesMixed.feature +39 -0
- data/features/collapse/CitationNumberRangesMixed2.feature +39 -0
- data/features/collapse/CitationNumberRangesMixed3.feature +39 -0
- data/features/collapse/CitationNumberRangesOneOnly.feature +41 -0
- data/features/collapse/CitationNumberRangesWithAffixes.feature +35 -0
- data/features/collapse/CitationNumberRangesWithAffixesGrouped.feature +51 -0
- data/features/collapse/CitationNumberRangesWithAffixesGroupedLocator.feature +51 -0
- data/features/collapse/CitationNumberRangesWithAffixesNoCollapse.feature +36 -0
- data/features/collapse/NumericDuplicate.feature +37 -0
- data/features/collapse/NumericDuplicate2.feature +34 -0
- data/features/collapse/TrailingDelimiter.feature +57 -0
- data/features/collapse/YearSuffixCollapse.feature +46 -0
- data/features/collapse/YearSuffixCollapseNoRange.feature +46 -0
- data/features/collapse/YearSuffixCollapseNoYearSuffixDelimiter.feature +45 -0
- data/features/collapse/YearSuffixImplicitCollapseNoYearSuffixDelimiter.feature +44 -0
- data/features/condition/EmptyDate.feature +42 -0
- data/features/condition/EmptyIsNumericFalse.feature +40 -0
- data/features/condition/EmptyIsUncertainDateFalse.feature +40 -0
- data/features/condition/EmptyShortTitleFalse.feature +40 -0
- data/features/condition/FirstNullAny.feature +38 -0
- data/features/condition/IsNumeric.feature +49 -0
- data/features/condition/LocatorIsFalse.feature +50 -0
- data/features/condition/MatchAll.feature +43 -0
- data/features/condition/NameAndTextVars.feature +56 -0
- data/features/condition/NumberIsNumeric.feature +40 -0
- data/features/condition/NumeralIsNumeric.feature +40 -0
- data/features/condition/NumeralWithTextIsNumeric.feature +40 -0
- data/features/condition/RefTypeBranching.feature +119 -0
- data/features/condition/SingletonIfMatchNone.feature +41 -0
- data/features/condition/TextIsNotNumeric.feature +40 -0
- data/features/condition/VariableAll.feature +41 -0
- data/features/condition/VariableAny.feature +41 -0
- data/features/condition/VariableNone.feature +41 -0
- data/features/date/Accessed.feature +33 -0
- data/features/date/DateAD.feature +37 -0
- data/features/date/DateBC.feature +37 -0
- data/features/date/DateNoDateNoTest.feature +37 -0
- data/features/date/DateNoDateWithTest.feature +45 -0
- data/features/date/DayOrdinalDayOneOnly.feature +44 -0
- data/features/date/IgnoreNonexistentSort.feature +37 -0
- data/features/date/InPress.feature +38 -0
- data/features/date/January.feature +33 -0
- data/features/date/KeyVariable.feature +46 -0
- data/features/date/LiteralFailGracefullyIfNoValue.feature +38 -0
- data/features/date/LocalizedDateFormats-af-ZA.feature +57 -0
- data/features/date/LocalizedDateFormats-ar-AR.feature +57 -0
- data/features/date/LocalizedDateFormats-bg-BG.feature +57 -0
- data/features/date/LocalizedDateFormats-ca-AD.feature +57 -0
- data/features/date/LocalizedDateFormats-cs-CZ.feature +57 -0
- data/features/date/LocalizedDateFormats-da-DK.feature +57 -0
- data/features/date/LocalizedDateFormats-de-AT.feature +57 -0
- data/features/date/LocalizedDateFormats-de-CH.feature +57 -0
- data/features/date/LocalizedDateFormats-de-DE.feature +57 -0
- data/features/date/LocalizedDateFormats-el-GR.feature +57 -0
- data/features/date/LocalizedDateFormats-en-US.feature +57 -0
- data/features/date/LocalizedDateFormats-es-ES.feature +57 -0
- data/features/date/LocalizedDateFormats-et-EE.feature +57 -0
- data/features/date/LocalizedDateFormats-fr-FR.feature +57 -0
- data/features/date/LocalizedDateFormats-he-IL.feature +57 -0
- data/features/date/LocalizedDateFormats-hu-HU.feature +57 -0
- data/features/date/LocalizedDateFormats-is-IS.feature +57 -0
- data/features/date/LocalizedDateFormats-it-IT.feature +57 -0
- data/features/date/LocalizedDateFormats-ja-JP.feature +57 -0
- data/features/date/LocalizedDateFormats-kh-KH.feature +46 -0
- data/features/date/LocalizedDateFormats-ko-KR.feature +57 -0
- data/features/date/LocalizedDateFormats-mn-MN.feature +57 -0
- data/features/date/LocalizedDateFormats-nb-NO.feature +57 -0
- data/features/date/LocalizedDateFormats-nl-NL.feature +57 -0
- data/features/date/LocalizedDateFormats-pl-PL.feature +57 -0
- data/features/date/LocalizedDateFormats-pt-BR.feature +57 -0
- data/features/date/LocalizedDateFormats-pt-PT.feature +57 -0
- data/features/date/LocalizedDateFormats-ro-RO.feature +57 -0
- data/features/date/LocalizedDateFormats-ru-RU.feature +57 -0
- data/features/date/LocalizedDateFormats-sk-SK.feature +57 -0
- data/features/date/LocalizedDateFormats-sl-SL.feature +57 -0
- data/features/date/LocalizedDateFormats-sr-RS.feature +57 -0
- data/features/date/LocalizedDateFormats-sv-SE.feature +57 -0
- data/features/date/LocalizedDateFormats-th-TH.feature +57 -0
- data/features/date/LocalizedDateFormats-tr-TR.feature +57 -0
- data/features/date/LocalizedDateFormats-uk-UA.feature +57 -0
- data/features/date/LocalizedDateFormats-vi-VN.feature +57 -0
- data/features/date/LocalizedDateFormats-zh-CN.feature +57 -0
- data/features/date/LocalizedDateFormats-zh-TW.feature +57 -0
- data/features/date/LocalizedNumericDefault.feature +33 -0
- data/features/date/LocalizedNumericDefaultMissingDay.feature +33 -0
- data/features/date/LocalizedNumericDefaultWithAffixes.feature +33 -0
- data/features/date/LocalizedNumericYear.feature +33 -0
- data/features/date/LocalizedNumericYearMonth.feature +33 -0
- data/features/date/LocalizedNumericYearRange.feature +33 -0
- data/features/date/LocalizedNumericYearWithAffixes.feature +33 -0
- data/features/date/LocalizedTextDefault.feature +33 -0
- data/features/date/LocalizedTextDefaultMissingDay.feature +33 -0
- data/features/date/LocalizedTextDefaultWithAffixes.feature +33 -0
- data/features/date/LocalizedTextInStyleLocaleWithTextCase.feature +42 -0
- data/features/date/LocalizedTextMonthFormOverride.feature +35 -0
- data/features/date/LocalizedTextYear.feature +33 -0
- data/features/date/LocalizedTextYearMonth.feature +33 -0
- data/features/date/LocalizedTextYearWithAffixes.feature +33 -0
- data/features/date/LocalizedWithInStyleFormatting.feature +35 -0
- data/features/date/LoneJapaneseMonth.feature +33 -0
- data/features/date/LongMonth.feature +37 -0
- data/features/date/LopsidedDataYearSuffixCollapse.feature +43 -0
- data/features/date/MaskNonexistentWithCondition.feature +42 -0
- data/features/date/NegativeDateSort.feature +40 -0
- data/features/date/NegativeDateSortViaMacro.feature +43 -0
- data/features/date/NegativeDateSortViaMacroOnYearMonthOnly.feature +53 -0
- data/features/date/NoDate.feature +45 -0
- data/features/date/NonexistentSortReverseBibliography.feature +47 -0
- data/features/date/NonexistentSortReverseCitation.feature +37 -0
- data/features/date/OtherAlone.feature +37 -0
- data/features/date/OtherWithDate.feature +37 -0
- data/features/date/RawParseSimpleDate.feature +37 -0
- data/features/date/RawSeasonRange1.feature +33 -0
- data/features/date/RawSeasonRange2.feature +33 -0
- data/features/date/RawSeasonRange3.feature +33 -0
- data/features/date/SeasonSubstituteInGroup.feature +38 -0
- data/features/date/SortEmptyDatesBibliography.feature +53 -0
- data/features/date/SortEmptyDatesCitation.feature +42 -0
- data/features/date/String.feature +36 -0
- data/features/date/TextFormFulldateDayRange.feature +37 -0
- data/features/date/TextFormFulldateMonthRange.feature +37 -0
- data/features/date/TextFormFulldateYearRange.feature +37 -0
- data/features/date/TextFormMonthdateMonthRange.feature +37 -0
- data/features/date/TextFormMonthdateYearRange.feature +37 -0
- data/features/date/TextFormYeardateYearRange.feature +37 -0
- data/features/date/TextFormYeardateYearRangeOpen.feature +37 -0
- data/features/date/Uncertain.feature +42 -0
- data/features/date/VariousInvalidDates.feature +37 -0
- data/features/date/YearSuffixDelimiter.feature +44 -0
- data/features/date/YearSuffixImplicitWithNoDate.feature +54 -0
- data/features/date/YearSuffixImplicitWithNoDateOneOnly.feature +54 -0
- data/features/date/YearSuffixWithNoDate.feature +54 -0
- data/features/decorations/AndTermUnaffectedByNameDecorations.feature +38 -0
- data/features/decorations/Baseline.feature +48 -0
- data/features/decorations/NestedQuotes.feature +33 -0
- data/features/decorations/NestedQuotesInnerReverse.feature +33 -0
- data/features/decorations/NoNormalWithoutDecoration.feature +41 -0
- data/features/decorations/SimpleFlipFlop.feature +33 -0
- data/features/decorations/SimpleQuotes.feature +33 -0
- data/features/disambiguate/AddNamesFailure.feature +43 -0
- data/features/disambiguate/AddNamesFailureWithAddGivenname.feature +44 -0
- data/features/disambiguate/AddNamesSuccess.feature +43 -0
- data/features/disambiguate/AllNamesBaseNameCountOnFailureIfYearSuffixAvailable.feature +55 -0
- data/features/disambiguate/AllNamesGenerally.feature +44 -0
- data/features/disambiguate/AllNamesSimpleSequence.feature +42 -0
- data/features/disambiguate/AllNamesWithInitialsGenerally.feature +44 -0
- data/features/disambiguate/AndreaEg1a.feature +47 -0
- data/features/disambiguate/AndreaEg1b.feature +48 -0
- data/features/disambiguate/AndreaEg1c.feature +47 -0
- data/features/disambiguate/AndreaEg2.feature +49 -0
- data/features/disambiguate/AndreaEg3.feature +50 -0
- data/features/disambiguate/AndreaEg4.feature +52 -0
- data/features/disambiguate/AndreaEg5.feature +53 -0
- data/features/disambiguate/BasedOnEtAlSubsequent.feature +44 -0
- data/features/disambiguate/BasedOnSubsequentFormWithBackref.feature +63 -0
- data/features/disambiguate/BasedOnSubsequentFormWithLocator.feature +67 -0
- data/features/disambiguate/ByCiteBaseNameCountOnFailureIfYearSuffixAvailable.feature +47 -0
- data/features/disambiguate/ByCiteDisambiguateCondition.feature +54 -0
- data/features/disambiguate/ByCiteGivennameExpandCrossNestedNames.feature +40 -0
- data/features/disambiguate/ByCiteGivennameNoShortFormInitializeWith.feature +39 -0
- data/features/disambiguate/ByCiteGivennameShortFormInitializeWith.feature +40 -0
- data/features/disambiguate/ByCiteGivennameShortFormNoInitializeWith.feature +39 -0
- data/features/disambiguate/ByCiteIncremental1.feature +355 -0
- data/features/disambiguate/ByCiteIncremental2.feature +352 -0
- data/features/disambiguate/ByCiteIsDefault.feature +250 -0
- data/features/disambiguate/ByCiteMinimalGivennameExpandMinimalNames.feature +48 -0
- data/features/disambiguate/ByCiteRetainNamesOnFailureIfYearSuffixNotAvailable.feature +46 -0
- data/features/disambiguate/ByCiteTwoAuthorsSameCite.feature +38 -0
- data/features/disambiguate/ByCiteTwoAuthorsSameFamilyName.feature +44 -0
- data/features/disambiguate/CitationLabelDefault.feature +34 -0
- data/features/disambiguate/CitationLabelInData.feature +34 -0
- data/features/disambiguate/DifferentSpacingInInitials.feature +40 -0
- data/features/disambiguate/DisambiguateTrueAndYearSuffixOne.feature +220 -0
- data/features/disambiguate/DisambiguateTrueAndYearSuffixTwo.feature +220 -0
- data/features/disambiguate/DisambiguateWithThree.feature +48 -0
- data/features/disambiguate/DisambiguateWithThree2.feature +91 -0
- data/features/disambiguate/DisambiguationHang.feature +48 -0
- data/features/disambiguate/ExtraTextCitation.feature +44 -0
- data/features/disambiguate/FailWithYearSuffix.feature +390 -0
- data/features/disambiguate/FamilyNameOnly.feature +43 -0
- data/features/disambiguate/HonorFullnameInBibliography.feature +49 -0
- data/features/disambiguate/ImplicitYearSuffixOnceOnly.feature +56 -0
- data/features/disambiguate/IncrementalExtraText.feature +55 -0
- data/features/disambiguate/InitializeWithButNoDisambiguation.feature +292 -0
- data/features/disambiguate/LastOnlyFailWithByCite.feature +49 -0
- data/features/disambiguate/NoTextElementUsesYearSuffixVariable.feature +39 -0
- data/features/disambiguate/PrimaryNameGenerally.feature +42 -0
- data/features/disambiguate/PrimaryNameWithInitialsLimitedToPrimary.feature +46 -0
- data/features/disambiguate/SetsOfNames.feature +205 -0
- data/features/disambiguate/SkipAccessedYearSuffix.feature +258 -0
- data/features/disambiguate/ThreeNoAuthorNoTitleEntries.feature +63 -0
- data/features/disambiguate/ToInitialOnly.feature +39 -0
- data/features/disambiguate/Trigraph.feature +36 -0
- data/features/disambiguate/YearCollapseWithInstitution.feature +51 -0
- data/features/disambiguate/YearSuffixAndSort.feature +50 -0
- data/features/disambiguate/YearSuffixAtTwoLevels.feature +45 -0
- data/features/disambiguate/YearSuffixFiftyTwoEntries.feature +48 -0
- data/features/disambiguate/YearSuffixFiftyTwoEntriesByCite.feature +48 -0
- data/features/disambiguate/YearSuffixMacroSameYearExplicit.feature +45 -0
- data/features/disambiguate/YearSuffixMacroSameYearImplicit.feature +42 -0
- data/features/disambiguate/YearSuffixMidInsert.feature +391 -0
- data/features/disambiguate/YearSuffixMixedDates.feature +52 -0
- data/features/disambiguate/YearSuffixTwoPairsBibliography.feature +63 -0
- data/features/disambiguate/YearSuffixTwoPairsFirstNameBibliography.feature +65 -0
- data/features/disambiguate/YearSuffixTwoPairsFullNamesBibliography.feature +63 -0
- data/features/disambiguate/YearSuffixWithEtAlSubequent.feature +51 -0
- data/features/disambiguate/YearSuffixWithMixedCreatorTypes.feature +53 -0
- data/features/discretionary/AuthorDateAuthorOnlyThenSuppressAuthor.feature +46 -0
- data/features/discretionary/AuthorOnly.feature +42 -0
- data/features/discretionary/CitationNumberAuthorOnlyThenSuppressAuthor.feature +41 -0
- data/features/discretionary/CitationNumberSuppressAuthor.feature +40 -0
- data/features/discretionary/SuppressAuthorSolo.feature +45 -0
- data/features/discretionary/SuppressEditorSolo.feature +45 -0
- data/features/discretionary/SuppressEditorSubstitute.feature +45 -0
- data/features/discretionary/SuppressMultipleAuthors.feature +45 -0
- data/features/display/AuthorAsHeading.feature +80 -0
- data/features/display/DisplayBlock.feature +54 -0
- data/features/display/SecondFieldAlignClone.feature +65 -0
- data/features/display/SecondFieldAlignMigratePunctuation.feature +154 -0
- data/features/etal/ShortFormOfName.feature +38 -0
- data/features/etal/UseZeroFirst.feature +47 -0
- data/features/flipflop/Apostrophes.feature +1064 -0
- data/features/flipflop/BoldfaceNodeLevelMarkup.feature +33 -0
- data/features/flipflop/ItalicsFlipped.feature +35 -0
- data/features/flipflop/ItalicsSimple.feature +39 -0
- data/features/flipflop/ItalicsWithOk.feature +48 -0
- data/features/flipflop/ItalicsWithOkAndTextcase.feature +48 -0
- data/features/flipflop/LeadingSingleQuote.feature +33 -0
- data/features/flipflop/QuotesInFieldNotOnNode.feature +33 -0
- data/features/flipflop/QuotesNodeLevelMarkup.feature +40 -0
- data/features/flipflop/SingleQuotesOnItalics.feature +33 -0
- data/features/flipflop/SmallCaps.feature +36 -0
- data/features/flipflop/StartingApostrophe.feature +33 -0
- data/features/form/TitleShort.feature +33 -0
- data/features/form/TitleShortNoLong.feature +33 -0
- data/features/form/TitleTestNoLongFalse.feature +40 -0
- data/features/fullstyles/ABdNT.feature +675 -0
- data/features/fullstyles/APA.feature +361 -0
- data/features/fullstyles/ChicagoArticleTitleQuestion.feature +390 -0
- data/features/fullstyles/ChicagoAuthorDateSimple.feature +394 -0
- data/features/fullstyles/ChicagoNoteWithBibliographyWithPublisher.feature +716 -0
- data/features/group/ComplexNesting.feature +397 -0
- data/features/group/ShortOutputOnly.feature +35 -0
- data/features/group/SuppressTermWhenNoOutputFromPartialDate.feature +39 -0
- data/features/group/SuppressValueWithEmptySubgroup.feature +46 -0
- data/features/group/SuppressWithEmptyNestedDateNode.feature +202 -0
- data/features/integration/CitationSort.feature +50 -0
- data/features/integration/CitationSortTwice.feature +51 -0
- data/features/integration/CrossCitationIbidOnInsert.feature +82 -0
- data/features/integration/DeleteName.feature +36 -0
- data/features/integration/DisambiguateAddGivenname1.feature +45 -0
- data/features/integration/DisambiguateAddGivenname2.feature +45 -0
- data/features/integration/DuplicateItem.feature +45 -0
- data/features/integration/DuplicateItem2.feature +45 -0
- data/features/integration/FirstReferenceNoteNumberPositionChange.feature +62 -0
- data/features/integration/IbidOnInsert.feature +50 -0
- data/features/integration/IbidWithDifferentLocators.feature +59 -0
- data/features/integration/SimpleFirstReferenceNoteNumber.feature +61 -0
- data/features/integration/SimpleIbid.feature +57 -0
- data/features/integration/SubsequentWhenInterveningFootnote.feature +51 -0
- data/features/integration/YearSuffixOnOffOn.feature +46 -0
- data/features/label/CollapsedPageNumberPluralDetection.feature +42 -0
- data/features/label/EditorTranslator1.feature +556 -0
- data/features/label/EmptyLabelVanish.feature +43 -0
- data/features/label/ImplicitForm.feature +36 -0
- data/features/label/NoFirstCharCapWithInTextClass.feature +38 -0
- data/features/label/NonexistentNameVariableLabel.feature +36 -0
- data/features/label/PageWithEmbeddedLabel.feature +35 -0
- data/features/label/PluralNumberOfVolumes.feature +36 -0
- data/features/label/PluralPagesWithAlphaPrefix.feature +37 -0
- data/features/locale/EffectOfStyleDefinition.feature +38 -0
- data/features/locale/EmptyDate.feature +41 -0
- data/features/locale/EmptyPlusOverrideDate.feature +48 -0
- data/features/locale/EmptyPlusOverrideStyleOpt.feature +39 -0
- data/features/locale/EmptyPlusOverrideTerm.feature +44 -0
- data/features/locale/EmptyStyleOpt.feature +36 -0
- data/features/locale/EmptyTerm.feature +39 -0
- data/features/locale/ForceEmptyAndOthersTerm.feature +41 -0
- data/features/locale/ForceEmptyEtAlTerm.feature +40 -0
- data/features/locale/NonExistentLocaleDef.feature +48 -0
- data/features/locale/OverloadWithEmptyString.feature +46 -0
- data/features/locale/PageRangeDelimiterTermDefined.feature +38 -0
- data/features/locale/PageRangeDelimiterTermFrenchUndef.feature +34 -0
- data/features/locale/PageRangeDelimiterTermUndefined.feature +33 -0
- data/features/locale/SpecificDate.feature +41 -0
- data/features/locale/SpecificStyleOpt.feature +36 -0
- data/features/locale/SpecificTerm.feature +39 -0
- data/features/locale/TermInSort.feature +77 -0
- data/features/locale/TitleCaseEmptyLangEmptyLocale.feature +33 -0
- data/features/locale/TitleCaseEmptyLangNonEnglishLocale.feature +34 -0
- data/features/locale/TitleCaseEnglishLangUpperEmptyLocale.feature +33 -0
- data/features/locale/TitleCaseGarbageLangEmptyLocale.feature +33 -0
- data/features/locale/TitleCaseGarbageLangEnglishLocale.feature +34 -0
- data/features/locale/TitleCaseGarbageLangNonEnglishLocale.feature +34 -0
- data/features/locale/TitleCaseNonEnglishLangUpperEmptyLocale.feature +33 -0
- data/features/locale/UnknownTerm.feature +34 -0
- data/features/locator/SimpleLocators.feature +46 -0
- data/features/locator/TermSelection.feature +40 -0
- data/features/locator/TrickyEntryForPlurals.feature +40 -0
- data/features/locator/WorkaroundTestForSubVerbo.feature +47 -0
- data/features/magic/AllowRepeatDateRenderings.feature +47 -0
- data/features/magic/CapitalizeFirstOccurringNameParticle.feature +35 -0
- data/features/magic/CapitalizeFirstOccurringTerm.feature +33 -0
- data/features/magic/CitationLabelInBibliography.feature +234 -0
- data/features/magic/CitationLabelInCitation.feature +224 -0
- data/features/magic/EntrySpacingDouble.feature +52 -0
- data/features/magic/HangingIndent.feature +52 -0
- data/features/magic/ImplicitYearSuffixDelimiter.feature +38 -0
- data/features/magic/ImplicitYearSuffixExplicitDelimiter.feature +52 -0
- data/features/magic/LineSpacingDouble.feature +52 -0
- data/features/magic/LineSpacingTripleStretch.feature +52 -0
- data/features/magic/NameParticle.feature +35 -0
- data/features/magic/NameSuffixNoComma.feature +35 -0
- data/features/magic/NameSuffixWithComma.feature +35 -0
- data/features/magic/NumberRangeEnglish.feature +33 -0
- data/features/magic/NumberRangeFrench.feature +34 -0
- data/features/magic/PunctuationInQuoteDefaultEnglishDelimiter.feature +41 -0
- data/features/magic/PunctuationInQuoteDefaultEnglishSuffix.feature +39 -0
- data/features/magic/PunctuationInQuoteDelimiterTrue.feature +44 -0
- data/features/magic/PunctuationInQuoteFalse.feature +44 -0
- data/features/magic/PunctuationInQuoteFalseSuppressExtra.feature +37 -0
- data/features/magic/PunctuationInQuoteNested.feature +47 -0
- data/features/magic/PunctuationInQuoteSuffixTrue.feature +42 -0
- data/features/magic/PunctuationInQuoteTrueSuppressExtra.feature +37 -0
- data/features/magic/QuotesAndBraces1.feature +36 -0
- data/features/magic/QuotesAndBraces2.feature +36 -0
- data/features/magic/SecondFieldAlign.feature +57 -0
- data/features/magic/StripPeriodsExcludeAffixes.feature +44 -0
- data/features/magic/StripPeriodsFalse.feature +34 -0
- data/features/magic/StripPeriodsTrue.feature +34 -0
- data/features/magic/StripPeriodsTrueShortForm.feature +46 -0
- data/features/magic/SubsequentAuthorSubstitute.feature +55 -0
- data/features/magic/SubsequentAuthorSubstituteNotFooled.feature +497 -0
- data/features/magic/SubsequentAuthorSubstituteOfTitleField.feature +55 -0
- data/features/magic/SuperscriptChars.feature +241 -0
- data/features/magic/SuppressDuplicateVariableRendering.feature +43 -0
- data/features/magic/SuppressExtraTerminalPunctuationAfterTerm.feature +410 -0
- data/features/magic/SuppressLayoutDelimiterIfPrefixComma.feature +34 -0
- data/features/magic/TermCapitalizationWithPrefix.feature +49 -0
- data/features/magic/TextRangeEnglish.feature +33 -0
- data/features/magic/TextRangeFrench.feature +34 -0
- data/features/name/AfterInvertedName.feature +42 -0
- data/features/name/AllCapsInitialsUntouched.feature +46 -0
- data/features/name/AndTextDelimiterPrecedesLastAlways.feature +35 -0
- data/features/name/ArticularNameAsSortOrder.feature +35 -0
- data/features/name/ArticularPlain.feature +35 -0
- data/features/name/ArticularShortForm.feature +35 -0
- data/features/name/ArticularShortFormCommaSuffix.feature +35 -0
- data/features/name/ArticularWithComma.feature +35 -0
- data/features/name/ArticularWithCommaNameAsSortOrder.feature +35 -0
- data/features/name/Asian.feature +35 -0
- data/features/name/AsianGlyphs.feature +35 -0
- data/features/name/AuthorCount.feature +39 -0
- data/features/name/AuthorCountWithMultipleVariables.feature +37 -0
- data/features/name/AuthorCountWithSameVarContentAndCombinedTermFail.feature +45 -0
- data/features/name/AuthorCountWithSameVarContentAndCombinedTermSucceed.feature +45 -0
- data/features/name/AuthorEditorCount.feature +37 -0
- data/features/name/CelticClanName.feature +35 -0
- data/features/name/CeltsAndToffsCrowdedInitials.feature +35 -0
- data/features/name/CeltsAndToffsNoHyphens.feature +36 -0
- data/features/name/CeltsAndToffsSpacedInitials.feature +35 -0
- data/features/name/CeltsAndToffsWithHyphens.feature +36 -0
- data/features/name/CollapseRoleLabels.feature +46 -0
- data/features/name/Delimiter.feature +37 -0
- data/features/name/EditorTranslatorBoth.feature +189 -0
- data/features/name/EditorTranslatorSameEmptyTerm.feature +41 -0
- data/features/name/EditorTranslatorSameWithTerm.feature +36 -0
- data/features/name/EditorTranslatorWithTranslatorOnly.feature +35 -0
- data/features/name/EditorTranslatorWithTranslatorOnlyBib.feature +189 -0
- data/features/name/EtAlUseLast.feature +47 -0
- data/features/name/FormattingOfParticles.feature +37 -0
- data/features/name/GreekSimple.feature +35 -0
- data/features/name/HebrewAnd.feature +40 -0
- data/features/name/HierarchicalDelimiter.feature +35 -0
- data/features/name/HyphenatedFirstName.feature +35 -0
- data/features/name/HyphenatedNonDroppingParticle1.feature +51 -0
- data/features/name/HyphenatedNonDroppingParticle2.feature +51 -0
- data/features/name/InheritAttributesEtAlStyle.feature +37 -0
- data/features/name/Institution.feature +35 -0
- data/features/name/InstitutionDecoration.feature +45 -0
- data/features/name/LabelAfterPlural.feature +36 -0
- data/features/name/LabelAfterPluralDecorations.feature +38 -0
- data/features/name/LongAbbreviation.feature +35 -0
- data/features/name/LowercaseSurnameSuffix.feature +35 -0
- data/features/name/MixedFormatsInitialSortOrderAllWithDecorationsEtAl.feature +39 -0
- data/features/name/MixedFormatsInitialSortOrderFirstWithDecorationsEtAl.feature +39 -0
- data/features/name/MixedFormatsInitialsWithDecorationsEtAl.feature +39 -0
- data/features/name/MixedFormatsPrimaryDecorations.feature +37 -0
- data/features/name/MixedFormatsWithDecorationsEtAl.feature +39 -0
- data/features/name/MixedFormatsWithDecorationsPlusAlternateEtAlDecorations.feature +40 -0
- data/features/name/MixedFormatsWithDecorationsPlusEtAlDecorations.feature +40 -0
- data/features/name/MultipleLiteral.feature +35 -0
- data/features/name/NoNameNode.feature +33 -0
- data/features/name/NonDroppingParticleDefault.feature +35 -0
- data/features/name/OnlyFamilyname.feature +35 -0
- data/features/name/OnlyGivenname.feature +35 -0
- data/features/name/OverridingHierarchicalDelimiter.feature +36 -0
- data/features/name/ParseNames.feature +39 -0
- data/features/name/ParsedCommaDelimitedDroppingParticleNormalOrderingWithAffixes.feature +38 -0
- data/features/name/ParsedCommaDelimitedDroppingParticleNormalOrderingWithoutAffixes.feature +36 -0
- data/features/name/ParsedCommaDelimitedDroppingParticleSortOrderingWithoutAffixes.feature +38 -0
- data/features/name/ParsedDroppingParticleWithAffixes.feature +39 -0
- data/features/name/ParsedDroppingParticleWithApostrophe.feature +38 -0
- data/features/name/ParsedNonDroppingParticleWithAffixes.feature +39 -0
- data/features/name/ParsedNonDroppingParticleWithApostrophe.feature +39 -0
- data/features/name/ParsedUpperCaseNonDroppingParticle.feature +39 -0
- data/features/name/ParticleCaps1.feature +40 -0
- data/features/name/ParticleCaps2.feature +46 -0
- data/features/name/ParticleCaps3.feature +47 -0
- data/features/name/ParticleFormatting.feature +38 -0
- data/features/name/ParticlesDemoteNonDroppingNever.feature +99 -0
- data/features/name/PeriodAfterInitials.feature +38 -0
- data/features/name/QuashOrdinaryVariableRenderedViaSubstitute.feature +39 -0
- data/features/name/RomanianTwo.feature +36 -0
- data/features/name/SemicolonWithAnd.feature +38 -0
- data/features/name/SplitInitials.feature +35 -0
- data/features/name/SubsequentAuthorSubstituteMultipleNames.feature +50 -0
- data/features/name/SubstituteInheritLabel.feature +44 -0
- data/features/name/SubstituteMacroInheritDecorations.feature +42 -0
- data/features/name/SubstituteName.feature +38 -0
- data/features/name/SubstituteOnDateGroupSpanFail.feature +45 -0
- data/features/name/SubstituteOnGroupSpanGroupSpanFail.feature +46 -0
- data/features/name/SubstituteOnMacroGroupSpanFail.feature +46 -0
- data/features/name/SubstituteOnNamesSingletonGroupSpanFail.feature +42 -0
- data/features/name/SubstituteOnNamesSpanGroupSpanFail.feature +44 -0
- data/features/name/SubstituteOnNamesSpanNamesSpanFail.feature +43 -0
- data/features/name/SubstituteOnNumberGroupSpanFail.feature +42 -0
- data/features/name/TwoRolesSameRenderingSeparateRoleLabels.feature +43 -0
- data/features/name/WesternArticularLowercase.feature +35 -0
- data/features/name/WesternPrimaryFontStyle.feature +37 -0
- data/features/name/WesternPrimaryFontStyleTwoAuthors.feature +37 -0
- data/features/name/WesternSimple.feature +35 -0
- data/features/name/WesternTwoAuthors.feature +35 -0
- data/features/name/namepartAffixes.feature +38 -0
- data/features/name/namepartAffixesNameAsSortOrder.feature +39 -0
- data/features/name/namepartAffixesNameAsSortOrderDemoteNonDroppingParticle.feature +39 -0
- data/features/nameattr/AndOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/AndOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/AndOnCitationInBibliography.feature +45 -0
- data/features/nameattr/AndOnCitationInCitation.feature +36 -0
- data/features/nameattr/AndOnNamesInBibliography.feature +42 -0
- data/features/nameattr/AndOnNamesInCitation.feature +35 -0
- data/features/nameattr/AndOnStyleInBibliography.feature +43 -0
- data/features/nameattr/AndOnStyleInCitation.feature +43 -0
- data/features/nameattr/DelimiterPrecedesEtAlOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/DelimiterPrecedesEtAlOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/DelimiterPrecedesEtAlOnCitationInBibliography.feature +45 -0
- data/features/nameattr/DelimiterPrecedesEtAlOnCitationInCitation.feature +36 -0
- data/features/nameattr/DelimiterPrecedesEtAlOnNamesInBibliography.feature +42 -0
- data/features/nameattr/DelimiterPrecedesEtAlOnNamesInCitation.feature +35 -0
- data/features/nameattr/DelimiterPrecedesEtAlOnStyleInBibliography.feature +43 -0
- data/features/nameattr/DelimiterPrecedesEtAlOnStyleInCitation.feature +36 -0
- data/features/nameattr/DelimiterPrecedesLastOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/DelimiterPrecedesLastOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/DelimiterPrecedesLastOnCitationInBibliography.feature +45 -0
- data/features/nameattr/DelimiterPrecedesLastOnCitationInCitation.feature +36 -0
- data/features/nameattr/DelimiterPrecedesLastOnNamesInBibliography.feature +42 -0
- data/features/nameattr/DelimiterPrecedesLastOnNamesInCitation.feature +35 -0
- data/features/nameattr/DelimiterPrecedesLastOnStyleInBibliography.feature +43 -0
- data/features/nameattr/DelimiterPrecedesLastOnStyleInCitation.feature +36 -0
- data/features/nameattr/EtAlMinOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/EtAlMinOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/EtAlMinOnCitationInBibliography.feature +45 -0
- data/features/nameattr/EtAlMinOnCitationInCitation.feature +36 -0
- data/features/nameattr/EtAlMinOnNamesInBibliography.feature +42 -0
- data/features/nameattr/EtAlMinOnNamesInCitation.feature +35 -0
- data/features/nameattr/EtAlMinOnStyleInBibliography.feature +42 -0
- data/features/nameattr/EtAlMinOnStyleInCitation.feature +35 -0
- data/features/nameattr/EtAlSubsequentMinOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/EtAlSubsequentMinOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/EtAlSubsequentMinOnCitationInBibliography.feature +45 -0
- data/features/nameattr/EtAlSubsequentMinOnCitationInCitation.feature +37 -0
- data/features/nameattr/EtAlSubsequentMinOnNamesInBibliography.feature +42 -0
- data/features/nameattr/EtAlSubsequentMinOnStyleInBibliography.feature +42 -0
- data/features/nameattr/EtAlSubsequentMinOnStyleInCitation.feature +38 -0
- data/features/nameattr/EtAlSubsequentUseFirstOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/EtAlSubsequentUseFirstOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/EtAlSubsequentUseFirstOnCitationInBibliography.feature +45 -0
- data/features/nameattr/EtAlSubsequentUseFirstOnCitationInCitation.feature +44 -0
- data/features/nameattr/EtAlSubsequentUseFirstOnStyleInBibliography.feature +43 -0
- data/features/nameattr/EtAlSubsequentUseFirstOnStyleInCitation.feature +37 -0
- data/features/nameattr/EtAlUseFirstOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/EtAlUseFirstOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/EtAlUseFirstOnCitationInBibliography.feature +45 -0
- data/features/nameattr/EtAlUseFirstOnCitationInCitation.feature +43 -0
- data/features/nameattr/EtAlUseFirstOnNamesInBibliography.feature +42 -0
- data/features/nameattr/EtAlUseFirstOnNamesInCitation.feature +35 -0
- data/features/nameattr/EtAlUseFirstOnStyleInBibliography.feature +43 -0
- data/features/nameattr/EtAlUseFirstOnStyleInCitation.feature +35 -0
- data/features/nameattr/InitializeWithOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/InitializeWithOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/InitializeWithOnCitationInBibliography.feature +45 -0
- data/features/nameattr/InitializeWithOnCitationInCitation.feature +36 -0
- data/features/nameattr/InitializeWithOnNamesInBibliography.feature +42 -0
- data/features/nameattr/InitializeWithOnNamesInCitation.feature +35 -0
- data/features/nameattr/InitializeWithOnStyleInBibliography.feature +43 -0
- data/features/nameattr/InitializeWithOnStyleInCitation.feature +36 -0
- data/features/nameattr/NameAsSortOrderOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/NameAsSortOrderOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/NameAsSortOrderOnCitationInBibliography.feature +45 -0
- data/features/nameattr/NameAsSortOrderOnCitationInCitation.feature +36 -0
- data/features/nameattr/NameAsSortOrderOnNamesInBibliography.feature +42 -0
- data/features/nameattr/NameAsSortOrderOnNamesInCitation.feature +35 -0
- data/features/nameattr/NameAsSortOrderOnStyleInBibliography.feature +43 -0
- data/features/nameattr/NameAsSortOrderOnStyleInCitation.feature +35 -0
- data/features/nameattr/NameDelimiterOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/NameDelimiterOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/NameDelimiterOnCitationInBibliography.feature +45 -0
- data/features/nameattr/NameDelimiterOnCitationInCitation.feature +43 -0
- data/features/nameattr/NameDelimiterOnNamesInBibliography.feature +42 -0
- data/features/nameattr/NameDelimiterOnNamesInCitation.feature +42 -0
- data/features/nameattr/NameDelimiterOnStyleInBibliography.feature +43 -0
- data/features/nameattr/NameDelimiterOnStyleInCitation.feature +43 -0
- data/features/nameattr/NameFormOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/NameFormOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/NameFormOnCitationInBibliography.feature +45 -0
- data/features/nameattr/NameFormOnCitationInCitation.feature +43 -0
- data/features/nameattr/NameFormOnNamesInBibliography.feature +42 -0
- data/features/nameattr/NameFormOnNamesInCitation.feature +35 -0
- data/features/nameattr/NameFormOnStyleInBibliography.feature +43 -0
- data/features/nameattr/NameFormOnStyleInCitation.feature +36 -0
- data/features/nameattr/NamesDelimiterOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/NamesDelimiterOnBibliographyInCitation.feature +43 -0
- data/features/nameattr/NamesDelimiterOnCitationInBibliography.feature +45 -0
- data/features/nameattr/NamesDelimiterOnCitationInCitation.feature +36 -0
- data/features/nameattr/NamesDelimiterOnNamesInBibliography.feature +42 -0
- data/features/nameattr/NamesDelimiterOnNamesInCitation.feature +35 -0
- data/features/nameattr/NamesDelimiterOnStyleInBibliography.feature +42 -0
- data/features/nameattr/NamesDelimiterOnStyleInCitation.feature +36 -0
- data/features/nameattr/SortSeparatorOnBibliographyInBibliography.feature +43 -0
- data/features/nameattr/SortSeparatorOnBibliographyInCitation.feature +44 -0
- data/features/nameattr/SortSeparatorOnCitationInBibliography.feature +45 -0
- data/features/nameattr/SortSeparatorOnCitationInCitation.feature +36 -0
- data/features/nameattr/SortSeparatorOnNamesInBibliography.feature +42 -0
- data/features/nameattr/SortSeparatorOnNamesInCitation.feature +35 -0
- data/features/nameattr/SortSeparatorOnStyleInBibliography.feature +43 -0
- data/features/nameattr/SortSeparatorOnStyleInCitation.feature +36 -0
- data/features/nameorder/Long.feature +35 -0
- data/features/nameorder/LongNameAsSortDemoteDisplayAndSort.feature +36 -0
- data/features/nameorder/LongNameAsSortDemoteNever.feature +36 -0
- data/features/nameorder/Short.feature +35 -0
- data/features/nameorder/ShortDemoteDisplayAndSort.feature +36 -0
- data/features/nameorder/ShortNameAsSortDemoteNever.feature +36 -0
- data/features/namespaces/NonNada3.feature +33 -0
- data/features/number/EditionSort.feature +47 -0
- data/features/number/FailingDelimiters.feature +44 -0
- data/features/number/IsNumericWithAlpha.feature +40 -0
- data/features/number/MixedPageRange.feature +34 -0
- data/features/number/MixedText.feature +33 -0
- data/features/number/NewOrdinals.feature +64 -0
- data/features/number/NewOrdinalsEdition.feature +1044 -0
- data/features/number/NewOrdinalsWithGenderChange.feature +45 -0
- data/features/number/PageFirst.feature +36 -0
- data/features/number/PageRange.feature +33 -0
- data/features/number/PlainHyphenOrEnDashAlwaysPlural.feature +42 -0
- data/features/number/SeparateOrdinalNamespaces.feature +55 -0
- data/features/number/SimpleNumberArabic.feature +33 -0
- data/features/number/SimpleNumberOrdinalLong.feature +35 -0
- data/features/number/SimpleNumberOrdinalShort.feature +33 -0
- data/features/number/SimpleNumberRoman.feature +33 -0
- data/features/number/StrangeError.feature +34 -0
- data/features/page/Chicago.feature +55 -0
- data/features/page/Expand.feature +42 -0
- data/features/page/Minimal.feature +55 -0
- data/features/page/NoOption.feature +34 -0
- data/features/page/NumberPageFirst.feature +33 -0
- data/features/page/PluralDetectWithEndash.feature +33 -0
- data/features/parallel/Bibliography.feature +87 -0
- data/features/parallel/HackedChicago.feature +715 -0
- data/features/parallel/JournalArticleReverse.feature +46 -0
- data/features/parallel/JournalArticleSimple.feature +46 -0
- data/features/parallel/TrailingIbid.feature +69 -0
- data/features/plural/LabelForced.feature +37 -0
- data/features/plural/NameLabelAlways.feature +36 -0
- data/features/plural/NameLabelContextualPlural.feature +36 -0
- data/features/plural/NameLabelContextualSingular.feature +36 -0
- data/features/plural/NameLabelDefaultPlural.feature +36 -0
- data/features/plural/NameLabelDefaultSingular.feature +36 -0
- data/features/plural/NameLabelNever.feature +36 -0
- data/features/position/FalseInBibliography.feature +47 -0
- data/features/position/FirstTrueOnlyOnce.feature +55 -0
- data/features/position/IbidInText.feature +51 -0
- data/features/position/IbidSeparateCiteSameNote.feature +80 -0
- data/features/position/IbidWithLocator.feature +52 -0
- data/features/position/IbidWithMultipleSoloCitesInBackref.feature +52 -0
- data/features/position/IbidWithPrefixFullStop.feature +44 -0
- data/features/position/IbidWithSuffix.feature +54 -0
- data/features/position/IfIbidIsTrueThenSubsequentIsTrue.feature +61 -0
- data/features/position/IfIbidWithLocatorIsTrueThenIbidIsTrue.feature +58 -0
- data/features/position/NearNoteFalse.feature +41 -0
- data/features/position/NearNoteSameNote.feature +43 -0
- data/features/position/NearNoteTrue.feature +41 -0
- data/features/position/NearNoteUnsupported.feature +40 -0
- data/features/position/NearNoteWithPlugin.feature +454 -0
- data/features/position/ResetNoteNumbers.feature +54 -0
- data/features/position/TrueInCitation.feature +45 -0
- data/features/punctuation/DateStripPeriods.feature +36 -0
- data/features/punctuation/DefaultYearSuffixDelimiter.feature +183 -0
- data/features/punctuation/DelimiterWithStripPeriodsAndSubstitute1.feature +53 -0
- data/features/punctuation/DelimiterWithStripPeriodsAndSubstitute2.feature +52 -0
- data/features/punctuation/DelimiterWithStripPeriodsAndSubstitute3.feature +60 -0
- data/features/punctuation/DoNotSuppressColonAfterPeriod.feature +34 -0
- data/features/punctuation/FrenchOrthography.feature +33 -0
- data/features/punctuation/FullMontyField.feature +230 -0
- data/features/punctuation/FullMontyPlain.feature +230 -0
- data/features/punctuation/FullMontyQuotesIn.feature +233 -0
- data/features/punctuation/FullMontyQuotesOut.feature +233 -0
- data/features/punctuation/NoSuppressOfPeriodBeforeSemicolon.feature +36 -0
- data/features/punctuation/SemicolonDelimiter.feature +62 -0
- data/features/punctuation/SuppressPrefixPeriodForDelimiterSemicolon.feature +715 -0
- data/features/quotes/Punctuation.feature +43 -0
- data/features/quotes/PunctuationNasty.feature +977 -0
- data/features/quotes/PunctuationWithInnerQuote.feature +43 -0
- data/features/simplespace/case1.feature +202 -0
- data/features/sort/AguStyle.feature +94 -0
- data/features/sort/AguStyleReverseGroups.feature +94 -0
- data/features/sort/AuthorDateWithYearSuffix.feature +202 -0
- data/features/sort/BibliographyCitationNumberDescending.feature +51 -0
- data/features/sort/BibliographyCitationNumberDescendingViaMacro.feature +54 -0
- data/features/sort/BibliographyNosortOption.feature +44 -0
- data/features/sort/CaseInsensitiveBibliography.feature +55 -0
- data/features/sort/CaseInsensitiveCitation.feature +36 -0
- data/features/sort/ChangeInNameSort.feature +54 -0
- data/features/sort/ChicagoYearSuffix1.feature +391 -0
- data/features/sort/ChicagoYearSuffix2.feature +391 -0
- data/features/sort/Citation.feature +42 -0
- data/features/sort/CitationEdit.feature +49 -0
- data/features/sort/CitationSecondaryKey.feature +46 -0
- data/features/sort/CitationUnsorted.feature +42 -0
- data/features/sort/CiteGroupDelimiter.feature +45 -0
- data/features/sort/ConditionalMacroDates.feature +64 -0
- data/features/sort/DateMacroSortWithSecondFieldAlign.feature +56 -0
- data/features/sort/DateVariable.feature +36 -0
- data/features/sort/DateVariableMixedElementsAscendingA.feature +36 -0
- data/features/sort/DateVariableMixedElementsAscendingB.feature +36 -0
- data/features/sort/DateVariableMixedElementsDescendingA.feature +36 -0
- data/features/sort/DateVariableMixedElementsDescendingB.feature +36 -0
- data/features/sort/DateVariableRange.feature +36 -0
- data/features/sort/DateVariableRangeMixed.feature +36 -0
- data/features/sort/DropNameLabelInSort.feature +116 -0
- data/features/sort/EtAlUseLast.feature +54 -0
- data/features/sort/FamilyOnly.feature +45 -0
- data/features/sort/GroupedByAuthorstring.feature +50 -0
- data/features/sort/LatinUnicode.feature +42 -0
- data/features/sort/LeadingApostropheOnNameParticle.feature +55 -0
- data/features/sort/LocalizedDateLimitedParts.feature +40 -0
- data/features/sort/NameImplicitSortOrderAndForm.feature +51 -0
- data/features/sort/NameParticleInNameSortFalse.feature +48 -0
- data/features/sort/NameParticleInNameSortTrue.feature +48 -0
- data/features/sort/NameVariable.feature +47 -0
- data/features/sort/NamesUseLast.feature +64 -0
- data/features/sort/NumberOfAuthorsAsKey.feature +68 -0
- data/features/sort/SeparateAuthorsAndOthers.feature +127 -0
- data/features/sort/StatusFieldAscending.feature +46 -0
- data/features/sort/StatusFieldDescending.feature +46 -0
- data/features/sort/StripMarkup.feature +39 -0
- data/features/sort/SubstituteTitle.feature +398 -0
- data/features/sort/VariousNameMacros1.feature +287 -0
- data/features/sort/VariousNameMacros2.feature +287 -0
- data/features/sort/VariousNameMacros3.feature +288 -0
- data/features/sort/WithAndInOneEntry.feature +228 -0
- data/features/sortseparator/SortSeparatorEmpty.feature +44 -0
- data/features/substitute/RepeatedNamesOk.feature +52 -0
- data/features/substitute/SuppressOrdinaryVariable.feature +79 -0
- data/features/testers/FirstAutoGeneratedZoteroPluginTest.feature +715 -0
- data/features/testers/SecondAutoGeneratedZoteroPluginTest.feature +717 -0
- data/features/textcase/CapitalizeAll.feature +33 -0
- data/features/textcase/CapitalizeFirst.feature +33 -0
- data/features/textcase/CapitalizeFirstWithDecor.feature +33 -0
- data/features/textcase/CapitalsUntouched.feature +37 -0
- data/features/textcase/Lowercase.feature +33 -0
- data/features/textcase/SentenceCapitalization.feature +33 -0
- data/features/textcase/SkipNameParticlesInTitleCase.feature +33 -0
- data/features/textcase/TitleCapitalization.feature +33 -0
- data/features/textcase/TitleCaseNonEnglish.feature +33 -0
- data/features/textcase/TitleCaseNonEnglish2.feature +34 -0
- data/features/textcase/TitleCaseWithHyphens.feature +33 -0
- data/features/textcase/TitleCaseWithInitials.feature +33 -0
- data/features/textcase/Uppercase.feature +59 -0
- data/features/textcase/UppercaseNumber.feature +33 -0
- data/features/unicode/NonBreakingSpace.feature +34 -0
- data/features/variables/ShortForm.feature +54 -0
- data/features/variables/TitleShortOnAbbrevWithTitle.feature +37 -0
- data/features/variables/TitleShortOnAbbrevWithTitleCondition.feature +57 -0
- data/features/variables/TitleShortOnAbbrevWithTitleGroup.feature +44 -0
- data/features/variables/TitleShortOnShortTitleNoTitle.feature +33 -0
- data/features/variables/TitleShortOnShortTitleNoTitleCondition.feature +53 -0
- data/features/variables/TitleShortOnShortTitleNoTitleGroup.feature +40 -0
- data/features/virtual/PageFirst.feature +37 -0
- data/lib/citeproc/attributes.rb +7 -1
- data/lib/citeproc/version.rb +1 -1
- data/spec/citeproc/attributes_spec.rb +71 -27
- data/spec/citeproc/item_spec.rb +12 -0
- metadata +1563 -4
@@ -0,0 +1,51 @@
|
|
1
|
+
Feature: sort
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test sort_BibliographyCitationNumberDescending to pass
|
4
|
+
|
5
|
+
@bibliography @sort
|
6
|
+
Scenario: Bibliography Citation Number Descending
|
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
|
+
<text value="bogus"/>
|
21
|
+
</layout>
|
22
|
+
</citation>
|
23
|
+
<bibliography>
|
24
|
+
<sort>
|
25
|
+
<key variable="citation-number" sort="descending"/>
|
26
|
+
</sort>
|
27
|
+
<layout>
|
28
|
+
<text variable="citation-number" prefix="[" suffix="] "/>
|
29
|
+
<text variable="title" />
|
30
|
+
</layout>
|
31
|
+
</bibliography>
|
32
|
+
</style>
|
33
|
+
"""
|
34
|
+
And the following input:
|
35
|
+
"""
|
36
|
+
[{"id":"item-1","title":"Book One","type":"book"},{"id":"item-3","title":"Book Three","type":"book"},{"id":"item-4","title":"Book Four","type":"book"},{"id":"item-6","title":"Book Six","type":"book"},{"id":"item-2","title":"Book Two","type":"book"},{"id":"item-5","title":"Book Five","type":"book"},{"id":"item-7","title":"Book Seven","type":"book"},{"id":"item-8","title":"Book Eight","type":"book"}]
|
37
|
+
"""
|
38
|
+
When I render the entire bibliography
|
39
|
+
Then the bibliography should be:
|
40
|
+
"""
|
41
|
+
<div class="csl-bib-body">
|
42
|
+
<div class="csl-entry">[8] Book One</div>
|
43
|
+
<div class="csl-entry">[7] Book Three</div>
|
44
|
+
<div class="csl-entry">[6] Book Four</div>
|
45
|
+
<div class="csl-entry">[5] Book Six</div>
|
46
|
+
<div class="csl-entry">[4] Book Two</div>
|
47
|
+
<div class="csl-entry">[3] Book Five</div>
|
48
|
+
<div class="csl-entry">[2] Book Seven</div>
|
49
|
+
<div class="csl-entry">[1] Book Eight</div>
|
50
|
+
</div>
|
51
|
+
"""
|
@@ -0,0 +1,54 @@
|
|
1
|
+
Feature: sort
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test sort_BibliographyCitationNumberDescendingViaMacro to pass
|
4
|
+
|
5
|
+
@bibliography @sort
|
6
|
+
Scenario: Bibliography Citation Number Descending Via Macro
|
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="citation-number">
|
19
|
+
<text variable="citation-number"/>
|
20
|
+
</macro>
|
21
|
+
<citation>
|
22
|
+
<layout>
|
23
|
+
<text value="bogus"/>
|
24
|
+
</layout>
|
25
|
+
</citation>
|
26
|
+
<bibliography>
|
27
|
+
<sort>
|
28
|
+
<key macro="citation-number" sort="descending"/>
|
29
|
+
</sort>
|
30
|
+
<layout>
|
31
|
+
<text variable="citation-number" prefix="[" suffix="] "/>
|
32
|
+
<text variable="title" />
|
33
|
+
</layout>
|
34
|
+
</bibliography>
|
35
|
+
</style>
|
36
|
+
"""
|
37
|
+
And the following input:
|
38
|
+
"""
|
39
|
+
[{"id":"item-1","title":"Book One","type":"book"},{"id":"item-3","title":"Book Three","type":"book"},{"id":"item-4","title":"Book Four","type":"book"},{"id":"item-6","title":"Book Six","type":"book"},{"id":"item-2","title":"Book Two","type":"book"},{"id":"item-5","title":"Book Five","type":"book"},{"id":"item-7","title":"Book Seven","type":"book"},{"id":"item-8","title":"Book Eight","type":"book"}]
|
40
|
+
"""
|
41
|
+
When I render the entire bibliography
|
42
|
+
Then the bibliography should be:
|
43
|
+
"""
|
44
|
+
<div class="csl-bib-body">
|
45
|
+
<div class="csl-entry">[8] Book One</div>
|
46
|
+
<div class="csl-entry">[7] Book Three</div>
|
47
|
+
<div class="csl-entry">[6] Book Four</div>
|
48
|
+
<div class="csl-entry">[5] Book Six</div>
|
49
|
+
<div class="csl-entry">[4] Book Two</div>
|
50
|
+
<div class="csl-entry">[3] Book Five</div>
|
51
|
+
<div class="csl-entry">[2] Book Seven</div>
|
52
|
+
<div class="csl-entry">[1] Book Eight</div>
|
53
|
+
</div>
|
54
|
+
"""
|
@@ -0,0 +1,44 @@
|
|
1
|
+
Feature: sort
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test sort_BibliographyNosortOption to pass
|
4
|
+
|
5
|
+
@bibliography-nosort @sort
|
6
|
+
Scenario: Bibliography Nosort Option
|
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="author">
|
19
|
+
<names variable="author">
|
20
|
+
<name form="short" />
|
21
|
+
</names>
|
22
|
+
</macro>
|
23
|
+
<citation>
|
24
|
+
<sort>
|
25
|
+
<key macro="author" />
|
26
|
+
</sort>
|
27
|
+
<layout delimiter="; ">
|
28
|
+
<text macro="author" />
|
29
|
+
</layout>
|
30
|
+
</citation>
|
31
|
+
<bibliography>
|
32
|
+
<sort>
|
33
|
+
<key macro="author" />
|
34
|
+
</sort>
|
35
|
+
<layout>
|
36
|
+
<text macro="author" />
|
37
|
+
</layout>
|
38
|
+
</bibliography>
|
39
|
+
</style>
|
40
|
+
"""
|
41
|
+
And the following input:
|
42
|
+
"""
|
43
|
+
[{"author":[{"family":"Roe","given":"Jane","static-ordering":false}],"id":"ITEM-1","type":"book"},{"author":[{"family":"Doe","given":"John","static-ordering":false}],"id":"ITEM-2","type":"book"}]
|
44
|
+
"""
|
@@ -0,0 +1,55 @@
|
|
1
|
+
Feature: sort
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test sort_CaseInsensitiveBibliography to pass
|
4
|
+
|
5
|
+
@bibliography @sort
|
6
|
+
Scenario: Case Insensitive Bibliography
|
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="author">
|
19
|
+
<names variable="author">
|
20
|
+
<name name-as-sort-order="all" and="symbol" sort-separator=", "
|
21
|
+
initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
|
22
|
+
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
|
23
|
+
<substitute>
|
24
|
+
<names variable="editor"/>
|
25
|
+
<text value="Anon"/>
|
26
|
+
</substitute>
|
27
|
+
</names>
|
28
|
+
</macro>
|
29
|
+
<citation>
|
30
|
+
<layout>
|
31
|
+
<text value="dummy"/>
|
32
|
+
</layout>
|
33
|
+
</citation>
|
34
|
+
<bibliography>
|
35
|
+
<sort>
|
36
|
+
<key macro="author"/>
|
37
|
+
</sort>
|
38
|
+
<layout>
|
39
|
+
<text macro="author"/>
|
40
|
+
</layout>
|
41
|
+
</bibliography>
|
42
|
+
</style>
|
43
|
+
"""
|
44
|
+
And the following input:
|
45
|
+
"""
|
46
|
+
[{"author":[{"family":"ABC"}],"id":"ITEM-1","type":"book"},{"author":[{"family":"Aaa"}],"id":"ITEM-2","type":"book"}]
|
47
|
+
"""
|
48
|
+
When I render the entire bibliography
|
49
|
+
Then the bibliography should be:
|
50
|
+
"""
|
51
|
+
<div class="csl-bib-body">
|
52
|
+
<div class="csl-entry">Aaa</div>
|
53
|
+
<div class="csl-entry">ABC</div>
|
54
|
+
</div>
|
55
|
+
"""
|
@@ -0,0 +1,36 @@
|
|
1
|
+
Feature: sort
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test sort_CaseInsensitiveCitation to pass
|
4
|
+
|
5
|
+
@citation @sort
|
6
|
+
Scenario: Case Insensitive Citation
|
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
|
+
<sort>
|
20
|
+
<key variable="title"/>
|
21
|
+
</sort>
|
22
|
+
<layout delimiter=" - ">
|
23
|
+
<text variable="title"/>
|
24
|
+
</layout>
|
25
|
+
</citation>
|
26
|
+
</style>
|
27
|
+
"""
|
28
|
+
And the following input:
|
29
|
+
"""
|
30
|
+
[{"id":"ITEM-1","title":"Xyz","type":"book"},{"id":"ITEM-2","title":"ABC","type":"book"},{"id":"ITEM-3","title":"Aaa","type":"book"}]
|
31
|
+
"""
|
32
|
+
When I cite all items
|
33
|
+
Then the result should be:
|
34
|
+
"""
|
35
|
+
Aaa - ABC - Xyz
|
36
|
+
"""
|
@@ -0,0 +1,54 @@
|
|
1
|
+
Feature: sort
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test sort_ChangeInNameSort to pass
|
4
|
+
|
5
|
+
@bibliography @sort @citations
|
6
|
+
Scenario: Change In Name Sort
|
7
|
+
Given the following style:
|
8
|
+
"""
|
9
|
+
<style
|
10
|
+
xmlns="http://purl.org/net/xbiblio/csl"
|
11
|
+
class="note"
|
12
|
+
version="1.0"
|
13
|
+
demote-non-dropping-particle="display-and-sort">
|
14
|
+
<info>
|
15
|
+
<id />
|
16
|
+
<title />
|
17
|
+
<updated>2009-08-10T04:49:00+09:00</updated>
|
18
|
+
</info>
|
19
|
+
<macro name="author">
|
20
|
+
<names variable="author">
|
21
|
+
<name form="short" />
|
22
|
+
</names>
|
23
|
+
</macro>
|
24
|
+
<citation>
|
25
|
+
<sort>
|
26
|
+
<key macro="author" />
|
27
|
+
</sort>
|
28
|
+
<layout delimiter="; ">
|
29
|
+
<text macro="author" />
|
30
|
+
</layout>
|
31
|
+
</citation>
|
32
|
+
<bibliography>
|
33
|
+
<sort>
|
34
|
+
<key variable="author"/>
|
35
|
+
</sort>
|
36
|
+
<layout delimiter="; ">
|
37
|
+
<text macro="author" />
|
38
|
+
</layout>
|
39
|
+
</bibliography>
|
40
|
+
</style>
|
41
|
+
"""
|
42
|
+
And the following input:
|
43
|
+
"""
|
44
|
+
[{"author":[{"family":"De Quincey","given":"Alan"}],"id":"ITEM-1","type":"book"},{"author":[{"family":"Noakes","given":"Ajax"}],"id":"ITEM-2","type":"book"},{"author":[{"family":"Carter","given":"Cedric"}],"id":"ITEM-3","type":"book"}]
|
45
|
+
"""
|
46
|
+
When I render the entire bibliography
|
47
|
+
Then the bibliography should be:
|
48
|
+
"""
|
49
|
+
<div class="csl-bib-body">
|
50
|
+
<div class="csl-entry">Carter</div>
|
51
|
+
<div class="csl-entry">Noakes</div>
|
52
|
+
<div class="csl-entry">De Quincey</div>
|
53
|
+
</div>
|
54
|
+
"""
|
@@ -0,0 +1,391 @@
|
|
1
|
+
Feature: sort
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test sort_ChicagoYearSuffix1 to pass
|
4
|
+
|
5
|
+
@bibliography @sort
|
6
|
+
Scenario: Chicago Year Suffix1
|
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" page-range-format="chicago">
|
11
|
+
<info>
|
12
|
+
<title>Chicago Manual of Style (Author-Date format)</title>
|
13
|
+
<id>http://www.zotero.org/styles/chicago-author-date</id>
|
14
|
+
<link href="http://www.zotero.org/styles/chicago-author-date" 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="generic-base"/>
|
21
|
+
<updated>2009-12-04T20:22:16+00:00</updated>
|
22
|
+
<summary>The author-date variant of the Chicago style</summary>
|
23
|
+
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
|
24
|
+
</info>
|
25
|
+
<macro name="secondary-contributors">
|
26
|
+
<choose>
|
27
|
+
<if match="none" type="chapter">
|
28
|
+
<group delimiter=". ">
|
29
|
+
<choose>
|
30
|
+
<if variable="author">
|
31
|
+
<names variable="editor">
|
32
|
+
<label form="verb-short" prefix=" " suffix=". " text-case="capitalize-first" />
|
33
|
+
<name and="text" delimiter=", " />
|
34
|
+
</names>
|
35
|
+
</if>
|
36
|
+
</choose>
|
37
|
+
<choose>
|
38
|
+
<if match="any" variable="author editor">
|
39
|
+
<names variable="translator">
|
40
|
+
<label form="verb-short" prefix=" " suffix=". " text-case="capitalize-first" />
|
41
|
+
<name and="text" delimiter=", " />
|
42
|
+
</names>
|
43
|
+
</if>
|
44
|
+
</choose>
|
45
|
+
</group>
|
46
|
+
</if>
|
47
|
+
</choose>
|
48
|
+
</macro>
|
49
|
+
<macro name="container-contributors">
|
50
|
+
<choose>
|
51
|
+
<if type="chapter">
|
52
|
+
<group delimiter=", " prefix=",">
|
53
|
+
<choose>
|
54
|
+
<if variable="author">
|
55
|
+
<names variable="editor">
|
56
|
+
<label form="verb-short" prefix=" " suffix=". " text-case="lowercase" />
|
57
|
+
<name and="text" delimiter=", " />
|
58
|
+
</names>
|
59
|
+
</if>
|
60
|
+
</choose>
|
61
|
+
<choose>
|
62
|
+
<if match="any" variable="author editor">
|
63
|
+
<names variable="translator">
|
64
|
+
<label form="verb-short" prefix=" " suffix=". " text-case="lowercase" />
|
65
|
+
<name and="text" delimiter=", " />
|
66
|
+
</names>
|
67
|
+
</if>
|
68
|
+
</choose>
|
69
|
+
</group>
|
70
|
+
</if>
|
71
|
+
</choose>
|
72
|
+
</macro>
|
73
|
+
<macro name="anon">
|
74
|
+
<choose>
|
75
|
+
<if match="none" variable="author editor translator">
|
76
|
+
<text form="short" term="anonymous" text-case="capitalize-first" />
|
77
|
+
</if>
|
78
|
+
</choose>
|
79
|
+
</macro>
|
80
|
+
<macro name="editor">
|
81
|
+
<names variable="editor">
|
82
|
+
<name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
|
83
|
+
<label form="short" prefix=", " suffix="." />
|
84
|
+
</names>
|
85
|
+
</macro>
|
86
|
+
<macro name="translator">
|
87
|
+
<names variable="translator">
|
88
|
+
<name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
|
89
|
+
<label form="verb-short" prefix=", " suffix="." />
|
90
|
+
</names>
|
91
|
+
</macro>
|
92
|
+
<macro name="recipient">
|
93
|
+
<choose>
|
94
|
+
<if type="personal_communication">
|
95
|
+
<choose>
|
96
|
+
<if variable="genre">
|
97
|
+
<text text-case="capitalize-first" variable="genre" />
|
98
|
+
</if>
|
99
|
+
<else>
|
100
|
+
<text term="letter" text-case="capitalize-first" />
|
101
|
+
</else>
|
102
|
+
</choose>
|
103
|
+
</if>
|
104
|
+
</choose>
|
105
|
+
<names delimiter=", " variable="recipient">
|
106
|
+
<label form="verb" prefix=" " suffix=" " text-case="lowercase" />
|
107
|
+
<name and="text" delimiter=", " />
|
108
|
+
</names>
|
109
|
+
</macro>
|
110
|
+
<macro name="contributors">
|
111
|
+
<names variable="author">
|
112
|
+
<name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
|
113
|
+
<label form="verb-short" prefix=", " suffix="." text-case="lowercase" />
|
114
|
+
<substitute>
|
115
|
+
<text macro="editor" />
|
116
|
+
<text macro="translator" />
|
117
|
+
</substitute>
|
118
|
+
</names>
|
119
|
+
<text macro="anon" />
|
120
|
+
<text macro="recipient" />
|
121
|
+
</macro>
|
122
|
+
<macro name="contributors-short">
|
123
|
+
<names variable="author">
|
124
|
+
<name and="text" delimiter=", " form="short" />
|
125
|
+
<substitute>
|
126
|
+
<names variable="editor" />
|
127
|
+
<names variable="translator" />
|
128
|
+
</substitute>
|
129
|
+
</names>
|
130
|
+
<text macro="anon" />
|
131
|
+
</macro>
|
132
|
+
<macro name="interviewer">
|
133
|
+
<names delimiter=", " variable="interviewer">
|
134
|
+
<label form="verb" prefix=" " suffix=" " text-case="capitalize-first" />
|
135
|
+
<name and="text" delimiter=", " />
|
136
|
+
</names>
|
137
|
+
</macro>
|
138
|
+
<macro name="archive">
|
139
|
+
<group delimiter=". ">
|
140
|
+
<text text-case="capitalize-first" variable="archive_location" />
|
141
|
+
<text variable="archive" />
|
142
|
+
<text variable="archive-place" />
|
143
|
+
</group>
|
144
|
+
</macro>
|
145
|
+
<macro name="access">
|
146
|
+
<group delimiter=". ">
|
147
|
+
<choose>
|
148
|
+
<if match="any" type="graphic report">
|
149
|
+
<text macro="archive" />
|
150
|
+
</if>
|
151
|
+
<else-if match="none" type="book thesis chapter article-journal article-newspaper article-magazine">
|
152
|
+
<text macro="archive" />
|
153
|
+
</else-if>
|
154
|
+
</choose>
|
155
|
+
<text prefix="doi:" variable="DOI" />
|
156
|
+
<text variable="URL" />
|
157
|
+
</group>
|
158
|
+
</macro>
|
159
|
+
<macro name="title">
|
160
|
+
<choose>
|
161
|
+
<if match="none" variable="title">
|
162
|
+
<choose>
|
163
|
+
<if match="none" type="personal_communication">
|
164
|
+
<text text-case="capitalize-first" variable="genre" />
|
165
|
+
</if>
|
166
|
+
</choose>
|
167
|
+
</if>
|
168
|
+
<else-if type="book">
|
169
|
+
<text font-style="italic" variable="title" />
|
170
|
+
</else-if>
|
171
|
+
<else>
|
172
|
+
<text variable="title" />
|
173
|
+
</else>
|
174
|
+
</choose>
|
175
|
+
</macro>
|
176
|
+
<macro name="edition">
|
177
|
+
<choose>
|
178
|
+
<if match="any" type="book chapter">
|
179
|
+
<choose>
|
180
|
+
<if is-numeric="edition">
|
181
|
+
<group delimiter=" ">
|
182
|
+
<number form="ordinal" variable="edition" />
|
183
|
+
<text form="short" suffix="." term="edition" />
|
184
|
+
</group>
|
185
|
+
</if>
|
186
|
+
<else>
|
187
|
+
<text suffix="." variable="edition" form="short"/>
|
188
|
+
</else>
|
189
|
+
</choose>
|
190
|
+
</if>
|
191
|
+
</choose>
|
192
|
+
</macro>
|
193
|
+
<macro name="locators">
|
194
|
+
<choose>
|
195
|
+
<if type="article-journal">
|
196
|
+
<text prefix=" " variable="volume" />
|
197
|
+
<text prefix=", no. " variable="issue" />
|
198
|
+
</if>
|
199
|
+
<else-if type="book">
|
200
|
+
<group delimiter=". " prefix=". ">
|
201
|
+
<group>
|
202
|
+
<text form="short" suffix=". " term="volume" text-case="capitalize-first" />
|
203
|
+
<number form="numeric" variable="volume" />
|
204
|
+
</group>
|
205
|
+
<group>
|
206
|
+
<number form="numeric" variable="number-of-volumes" />
|
207
|
+
<text form="short" plural="true" prefix=" " suffix="." term="volume" />
|
208
|
+
</group>
|
209
|
+
</group>
|
210
|
+
</else-if>
|
211
|
+
</choose>
|
212
|
+
</macro>
|
213
|
+
<macro name="locators-chapter">
|
214
|
+
<choose>
|
215
|
+
<if type="chapter">
|
216
|
+
<group prefix=", ">
|
217
|
+
<text suffix=":" variable="volume" />
|
218
|
+
<text variable="page" />
|
219
|
+
</group>
|
220
|
+
</if>
|
221
|
+
</choose>
|
222
|
+
</macro>
|
223
|
+
<macro name="locators-article">
|
224
|
+
<choose>
|
225
|
+
<if type="article-newspaper">
|
226
|
+
<group delimiter=", " prefix=", ">
|
227
|
+
<group>
|
228
|
+
<text suffix=" " variable="edition" />
|
229
|
+
<text prefix=" " term="edition" />
|
230
|
+
</group>
|
231
|
+
<group>
|
232
|
+
<text form="short" suffix=". " term="section" />
|
233
|
+
<text variable="section" />
|
234
|
+
</group>
|
235
|
+
</group>
|
236
|
+
</if>
|
237
|
+
<else-if type="article-journal">
|
238
|
+
<text prefix=": " variable="page" />
|
239
|
+
</else-if>
|
240
|
+
</choose>
|
241
|
+
</macro>
|
242
|
+
<macro name="point-locators">
|
243
|
+
<group>
|
244
|
+
<choose>
|
245
|
+
<if locator="page" match="none">
|
246
|
+
<label form="short" suffix=" " variable="locator" />
|
247
|
+
</if>
|
248
|
+
</choose>
|
249
|
+
<text variable="locator" />
|
250
|
+
</group>
|
251
|
+
</macro>
|
252
|
+
<macro name="container-prefix">
|
253
|
+
<text term="in" text-case="capitalize-first" />
|
254
|
+
</macro>
|
255
|
+
<macro name="container-title">
|
256
|
+
<choose>
|
257
|
+
<if type="chapter">
|
258
|
+
<text macro="container-prefix" suffix=" " />
|
259
|
+
</if>
|
260
|
+
</choose>
|
261
|
+
<text font-style="italic" variable="container-title" />
|
262
|
+
</macro>
|
263
|
+
<macro name="publisher">
|
264
|
+
<group delimiter=": ">
|
265
|
+
<text variable="publisher-place" />
|
266
|
+
<text variable="publisher" />
|
267
|
+
</group>
|
268
|
+
</macro>
|
269
|
+
<macro name="date">
|
270
|
+
<date variable="issued">
|
271
|
+
<date-part name="year" />
|
272
|
+
</date>
|
273
|
+
</macro>
|
274
|
+
<macro name="day-month">
|
275
|
+
<date variable="issued">
|
276
|
+
<date-part name="month" />
|
277
|
+
<date-part name="day" prefix=" " />
|
278
|
+
</date>
|
279
|
+
</macro>
|
280
|
+
<macro name="collection-title">
|
281
|
+
<text variable="collection-title" />
|
282
|
+
<text prefix=" " variable="collection-number" />
|
283
|
+
</macro>
|
284
|
+
<macro name="event">
|
285
|
+
<group>
|
286
|
+
<text suffix=" " term="presented at" />
|
287
|
+
<text variable="event" />
|
288
|
+
</group>
|
289
|
+
</macro>
|
290
|
+
<macro name="description">
|
291
|
+
<group delimiter=". ">
|
292
|
+
<text macro="interviewer" />
|
293
|
+
<text text-case="capitalize-first" variable="medium" />
|
294
|
+
</group>
|
295
|
+
<choose>
|
296
|
+
<if match="none" variable="title"> </if>
|
297
|
+
<else-if type="thesis"> </else-if>
|
298
|
+
<else>
|
299
|
+
<text prefix=". " text-case="capitalize-first" variable="genre" />
|
300
|
+
</else>
|
301
|
+
</choose>
|
302
|
+
</macro>
|
303
|
+
<macro name="issue">
|
304
|
+
<choose>
|
305
|
+
<if type="article-journal">
|
306
|
+
<text macro="day-month" prefix=" (" suffix=")" />
|
307
|
+
</if>
|
308
|
+
<else-if type="speech">
|
309
|
+
<group delimiter=", " prefix=" ">
|
310
|
+
<text macro="event" />
|
311
|
+
<text macro="day-month" />
|
312
|
+
<text variable="event-place" />
|
313
|
+
</group>
|
314
|
+
</else-if>
|
315
|
+
<else-if match="any" type="article-newspaper article-magazine">
|
316
|
+
<text macro="day-month" prefix=", " />
|
317
|
+
</else-if>
|
318
|
+
<else>
|
319
|
+
<group delimiter=", " prefix=". ">
|
320
|
+
<choose>
|
321
|
+
<if type="thesis">
|
322
|
+
<text text-case="capitalize-first" variable="genre" />
|
323
|
+
</if>
|
324
|
+
</choose>
|
325
|
+
<text macro="publisher" />
|
326
|
+
<text macro="day-month" />
|
327
|
+
</group>
|
328
|
+
</else>
|
329
|
+
</choose>
|
330
|
+
</macro>
|
331
|
+
<citation
|
332
|
+
disambiguate-add-givenname="true"
|
333
|
+
disambiguate-add-names="true"
|
334
|
+
disambiguate-add-year-suffix="true"
|
335
|
+
et-al-min="4"
|
336
|
+
et-al-subsequent-min="4"
|
337
|
+
et-al-subsequent-use-first="1"
|
338
|
+
et-al-use-first="1">
|
339
|
+
<layout delimiter="; " prefix="(" suffix=")">
|
340
|
+
<group delimiter=", ">
|
341
|
+
<group delimiter=" ">
|
342
|
+
<text macro="contributors-short" />
|
343
|
+
<text macro="date" />
|
344
|
+
</group>
|
345
|
+
<text macro="point-locators" />
|
346
|
+
</group>
|
347
|
+
</layout>
|
348
|
+
</citation>
|
349
|
+
<bibliography
|
350
|
+
entry-spacing="0"
|
351
|
+
et-al-min="11"
|
352
|
+
et-al-use-first="7"
|
353
|
+
hanging-indent="true"
|
354
|
+
subsequent-author-substitute="---">
|
355
|
+
<sort>
|
356
|
+
<key macro="contributors" />
|
357
|
+
<key variable="issued" />
|
358
|
+
<key variable="title" />
|
359
|
+
</sort>
|
360
|
+
<layout suffix=".">
|
361
|
+
<text macro="contributors" suffix=". " />
|
362
|
+
<text macro="date" suffix=". " />
|
363
|
+
<text macro="title" />
|
364
|
+
<text macro="description" />
|
365
|
+
<text macro="secondary-contributors" prefix=". " />
|
366
|
+
<text macro="container-title" prefix=". " />
|
367
|
+
<text macro="container-contributors" />
|
368
|
+
<text macro="locators-chapter" />
|
369
|
+
<text macro="edition" prefix=". " />
|
370
|
+
<text macro="locators" />
|
371
|
+
<text macro="collection-title" prefix=". " />
|
372
|
+
<text macro="issue" />
|
373
|
+
<text macro="locators-article" />
|
374
|
+
<text macro="access" prefix=". " />
|
375
|
+
</layout>
|
376
|
+
</bibliography>
|
377
|
+
</style>
|
378
|
+
|
379
|
+
"""
|
380
|
+
And the following input:
|
381
|
+
"""
|
382
|
+
[{"author":[{"family":"Beijing Zoo"}],"container-title":"Acta Zoologica Sinica","id":"ITEM-1","issued":{"date-parts":[["1974"]]},"page":"154-161","title":"Observations on the breeding of the giant panda and the raising of its young [in Chinese]","type":"article-journal","volume":"20"},{"author":[{"literal":"Beijing Zoo"}],"container-title":"Acta Zoologica Sinica","id":"ITEM-2","issued":{"date-parts":[["1974"]]},"page":"139-147","title":"On the diseases of the giant panda and their preventive and curative measures [in Chinese]","type":"article-journal","volume":"20"}]
|
383
|
+
"""
|
384
|
+
When I render the entire bibliography
|
385
|
+
Then the bibliography should be:
|
386
|
+
"""
|
387
|
+
<div class="csl-bib-body">
|
388
|
+
<div class="csl-entry">Beijing Zoo. 1974a. Observations on the breeding of the giant panda and the raising of its young [in Chinese]. <i>Acta Zoologica Sinica</i> 20: 154–61.</div>
|
389
|
+
<div class="csl-entry">---. 1974b. On the diseases of the giant panda and their preventive and curative measures [in Chinese]. <i>Acta Zoologica Sinica</i> 20: 139–47.</div>
|
390
|
+
</div>
|
391
|
+
"""
|