Sha256: bcbf37883e8c860efb6510344b3374eb58741796be65164f829310f77596c814

Contents?: true

Size: 1.23 KB

Versions: 4

Compression:

Stored size: 1.23 KB

Contents

Feature: disambiguate
  As a CSL cite processor hacker
  I want the test disambiguate_CitationLabelDefault to pass

  @citation @disambiguate
  Scenario: Citation Label Default
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation 
             disambiguate-add-year-suffix="true">
        <layout delimiter="; ">
            <text variable="citation-label"/>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Asthma","given":"Albert","static-ordering":false}],"id":"ITEM-1","issued":{"date-parts":[["1900"]]},"title":"Book A","type":"book"},{"author":[{"family":"Asthma","given":"Zeppo","static-ordering":false}],"id":"ITEM-2","issued":{"date-parts":[["1900"]]},"title":"Book B","type":"book"},{"author":[{"family":"Bronchitis","given":"Buffy","static-ordering":false}],"id":"ITEM-3","issued":{"date-parts":[["2000"]]},"title":"Book C","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    Asth00a; Asth00b; Bron00
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/disambiguate/CitationLabelDefault.feature
citeproc-1.0.6 features/disambiguate/CitationLabelDefault.feature
citeproc-1.0.5 features/disambiguate/CitationLabelDefault.feature
citeproc-1.0.4 features/disambiguate/CitationLabelDefault.feature