Sha256: b9ad7ccb887991fc271afbb1fc39e6fd486319b008229fd8d0ef0fd6633ffe21

Contents?: true

Size: 1.4 KB

Versions: 4

Compression:

Stored size: 1.4 KB

Contents

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

  @citation @disambiguate
  Scenario: All Names Simple Sequence
    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-givenname="true" givenname-disambiguation-rule="all-names">
        <layout delimiter="; " prefix="(" suffix=")">
          <group delimiter=" ">
            <names delimiter=", " variable="author">
              <name and="text" delimiter=", " form="short" />
            </names>
            <date variable="issued">
              <date-part name="year" />
            </date>
            <text variable="year-suffix" />
          </group>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Malone","given":"Nolan J.","static-ordering":false}],"id":"ITEM-1","issued":{"date-parts":[["2001"]]},"type":"book"},{"author":[{"family":"Malone","given":"Kemp","static-ordering":false}],"id":"ITEM-2","issued":{"date-parts":[["1951"]]},"type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    (Nolan J. Malone 2001; Kemp Malone 1951)
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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