Sha256: f5c79f5a8871bbab15f55113a82228e4b7ea99d30a0ccab0e16ba6685b81ba67

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

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

  @citation @name
  Scenario: Mixed Formats With Decorations Plus Et Al Decorations
    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="6"
             et-al-use-first="5">
        <layout delimiter="; ">
          <names variable="author">
            <name delimiter=", ">
              <name-part name="family" text-case="uppercase" />
            </name>
            <et-al font-style="italic" />
          </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":"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:
    """
    Пётр Ильич ЧАЙКОВСКИЙ, Rip VAN WINKLE, 我妻栄, Carl THUCYDIDES III, TOKUGAWA Ieyasu, <i>et al.</i>
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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