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,361 @@
|
|
1
|
+
Feature: fullstyles
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test fullstyles_APA to pass
|
4
|
+
|
5
|
+
@citation @fullstyles
|
6
|
+
Scenario: APA
|
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" demote-non-dropping-particle="sort-only">
|
11
|
+
<info>
|
12
|
+
<title>American Psychological Association 6th Edition</title>
|
13
|
+
<id>http://www.zotero.org/styles/apa</id>
|
14
|
+
<link href="http://www.zotero.org/styles/apa" rel="self"/>
|
15
|
+
<link href="http://owl.english.purdue.edu/owl/resource/560/01/" rel="documentation"/>
|
16
|
+
<author>
|
17
|
+
<name>Simon Kornblith</name>
|
18
|
+
<email>simon@simonster.com</email>
|
19
|
+
</author>
|
20
|
+
<contributor>
|
21
|
+
<name>Bruce D'Arcus</name>
|
22
|
+
</contributor>
|
23
|
+
<contributor>
|
24
|
+
<name>Curtis M. Humphrey</name>
|
25
|
+
</contributor>
|
26
|
+
<contributor>
|
27
|
+
<name>Richard Karnesky</name>
|
28
|
+
<email>karnesky+zotero@gmail.com</email>
|
29
|
+
<uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
|
30
|
+
</contributor>
|
31
|
+
<contributor>
|
32
|
+
<name>Sebastian Karcher</name>
|
33
|
+
</contributor>
|
34
|
+
<category field="psychology"/>
|
35
|
+
<category field="generic-base"/>
|
36
|
+
<category citation-format="author-date"/>
|
37
|
+
<updated>2010-01-27T20:08:03+00:00</updated>
|
38
|
+
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
|
39
|
+
</info>
|
40
|
+
<locale xml:lang="en">
|
41
|
+
<terms>
|
42
|
+
<term name="translator" form="short">
|
43
|
+
<single>trans.</single>
|
44
|
+
<multiple>trans.</multiple>
|
45
|
+
</term>
|
46
|
+
</terms>
|
47
|
+
</locale>
|
48
|
+
<macro name="container-contributors">
|
49
|
+
<choose>
|
50
|
+
<if type="chapter paper-conference" match="any">
|
51
|
+
<text term="in" text-case="capitalize-first" suffix=" "/>
|
52
|
+
<names variable="editor" delimiter=", " suffix=", ">
|
53
|
+
<name and="symbol" initialize-with=". " delimiter=", "/>
|
54
|
+
<label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
|
55
|
+
<substitute>
|
56
|
+
<names variable="translator"/>
|
57
|
+
</substitute>
|
58
|
+
</names>
|
59
|
+
</if>
|
60
|
+
</choose>
|
61
|
+
</macro>
|
62
|
+
<macro name="secondary-contributors">
|
63
|
+
<choose>
|
64
|
+
<if type="chapter paper-conference" match="none">
|
65
|
+
<names variable="translator" delimiter=", " prefix=" (" suffix=")">
|
66
|
+
<name and="symbol" initialize-with=". " delimiter=", "/>
|
67
|
+
<label form="short" prefix=", " text-case="capitalize-first" suffix=""/>
|
68
|
+
<substitute>
|
69
|
+
<names variable="editor"/>
|
70
|
+
</substitute>
|
71
|
+
</names>
|
72
|
+
</if>
|
73
|
+
</choose>
|
74
|
+
</macro>
|
75
|
+
<macro name="author">
|
76
|
+
<names variable="author">
|
77
|
+
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
|
78
|
+
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
|
79
|
+
<substitute>
|
80
|
+
<names variable="editor"/>
|
81
|
+
<names variable="translator"/>
|
82
|
+
<text macro="title"/>
|
83
|
+
</substitute>
|
84
|
+
</names>
|
85
|
+
</macro>
|
86
|
+
<macro name="author-short">
|
87
|
+
<names variable="author">
|
88
|
+
<name form="short" and="symbol" delimiter=", " initialize-with=". "/>
|
89
|
+
<substitute>
|
90
|
+
<names variable="editor"/>
|
91
|
+
<names variable="translator"/>
|
92
|
+
<choose>
|
93
|
+
<if type="bill book graphic legal_case motion_picture report song" match="any">
|
94
|
+
<text variable="title" form="short" font-style="italic"/>
|
95
|
+
</if>
|
96
|
+
<else>
|
97
|
+
<text variable="title" form="short" quotes="true"/>
|
98
|
+
</else>
|
99
|
+
</choose>
|
100
|
+
</substitute>
|
101
|
+
</names>
|
102
|
+
</macro>
|
103
|
+
<macro name="access">
|
104
|
+
<choose>
|
105
|
+
<if type="thesis">
|
106
|
+
<choose>
|
107
|
+
<if variable="archive" match="any">
|
108
|
+
<group>
|
109
|
+
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
110
|
+
<text term="from" suffix=" "/>
|
111
|
+
<text variable="archive" suffix="."/>
|
112
|
+
<text variable="archive_location" prefix=" (" suffix=")"/>
|
113
|
+
</group>
|
114
|
+
</if>
|
115
|
+
<else>
|
116
|
+
<group>
|
117
|
+
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
118
|
+
<text term="from" suffix=" "/>
|
119
|
+
<text variable="URL"/>
|
120
|
+
</group>
|
121
|
+
</else>
|
122
|
+
</choose>
|
123
|
+
</if>
|
124
|
+
<else>
|
125
|
+
<choose>
|
126
|
+
<if variable="DOI">
|
127
|
+
<text variable="DOI" prefix="doi:"/>
|
128
|
+
</if>
|
129
|
+
<else>
|
130
|
+
<choose>
|
131
|
+
<if type="webpage">
|
132
|
+
<group>
|
133
|
+
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
134
|
+
<date variable="accessed" suffix=", ">
|
135
|
+
<date-part name="month" suffix=" "/>
|
136
|
+
<date-part name="day" suffix=", "/>
|
137
|
+
<date-part name="year"/>
|
138
|
+
</date>
|
139
|
+
<group>
|
140
|
+
<text term="from" suffix=" "/>
|
141
|
+
<text variable="URL"/>
|
142
|
+
</group>
|
143
|
+
</group>
|
144
|
+
</if>
|
145
|
+
<else>
|
146
|
+
<group>
|
147
|
+
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
148
|
+
<text term="from" suffix=" "/>
|
149
|
+
<text variable="URL"/>
|
150
|
+
</group>
|
151
|
+
</else>
|
152
|
+
</choose>
|
153
|
+
</else>
|
154
|
+
</choose>
|
155
|
+
</else>
|
156
|
+
</choose>
|
157
|
+
</macro>
|
158
|
+
<macro name="title">
|
159
|
+
<choose>
|
160
|
+
<if type="report thesis" match="any">
|
161
|
+
<text variable="title" font-style="italic"/>
|
162
|
+
<group prefix=" (" suffix=")">
|
163
|
+
<text variable="genre"/>
|
164
|
+
<text variable="number" prefix=" No. "/>
|
165
|
+
</group>
|
166
|
+
</if>
|
167
|
+
<else-if type="bill book graphic legal_case motion_picture report song manuscript speech" match="any">
|
168
|
+
<text variable="title" font-style="italic"/>
|
169
|
+
</else-if>
|
170
|
+
<else>
|
171
|
+
<text variable="title"/>
|
172
|
+
</else>
|
173
|
+
</choose>
|
174
|
+
</macro>
|
175
|
+
<macro name="publisher">
|
176
|
+
<choose>
|
177
|
+
<if type="report" match="any">
|
178
|
+
<group delimiter=": ">
|
179
|
+
<text variable="publisher-place"/>
|
180
|
+
<text variable="publisher"/>
|
181
|
+
</group>
|
182
|
+
</if>
|
183
|
+
<else-if type="thesis" match="any">
|
184
|
+
<group delimiter=", ">
|
185
|
+
<text variable="publisher"/>
|
186
|
+
<text variable="publisher-place"/>
|
187
|
+
</group>
|
188
|
+
</else-if>
|
189
|
+
<else>
|
190
|
+
<choose>
|
191
|
+
<if variable="event" match="none">
|
192
|
+
<text variable="genre" suffix=", "/>
|
193
|
+
</if>
|
194
|
+
</choose>
|
195
|
+
<group delimiter=": ">
|
196
|
+
<text variable="publisher-place"/>
|
197
|
+
<text variable="publisher"/>
|
198
|
+
</group>
|
199
|
+
</else>
|
200
|
+
</choose>
|
201
|
+
</macro>
|
202
|
+
<macro name="event">
|
203
|
+
<choose>
|
204
|
+
<if variable="event">
|
205
|
+
<choose>
|
206
|
+
<if variable="genre" match="none">
|
207
|
+
<text term="presented at" text-case="capitalize-first" suffix=" "/>
|
208
|
+
<text variable="event"/>
|
209
|
+
</if>
|
210
|
+
<else>
|
211
|
+
<group delimiter=" ">
|
212
|
+
<text variable="genre" text-case="capitalize-first"/>
|
213
|
+
<text term="presented at"/>
|
214
|
+
<text variable="event"/>
|
215
|
+
</group>
|
216
|
+
</else>
|
217
|
+
</choose>
|
218
|
+
</if>
|
219
|
+
</choose>
|
220
|
+
</macro>
|
221
|
+
<macro name="issued">
|
222
|
+
<choose>
|
223
|
+
<if variable="issued">
|
224
|
+
<group prefix=" (" suffix=").">
|
225
|
+
<date variable="issued">
|
226
|
+
<date-part name="year"/>
|
227
|
+
</date>
|
228
|
+
<choose>
|
229
|
+
<if type="bill book graphic legal_case motion_picture report song article-journal chapter paper-conference" match="none">
|
230
|
+
<date variable="issued">
|
231
|
+
<date-part prefix=", " name="month"/>
|
232
|
+
<date-part prefix=" " name="day"/>
|
233
|
+
</date>
|
234
|
+
</if>
|
235
|
+
</choose>
|
236
|
+
</group>
|
237
|
+
</if>
|
238
|
+
<else>
|
239
|
+
<group prefix=" (" suffix=").">
|
240
|
+
<text term="no date" form="short"/>
|
241
|
+
<text variable="year-suffix" prefix="-"/>
|
242
|
+
</group>
|
243
|
+
</else>
|
244
|
+
</choose>
|
245
|
+
</macro>
|
246
|
+
<macro name="issued-year">
|
247
|
+
<choose>
|
248
|
+
<if variable="issued">
|
249
|
+
<date variable="issued">
|
250
|
+
<date-part name="year"/>
|
251
|
+
</date>
|
252
|
+
<text variable="year-suffix"/>
|
253
|
+
</if>
|
254
|
+
<else>
|
255
|
+
<text term="no date" form="short"/>
|
256
|
+
<text variable="year-suffix" prefix="-"/>
|
257
|
+
</else>
|
258
|
+
</choose>
|
259
|
+
</macro>
|
260
|
+
<macro name="edition">
|
261
|
+
<choose>
|
262
|
+
<if is-numeric="edition">
|
263
|
+
<group delimiter=" ">
|
264
|
+
<number variable="edition" form="ordinal"/>
|
265
|
+
<text term="edition" form="short" suffix="." strip-periods="true"/>
|
266
|
+
</group>
|
267
|
+
</if>
|
268
|
+
<else>
|
269
|
+
<text variable="edition" suffix="."/>
|
270
|
+
</else>
|
271
|
+
</choose>
|
272
|
+
</macro>
|
273
|
+
<macro name="locators">
|
274
|
+
<choose>
|
275
|
+
<if type="article-journal article-magazine article-newspaper" match="any">
|
276
|
+
<group prefix=", " delimiter=", ">
|
277
|
+
<group>
|
278
|
+
<text variable="volume" font-style="italic"/>
|
279
|
+
<text variable="issue" prefix="(" suffix=")"/>
|
280
|
+
</group>
|
281
|
+
<text variable="page"/>
|
282
|
+
</group>
|
283
|
+
</if>
|
284
|
+
<else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
|
285
|
+
<group prefix=" (" suffix=")" delimiter=", ">
|
286
|
+
<text macro="edition"/>
|
287
|
+
<group>
|
288
|
+
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=". " strip-periods="true"/>
|
289
|
+
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
|
290
|
+
</group>
|
291
|
+
<group>
|
292
|
+
<text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
|
293
|
+
<number variable="volume" form="numeric"/>
|
294
|
+
</group>
|
295
|
+
<group>
|
296
|
+
<label variable="page" form="short" suffix=" "/>
|
297
|
+
<text variable="page"/>
|
298
|
+
</group>
|
299
|
+
</group>
|
300
|
+
</else-if>
|
301
|
+
</choose>
|
302
|
+
</macro>
|
303
|
+
<macro name="citation-locator">
|
304
|
+
<group>
|
305
|
+
<label variable="locator" form="short"/>
|
306
|
+
<text variable="locator" prefix=" "/>
|
307
|
+
</group>
|
308
|
+
</macro>
|
309
|
+
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year" givenname-disambiguation-rule="primary-name">
|
310
|
+
<sort>
|
311
|
+
<key macro="author"/>
|
312
|
+
<key macro="issued-year"/>
|
313
|
+
</sort>
|
314
|
+
<layout prefix="(" suffix=")" delimiter=", ">
|
315
|
+
<group delimiter=", ">
|
316
|
+
<text macro="author-short"/>
|
317
|
+
<text macro="issued-year"/>
|
318
|
+
<text macro="citation-locator"/>
|
319
|
+
</group>
|
320
|
+
</layout>
|
321
|
+
</citation>
|
322
|
+
<bibliography hanging-indent="true" et-al-min="8" et-al-use-first="7" entry-spacing="0" line-spacing="2">
|
323
|
+
<sort>
|
324
|
+
<key macro="author"/>
|
325
|
+
<key macro="issued-year" sort="ascending"/>
|
326
|
+
</sort>
|
327
|
+
<layout>
|
328
|
+
<group suffix=".">
|
329
|
+
<text macro="author" suffix="."/>
|
330
|
+
<text macro="issued" suffix=" "/>
|
331
|
+
<group delimiter=". ">
|
332
|
+
<text macro="title"/>
|
333
|
+
<group>
|
334
|
+
<text macro="container-contributors"/>
|
335
|
+
<text macro="secondary-contributors"/>
|
336
|
+
<group delimiter=", ">
|
337
|
+
<text variable="container-title" font-style="italic"/>
|
338
|
+
<text variable="collection-title"/>
|
339
|
+
</group>
|
340
|
+
</group>
|
341
|
+
</group>
|
342
|
+
<text macro="locators"/>
|
343
|
+
<group delimiter=", " prefix=". ">
|
344
|
+
<text macro="event"/>
|
345
|
+
<text macro="publisher"/>
|
346
|
+
</group>
|
347
|
+
</group>
|
348
|
+
<text macro="access" prefix=". "/>
|
349
|
+
</layout>
|
350
|
+
</bibliography>
|
351
|
+
</style>
|
352
|
+
"""
|
353
|
+
And the following input:
|
354
|
+
"""
|
355
|
+
[{"author":[{"family":"Oblinger","given":"Dan Gerry","isInstitution":""},{"family":"Oblinger","given":"Susan Mary","isInstitution":""}],"id":3,"issued":{"date-parts":[[2009]]},"multi":{"_keys":{}},"title":"Bookie","type":"book"}]
|
356
|
+
"""
|
357
|
+
When I cite all items
|
358
|
+
Then the result should be:
|
359
|
+
"""
|
360
|
+
(Oblinger & Oblinger, 2009)
|
361
|
+
"""
|
@@ -0,0 +1,390 @@
|
|
1
|
+
Feature: fullstyles
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test fullstyles_ChicagoArticleTitleQuestion to pass
|
4
|
+
|
5
|
+
@bibliography @fullstyles
|
6
|
+
Scenario: Chicago Article Title Question
|
7
|
+
Given the following style:
|
8
|
+
"""
|
9
|
+
<style
|
10
|
+
xmlns="http://purl.org/net/xbiblio/csl"
|
11
|
+
class="note"
|
12
|
+
version="1.0">
|
13
|
+
<info>
|
14
|
+
<title>Chicago Manual of Style (Author-Date format)</title>
|
15
|
+
<id>http://www.zotero.org/styles/chicago-author-date</id>
|
16
|
+
<link rel="self" href="http://www.zotero.org/styles/chicago-author-date" />
|
17
|
+
<author>
|
18
|
+
<name>Julian Onions</name>
|
19
|
+
<email>julian.onions@gmail.com</email>
|
20
|
+
</author>
|
21
|
+
<category citation-format="author-date" />
|
22
|
+
<category field="generic-base" />
|
23
|
+
<updated>2009-08-10T04:49:00+09:00</updated>
|
24
|
+
<summary>The author-date variant of the Chicago style</summary>
|
25
|
+
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation" />
|
26
|
+
</info>
|
27
|
+
<macro name="secondary-contributors">
|
28
|
+
<choose>
|
29
|
+
<if match="none" type="chapter">
|
30
|
+
<group delimiter=". ">
|
31
|
+
<choose>
|
32
|
+
<if variable="author">
|
33
|
+
<names variable="editor">
|
34
|
+
<label form="verb-short" prefix=" " suffix=". " text-case="capitalize-first" />
|
35
|
+
<name and="text" delimiter=", " />
|
36
|
+
</names>
|
37
|
+
</if>
|
38
|
+
</choose>
|
39
|
+
<choose>
|
40
|
+
<if match="any" variable="author editor">
|
41
|
+
<names variable="translator">
|
42
|
+
<label form="verb-short" prefix=" " suffix=". " text-case="capitalize-first" />
|
43
|
+
<name and="text" delimiter=", " />
|
44
|
+
</names>
|
45
|
+
</if>
|
46
|
+
</choose>
|
47
|
+
</group>
|
48
|
+
</if>
|
49
|
+
</choose>
|
50
|
+
</macro>
|
51
|
+
<macro name="container-contributors">
|
52
|
+
<choose>
|
53
|
+
<if type="chapter">
|
54
|
+
<group delimiter=", " prefix=",">
|
55
|
+
<choose>
|
56
|
+
<if variable="author">
|
57
|
+
<names variable="editor">
|
58
|
+
<label form="verb-short" prefix=" " suffix=". " text-case="lowercase" />
|
59
|
+
<name and="text" delimiter=", " />
|
60
|
+
</names>
|
61
|
+
</if>
|
62
|
+
</choose>
|
63
|
+
<choose>
|
64
|
+
<if match="any" variable="author editor">
|
65
|
+
<names variable="translator">
|
66
|
+
<label form="verb-short" prefix=" " suffix=". " text-case="lowercase" />
|
67
|
+
<name and="text" delimiter=", " />
|
68
|
+
</names>
|
69
|
+
</if>
|
70
|
+
</choose>
|
71
|
+
</group>
|
72
|
+
</if>
|
73
|
+
</choose>
|
74
|
+
</macro>
|
75
|
+
<macro name="anon">
|
76
|
+
<choose>
|
77
|
+
<if match="none" variable="author editor translator">
|
78
|
+
<text form="short" term="anonymous" text-case="capitalize-first" />
|
79
|
+
</if>
|
80
|
+
</choose>
|
81
|
+
</macro>
|
82
|
+
<macro name="editor">
|
83
|
+
<names variable="editor">
|
84
|
+
<name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
|
85
|
+
<label form="short" prefix=", " suffix="." />
|
86
|
+
</names>
|
87
|
+
</macro>
|
88
|
+
<macro name="translator">
|
89
|
+
<names variable="translator">
|
90
|
+
<name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
|
91
|
+
<label form="verb-short" prefix=", " suffix="." />
|
92
|
+
</names>
|
93
|
+
</macro>
|
94
|
+
<macro name="recipient">
|
95
|
+
<choose>
|
96
|
+
<if type="personal_communication">
|
97
|
+
<choose>
|
98
|
+
<if variable="genre">
|
99
|
+
<text text-case="capitalize-first" variable="genre" />
|
100
|
+
</if>
|
101
|
+
<else>
|
102
|
+
<text term="letter" text-case="capitalize-first" />
|
103
|
+
</else>
|
104
|
+
</choose>
|
105
|
+
</if>
|
106
|
+
</choose>
|
107
|
+
<names delimiter=", " variable="recipient">
|
108
|
+
<label form="verb" prefix=" " suffix=" " text-case="lowercase" />
|
109
|
+
<name and="text" delimiter=", " />
|
110
|
+
</names>
|
111
|
+
</macro>
|
112
|
+
<macro name="contributors">
|
113
|
+
<names variable="author">
|
114
|
+
<name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
|
115
|
+
<label form="verb-short" prefix=", " suffix="." text-case="lowercase" />
|
116
|
+
<substitute>
|
117
|
+
<text macro="editor" />
|
118
|
+
<text macro="translator" />
|
119
|
+
</substitute>
|
120
|
+
</names>
|
121
|
+
<text macro="anon" />
|
122
|
+
<text macro="recipient" />
|
123
|
+
</macro>
|
124
|
+
<macro name="contributors-short">
|
125
|
+
<names variable="author">
|
126
|
+
<name and="text" delimiter=", " form="short" />
|
127
|
+
<substitute>
|
128
|
+
<names variable="editor" />
|
129
|
+
<names variable="translator" />
|
130
|
+
</substitute>
|
131
|
+
</names>
|
132
|
+
<text macro="anon" />
|
133
|
+
</macro>
|
134
|
+
<macro name="interviewer">
|
135
|
+
<names delimiter=", " variable="interviewer">
|
136
|
+
<label form="verb" prefix=" " suffix=" " text-case="capitalize-first" />
|
137
|
+
<name and="text" delimiter=", " />
|
138
|
+
</names>
|
139
|
+
</macro>
|
140
|
+
<macro name="archive">
|
141
|
+
<group delimiter=". ">
|
142
|
+
<text text-case="capitalize-first" variable="archive_location" />
|
143
|
+
<text variable="archive" />
|
144
|
+
<text variable="archive-place" />
|
145
|
+
</group>
|
146
|
+
</macro>
|
147
|
+
<macro name="access">
|
148
|
+
<group delimiter=". ">
|
149
|
+
<choose>
|
150
|
+
<if match="any" type="graphic report">
|
151
|
+
<text macro="archive" />
|
152
|
+
</if>
|
153
|
+
<else-if match="none" type="book thesis chapter article-journal article-newspaper article-magazine">
|
154
|
+
<text macro="archive" />
|
155
|
+
</else-if>
|
156
|
+
</choose>
|
157
|
+
<text prefix="doi:" variable="DOI" />
|
158
|
+
<text variable="URL" />
|
159
|
+
</group>
|
160
|
+
</macro>
|
161
|
+
<macro name="title">
|
162
|
+
<choose>
|
163
|
+
<if match="none" variable="title">
|
164
|
+
<choose>
|
165
|
+
<if match="none" type="personal_communication">
|
166
|
+
<text text-case="capitalize-first" variable="genre" />
|
167
|
+
</if>
|
168
|
+
</choose>
|
169
|
+
</if>
|
170
|
+
<else-if type="book">
|
171
|
+
<text font-style="italic" variable="title" />
|
172
|
+
</else-if>
|
173
|
+
<else>
|
174
|
+
<text variable="title" />
|
175
|
+
</else>
|
176
|
+
</choose>
|
177
|
+
</macro>
|
178
|
+
<macro name="edition">
|
179
|
+
<choose>
|
180
|
+
<if match="any" type="book chapter">
|
181
|
+
<choose>
|
182
|
+
<if is-numeric="edition">
|
183
|
+
<group delimiter=" ">
|
184
|
+
<number form="ordinal" variable="edition" />
|
185
|
+
<text form="short" suffix="." term="edition" />
|
186
|
+
</group>
|
187
|
+
</if>
|
188
|
+
<else>
|
189
|
+
<text suffix="." variable="edition" />
|
190
|
+
</else>
|
191
|
+
</choose>
|
192
|
+
</if>
|
193
|
+
</choose>
|
194
|
+
</macro>
|
195
|
+
<macro name="locators">
|
196
|
+
<choose>
|
197
|
+
<if type="article-journal">
|
198
|
+
<text prefix=" " variable="volume"/>
|
199
|
+
<text prefix=", no. " variable="issue" />
|
200
|
+
</if>
|
201
|
+
<else-if type="book">
|
202
|
+
<group delimiter=". " prefix=". ">
|
203
|
+
<group>
|
204
|
+
<text form="short" suffix=". " term="volume" text-case="capitalize-first" />
|
205
|
+
<number form="numeric" variable="volume" />
|
206
|
+
</group>
|
207
|
+
<group>
|
208
|
+
<number form="numeric" variable="number-of-volumes" />
|
209
|
+
<text form="short" plural="true" prefix=" " suffix="." term="volume" />
|
210
|
+
</group>
|
211
|
+
</group>
|
212
|
+
</else-if>
|
213
|
+
</choose>
|
214
|
+
</macro>
|
215
|
+
<macro name="locators-chapter">
|
216
|
+
<choose>
|
217
|
+
<if type="chapter">
|
218
|
+
<group prefix=", ">
|
219
|
+
<text suffix=":" variable="volume" />
|
220
|
+
<text variable="page" />
|
221
|
+
</group>
|
222
|
+
</if>
|
223
|
+
</choose>
|
224
|
+
</macro>
|
225
|
+
<macro name="locators-article">
|
226
|
+
<choose>
|
227
|
+
<if type="article-newspaper">
|
228
|
+
<group delimiter=", " prefix=", ">
|
229
|
+
<group>
|
230
|
+
<text suffix=" " variable="edition" />
|
231
|
+
<text prefix=" " term="edition" />
|
232
|
+
</group>
|
233
|
+
<group>
|
234
|
+
<text form="short" suffix=". " term="section" />
|
235
|
+
<text variable="section" />
|
236
|
+
</group>
|
237
|
+
</group>
|
238
|
+
</if>
|
239
|
+
<else-if type="article-journal">
|
240
|
+
<text prefix=": " variable="page" />
|
241
|
+
</else-if>
|
242
|
+
</choose>
|
243
|
+
</macro>
|
244
|
+
<macro name="point-locators">
|
245
|
+
<group>
|
246
|
+
<choose>
|
247
|
+
<if locator="page" match="none">
|
248
|
+
<label form="short" suffix=" " variable="locator" />
|
249
|
+
</if>
|
250
|
+
</choose>
|
251
|
+
<text variable="locator" />
|
252
|
+
</group>
|
253
|
+
</macro>
|
254
|
+
<macro name="container-prefix">
|
255
|
+
<text term="in" text-case="capitalize-first" />
|
256
|
+
</macro>
|
257
|
+
<macro name="container-title">
|
258
|
+
<choose>
|
259
|
+
<if type="chapter">
|
260
|
+
<text macro="container-prefix" suffix=" " />
|
261
|
+
</if>
|
262
|
+
</choose>
|
263
|
+
<text font-style="italic" variable="container-title" />
|
264
|
+
</macro>
|
265
|
+
<macro name="publisher">
|
266
|
+
<group delimiter=": ">
|
267
|
+
<text variable="publisher-place" />
|
268
|
+
<text variable="publisher" />
|
269
|
+
</group>
|
270
|
+
</macro>
|
271
|
+
<macro name="date">
|
272
|
+
<date variable="issued">
|
273
|
+
<date-part name="year" />
|
274
|
+
</date>
|
275
|
+
</macro>
|
276
|
+
<macro name="day-month">
|
277
|
+
<date variable="issued">
|
278
|
+
<date-part name="month" />
|
279
|
+
<date-part name="day" prefix=" " />
|
280
|
+
</date>
|
281
|
+
</macro>
|
282
|
+
<macro name="collection-title">
|
283
|
+
<text variable="collection-title" />
|
284
|
+
<text prefix=" " variable="collection-number" />
|
285
|
+
</macro>
|
286
|
+
<macro name="event">
|
287
|
+
<group>
|
288
|
+
<text suffix=" " term="presented at" />
|
289
|
+
<text variable="event" />
|
290
|
+
</group>
|
291
|
+
</macro>
|
292
|
+
<macro name="description">
|
293
|
+
<group delimiter=". ">
|
294
|
+
<text macro="interviewer" />
|
295
|
+
<text text-case="capitalize-first" variable="medium" />
|
296
|
+
</group>
|
297
|
+
<choose>
|
298
|
+
<if match="none" variable="title"> </if>
|
299
|
+
<else-if type="thesis"> </else-if>
|
300
|
+
<else>
|
301
|
+
<text prefix=". " text-case="capitalize-first" variable="genre" />
|
302
|
+
</else>
|
303
|
+
</choose>
|
304
|
+
</macro>
|
305
|
+
<macro name="issue">
|
306
|
+
<choose>
|
307
|
+
<if type="article-journal">
|
308
|
+
<text macro="day-month" prefix=" (" suffix=")" />
|
309
|
+
</if>
|
310
|
+
<else-if type="speech">
|
311
|
+
<group delimiter=", " prefix=" ">
|
312
|
+
<text macro="event" />
|
313
|
+
<text macro="day-month" />
|
314
|
+
<text variable="event-place" />
|
315
|
+
</group>
|
316
|
+
</else-if>
|
317
|
+
<else-if match="any" type="article-newspaper article-magazine">
|
318
|
+
<text macro="day-month" prefix=", " />
|
319
|
+
</else-if>
|
320
|
+
<else>
|
321
|
+
<group delimiter=", " prefix=". ">
|
322
|
+
<choose>
|
323
|
+
<if type="thesis">
|
324
|
+
<text text-case="capitalize-first" variable="genre" />
|
325
|
+
</if>
|
326
|
+
</choose>
|
327
|
+
<text macro="publisher" />
|
328
|
+
<text macro="day-month" />
|
329
|
+
</group>
|
330
|
+
</else>
|
331
|
+
</choose>
|
332
|
+
</macro>
|
333
|
+
<citation
|
334
|
+
disambiguate-add-givenname="true"
|
335
|
+
disambiguate-add-names="true"
|
336
|
+
disambiguate-add-year-suffix="true"
|
337
|
+
et-al-min="4"
|
338
|
+
et-al-subsequent-min="4"
|
339
|
+
et-al-subsequent-use-first="1"
|
340
|
+
et-al-use-first="1">
|
341
|
+
<layout delimiter="; " prefix="(" suffix=")">
|
342
|
+
<group delimiter=", ">
|
343
|
+
<group delimiter=" ">
|
344
|
+
<text macro="contributors-short" />
|
345
|
+
<text macro="date" />
|
346
|
+
</group>
|
347
|
+
<text macro="point-locators" />
|
348
|
+
</group>
|
349
|
+
</layout>
|
350
|
+
</citation>
|
351
|
+
<bibliography
|
352
|
+
entry-spacing="0"
|
353
|
+
et-al-min="11"
|
354
|
+
et-al-use-first="7"
|
355
|
+
hanging-indent="true"
|
356
|
+
subsequent-author-substitute="---">
|
357
|
+
<sort>
|
358
|
+
<key macro="contributors" />
|
359
|
+
<key variable="issued" />
|
360
|
+
</sort>
|
361
|
+
<layout suffix=".">
|
362
|
+
<text macro="contributors" suffix=". " />
|
363
|
+
<text macro="date" suffix=". " />
|
364
|
+
<text macro="title" />
|
365
|
+
<text macro="description" />
|
366
|
+
<text macro="secondary-contributors" prefix=". " />
|
367
|
+
<text macro="container-title" prefix=". " />
|
368
|
+
<text macro="container-contributors" />
|
369
|
+
<text macro="locators-chapter" />
|
370
|
+
<text macro="edition" prefix=". " />
|
371
|
+
<text macro="locators" />
|
372
|
+
<text macro="collection-title" prefix=". "/>
|
373
|
+
<text macro="issue" />
|
374
|
+
<text macro="locators-article"/>
|
375
|
+
<text macro="access" prefix=". " />
|
376
|
+
</layout>
|
377
|
+
</bibliography>
|
378
|
+
</style>
|
379
|
+
"""
|
380
|
+
And the following input:
|
381
|
+
"""
|
382
|
+
[{"author":[{"family":"Doe","given":"John","static-ordering":false}],"container-title":"New Thinker","id":"ITEM-5","issued":{"date-parts":[["1994"]]},"page":"5","title":"An article is it?","type":"article-journal","volume":"10"}]
|
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">Doe, John. 1994. An article is it? <i>New Thinker</i> 10: 5.</div>
|
389
|
+
</div>
|
390
|
+
"""
|