Sha256: 2b8e7cb82ef1ced2dd2d849189da3af6882d8e01842bc7e1add77d356da6f66c

Contents?: true

Size: 1.75 KB

Versions: 4

Compression:

Stored size: 1.75 KB

Contents

Feature: name
  As a CSL cite processor hacker
  I want the test name_MixedFormatsInitialSortOrderFirstWithDecorationsEtAl to pass

  @citation @name
  Scenario: Mixed Formats Initial Sort Order First With Decorations Et Al
    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 
             et-al-min="8"
             et-al-use-first="7">
        <layout delimiter="; ">
          <names variable="author">
            <name delimiter=", " initialize-with="." name-as-sort-order="first" sort-separator=", ">
              <name-part name="family" text-case="uppercase" />
            </name>
          </names>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Чайковский","given":"Пётр Ильич","static-ordering":false},{"family":"Winkle","given":"Rip","non-dropping-particle":"van","static-ordering":false},{"family":"我妻","given":"栄","static-ordering":false},{"family":"Thucydides","given":"Carl","static-ordering":false,"suffix":"III"},{"family":"Česnek","given":"Šťěpán","static-ordering":false},{"family":"Malíková","given":"Andrea","static-ordering":false},{"family":"Tokugawa","given":"Ieyasu","static-ordering":true},{"given":"Prince","static-ordering":false}],"id":"item-1","issued":{"date-parts":[["2000"]]},"title":"Our Story","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    ЧАЙКОВСКИЙ, П.И., R. VAN WINKLE, 我妻栄, C. THUCYDIDES III, Š. ČESNEK, A. MALÍKOVÁ, TOKUGAWA I., et al.
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/name/MixedFormatsInitialSortOrderFirstWithDecorationsEtAl.feature
citeproc-1.0.6 features/name/MixedFormatsInitialSortOrderFirstWithDecorationsEtAl.feature
citeproc-1.0.5 features/name/MixedFormatsInitialSortOrderFirstWithDecorationsEtAl.feature
citeproc-1.0.4 features/name/MixedFormatsInitialSortOrderFirstWithDecorationsEtAl.feature