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,37 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_DateNoDateNoTest to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: Date No Date No Test
|
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
|
+
<date prefix="(" suffix=")" variable="issued">
|
21
|
+
<date-part form="long" name="month" />
|
22
|
+
<date-part name="day" suffix=", " />
|
23
|
+
<date-part name="year" />
|
24
|
+
</date>
|
25
|
+
</layout>
|
26
|
+
</citation>
|
27
|
+
</style>
|
28
|
+
"""
|
29
|
+
And the following input:
|
30
|
+
"""
|
31
|
+
[{"id":"ITEM-1","title":"Ignore me","type":"book"}]
|
32
|
+
"""
|
33
|
+
When I cite all items
|
34
|
+
Then the result should be:
|
35
|
+
"""
|
36
|
+
[CSL STYLE ERROR: reference with no printed form.]
|
37
|
+
"""
|
@@ -0,0 +1,45 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_DateNoDateWithTest to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: Date No Date With Test
|
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 variable="title"/>
|
21
|
+
<choose>
|
22
|
+
<if variable="issued">
|
23
|
+
<date prefix=" (" suffix=")" variable="issued">
|
24
|
+
<date-part form="long" name="month" />
|
25
|
+
<date-part name="day" suffix=", " />
|
26
|
+
<date-part name="year" />
|
27
|
+
</date>
|
28
|
+
</if>
|
29
|
+
<else>
|
30
|
+
<text term="no date" form="short" prefix=" (" suffix=")"/>
|
31
|
+
</else>
|
32
|
+
</choose>
|
33
|
+
</layout>
|
34
|
+
</citation>
|
35
|
+
</style>
|
36
|
+
"""
|
37
|
+
And the following input:
|
38
|
+
"""
|
39
|
+
[{"id":"ITEM-1","title":"Title Thing","type":"book"}]
|
40
|
+
"""
|
41
|
+
When I cite all items
|
42
|
+
Then the result should be:
|
43
|
+
"""
|
44
|
+
Title Thing (n.d.)
|
45
|
+
"""
|
@@ -0,0 +1,44 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_DayOrdinalDayOneOnly to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: Day Ordinal Day One Only
|
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
|
+
<locale>
|
19
|
+
<style-options limit-day-ordinals-to-day-1="true"/>
|
20
|
+
<date form="text">
|
21
|
+
<date-part name="day" suffix=" " form="ordinal"/>
|
22
|
+
<date-part name="month" suffix=" "/>
|
23
|
+
<date-part name="year"/>
|
24
|
+
</date>
|
25
|
+
</locale>
|
26
|
+
<citation>
|
27
|
+
<layout delimiter="; ">
|
28
|
+
<group delimiter=" ">
|
29
|
+
<text variable="title"/>
|
30
|
+
<date variable="issued" prefix="(" suffix=")" form="text" date-parts="year-month-day"/>
|
31
|
+
</group>
|
32
|
+
</layout>
|
33
|
+
</citation>
|
34
|
+
</style>
|
35
|
+
"""
|
36
|
+
And the following input:
|
37
|
+
"""
|
38
|
+
[{"id":"ITEM-1","issued":{"date-parts":[["1965","6","1"]]},"title":"Day One","type":"book"},{"id":"ITEM-2","issued":{"date-parts":[["1965","6","2"]]},"title":"Day Two","type":"book"}]
|
39
|
+
"""
|
40
|
+
When I cite all items
|
41
|
+
Then the result should be:
|
42
|
+
"""
|
43
|
+
Day One (1st June 1965); Day Two (2 June 1965)
|
44
|
+
"""
|
@@ -0,0 +1,37 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_IgnoreNonexistentSort to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: Ignore Nonexistent 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
|
+
<info>
|
14
|
+
<id />
|
15
|
+
<title />
|
16
|
+
<updated>2009-08-10T04:49:00+09:00</updated>
|
17
|
+
</info>
|
18
|
+
<citation>
|
19
|
+
<sort>
|
20
|
+
<key sort="descending" variable="issued" />
|
21
|
+
<key variable="title" />
|
22
|
+
</sort>
|
23
|
+
<layout delimiter="; ">
|
24
|
+
<text variable="title" />
|
25
|
+
</layout>
|
26
|
+
</citation>
|
27
|
+
</style>
|
28
|
+
"""
|
29
|
+
And the following input:
|
30
|
+
"""
|
31
|
+
[{"id":"ITEM-1","title":"Item 1","type":"book"},{"id":"ITEM-2","issued":{"date-parts":[["1999","2","15"]]},"title":"Item 2","type":"book"},{"id":"ITEM-3","title":"Item 3","type":"book"},{"id":"ITEM-4","issued":{"date-parts":[["2000","2","15"]]},"title":"Item 4","type":"book"}]
|
32
|
+
"""
|
33
|
+
When I cite all items
|
34
|
+
Then the result should be:
|
35
|
+
"""
|
36
|
+
Item 4; Item 2; Item 1; Item 3
|
37
|
+
"""
|
@@ -0,0 +1,38 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_InPress to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: In Press
|
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 prefix="(" suffix=")">
|
20
|
+
<group delimiter=" ">
|
21
|
+
<names variable="author">
|
22
|
+
<name/>
|
23
|
+
</names>
|
24
|
+
<date variable="issued" form="text" date-parts="year"/>
|
25
|
+
</group>
|
26
|
+
</layout>
|
27
|
+
</citation>
|
28
|
+
</style>
|
29
|
+
"""
|
30
|
+
And the following input:
|
31
|
+
"""
|
32
|
+
[{"author":[{"family":"Doe","given":"John"}],"id":"ITEM-1","issued":{"date-parts":[],"literal":"(in press)"},"type":"book"}]
|
33
|
+
"""
|
34
|
+
When I cite all items
|
35
|
+
Then the result should be:
|
36
|
+
"""
|
37
|
+
(John Doe (in press))
|
38
|
+
"""
|
@@ -0,0 +1,33 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_January to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: January
|
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
|
+
<date variable="issued" form="text" date-parts="year-month-day"/>
|
21
|
+
</layout>
|
22
|
+
</citation>
|
23
|
+
</style>
|
24
|
+
"""
|
25
|
+
And the following input:
|
26
|
+
"""
|
27
|
+
[{"id":"ITEM-1","issued":{"date-parts":[["1965","1","30"]]},"type":"book"}]
|
28
|
+
"""
|
29
|
+
When I cite all items
|
30
|
+
Then the result should be:
|
31
|
+
"""
|
32
|
+
January 30, 1965
|
33
|
+
"""
|
@@ -0,0 +1,46 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_KeyVariable to pass
|
4
|
+
|
5
|
+
@bibliography @date
|
6
|
+
Scenario: Key Variable
|
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 variable="title" />
|
21
|
+
</layout>
|
22
|
+
</citation>
|
23
|
+
<bibliography>
|
24
|
+
<sort>
|
25
|
+
<key sort="descending" variable="issued" />
|
26
|
+
</sort>
|
27
|
+
<layout>
|
28
|
+
<text variable="title" />
|
29
|
+
</layout>
|
30
|
+
</bibliography>
|
31
|
+
</style>
|
32
|
+
"""
|
33
|
+
And the following input:
|
34
|
+
"""
|
35
|
+
[{"id":"ITEM-1","issued":{"date-parts":[["2000","2","15"]]},"title":"Book C","type":"book"},{"id":"ITEM-2","issued":{"date-parts":[["2000","12","15"]]},"title":"Book B","type":"book"},{"id":"ITEM-3","issued":{"date-parts":[["2001"]]},"title":"Book A","type":"book"},{"id":"ITEM-4","issued":{"date-parts":[["2000"]]},"title":"Book D","type":"book"}]
|
36
|
+
"""
|
37
|
+
When I render the entire bibliography
|
38
|
+
Then the bibliography should be:
|
39
|
+
"""
|
40
|
+
<div class="csl-bib-body">
|
41
|
+
<div class="csl-entry">Book A</div>
|
42
|
+
<div class="csl-entry">Book B</div>
|
43
|
+
<div class="csl-entry">Book C</div>
|
44
|
+
<div class="csl-entry">Book D</div>
|
45
|
+
</div>
|
46
|
+
"""
|
@@ -0,0 +1,38 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_LiteralFailGracefullyIfNoValue to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: Literal Fail Gracefully If No Value
|
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="Only Me" />
|
21
|
+
<date prefix="(" suffix=")" variable="issued">
|
22
|
+
<date-part form="long" name="month" />
|
23
|
+
<date-part name="day" suffix=", " />
|
24
|
+
<date-part name="year" />
|
25
|
+
</date>
|
26
|
+
</layout>
|
27
|
+
</citation>
|
28
|
+
</style>
|
29
|
+
"""
|
30
|
+
And the following input:
|
31
|
+
"""
|
32
|
+
[{"id":"ITEM-1","issued":{"date-parts":[]},"title":"Ignore me","type":"book"}]
|
33
|
+
"""
|
34
|
+
When I cite all items
|
35
|
+
Then the result should be:
|
36
|
+
"""
|
37
|
+
Only Me
|
38
|
+
"""
|
@@ -0,0 +1,57 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_LocalizedDateFormats-af-ZA to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: Localized Date Formats-af-ZA
|
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
|
+
<locale>
|
19
|
+
<date form="text">
|
20
|
+
<date-part name="day" form="numeric-leading-zeros" suffix=" "/>
|
21
|
+
<date-part name="month" suffix=" "/>
|
22
|
+
<date-part name="year"/>
|
23
|
+
</date>
|
24
|
+
<date form="numeric">
|
25
|
+
<date-part name="year"/>
|
26
|
+
<date-part name="month" form="numeric-leading-zeros" prefix="/"/>
|
27
|
+
<date-part name="day" form="numeric-leading-zeros" prefix="/"/>
|
28
|
+
</date>
|
29
|
+
</locale>
|
30
|
+
<citation>
|
31
|
+
<layout>
|
32
|
+
<group delimiter="
">
|
33
|
+
<date variable="issued" form="text" date-parts="year-month-day"/>
|
34
|
+
<date variable="issued" form="text" date-parts="year-month"/>
|
35
|
+
<date variable="issued" form="text" date-parts="year"/>
|
36
|
+
<date variable="issued" form="numeric" date-parts="year-month-day"/>
|
37
|
+
<date variable="issued" form="numeric" date-parts="year-month"/>
|
38
|
+
<date variable="issued" form="numeric" date-parts="year"/>
|
39
|
+
</group>
|
40
|
+
</layout>
|
41
|
+
</citation>
|
42
|
+
</style>
|
43
|
+
"""
|
44
|
+
And the following input:
|
45
|
+
"""
|
46
|
+
[{"id":"ITEM-1","issued":{"date-parts":[[1998,4,10]]},"title":"BookA"}]
|
47
|
+
"""
|
48
|
+
When I cite all items
|
49
|
+
Then the result should be:
|
50
|
+
"""
|
51
|
+
10 April 1998
|
52
|
+
April 1998
|
53
|
+
1998
|
54
|
+
1998/04/10
|
55
|
+
1998/04
|
56
|
+
1998
|
57
|
+
"""
|
@@ -0,0 +1,57 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_LocalizedDateFormats-ar-AR to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: Localized Date Formats-ar-AR
|
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
|
+
<locale>
|
19
|
+
<date form="text">
|
20
|
+
<date-part name="day" suffix=" "/>
|
21
|
+
<date-part name="month" suffix=", "/>
|
22
|
+
<date-part name="year"/>
|
23
|
+
</date>
|
24
|
+
<date form="numeric">
|
25
|
+
<date-part name="day" suffix="/"/>
|
26
|
+
<date-part name="month" form="numeric" suffix="/"/>
|
27
|
+
<date-part name="year"/>
|
28
|
+
</date>
|
29
|
+
</locale>
|
30
|
+
<citation>
|
31
|
+
<layout>
|
32
|
+
<group delimiter="
">
|
33
|
+
<date variable="issued" form="text" date-parts="year-month-day"/>
|
34
|
+
<date variable="issued" form="text" date-parts="year-month"/>
|
35
|
+
<date variable="issued" form="text" date-parts="year"/>
|
36
|
+
<date variable="issued" form="numeric" date-parts="year-month-day"/>
|
37
|
+
<date variable="issued" form="numeric" date-parts="year-month"/>
|
38
|
+
<date variable="issued" form="numeric" date-parts="year"/>
|
39
|
+
</group>
|
40
|
+
</layout>
|
41
|
+
</citation>
|
42
|
+
</style>
|
43
|
+
"""
|
44
|
+
And the following input:
|
45
|
+
"""
|
46
|
+
[{"id":"ITEM-1","issued":{"date-parts":[[1998,4,10]]},"title":"BookA"}]
|
47
|
+
"""
|
48
|
+
When I cite all items
|
49
|
+
Then the result should be:
|
50
|
+
"""
|
51
|
+
10 April, 1998
|
52
|
+
April, 1998
|
53
|
+
1998
|
54
|
+
10/4/1998
|
55
|
+
4/1998
|
56
|
+
1998
|
57
|
+
"""
|
@@ -0,0 +1,57 @@
|
|
1
|
+
Feature: date
|
2
|
+
As a CSL cite processor hacker
|
3
|
+
I want the test date_LocalizedDateFormats-bg-BG to pass
|
4
|
+
|
5
|
+
@citation @date
|
6
|
+
Scenario: Localized Date Formats-bg-BG
|
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
|
+
<locale>
|
19
|
+
<date form="text">
|
20
|
+
<date-part name="day" form="numeric-leading-zeros" suffix=" "/>
|
21
|
+
<date-part name="month" suffix=" "/>
|
22
|
+
<date-part name="year"/>
|
23
|
+
</date>
|
24
|
+
<date form="numeric">
|
25
|
+
<date-part name="day" form="numeric-leading-zeros" suffix="."/>
|
26
|
+
<date-part name="month" form="numeric-leading-zeros" suffix="."/>
|
27
|
+
<date-part name="year"/>
|
28
|
+
</date>
|
29
|
+
</locale>
|
30
|
+
<citation>
|
31
|
+
<layout>
|
32
|
+
<group delimiter="
">
|
33
|
+
<date variable="issued" form="text" date-parts="year-month-day"/>
|
34
|
+
<date variable="issued" form="text" date-parts="year-month"/>
|
35
|
+
<date variable="issued" form="text" date-parts="year"/>
|
36
|
+
<date variable="issued" form="numeric" date-parts="year-month-day"/>
|
37
|
+
<date variable="issued" form="numeric" date-parts="year-month"/>
|
38
|
+
<date variable="issued" form="numeric" date-parts="year"/>
|
39
|
+
</group>
|
40
|
+
</layout>
|
41
|
+
</citation>
|
42
|
+
</style>
|
43
|
+
"""
|
44
|
+
And the following input:
|
45
|
+
"""
|
46
|
+
[{"id":"ITEM-1","issued":{"date-parts":[[1998,4,10]]},"title":"BookA"}]
|
47
|
+
"""
|
48
|
+
When I cite all items
|
49
|
+
Then the result should be:
|
50
|
+
"""
|
51
|
+
10 April 1998
|
52
|
+
April 1998
|
53
|
+
1998
|
54
|
+
10.04.1998
|
55
|
+
04.1998
|
56
|
+
1998
|
57
|
+
"""
|