Sha256: 1648ecc192b36004ec6d47b614fd1303381ce5c9a0c218a6b06a91be5f1b037c

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

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

  @citation @name
  Scenario: Celts And Toffs No Hyphens
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0"
          initialize-with-hyphen="false">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation>
        <layout>
          <names variable="translator">
            <name and="symbol" delimiter=", " delimiter-precedes-last="always" initialize-with="." name-as-sort-order="all" sort-separator=", " />
          </names>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"item-1","issued":{"date-parts":[["1933"]]},"title":"Book A","translator":[{"family":"Chen","given":"Hsien-Li","static-ordering":false}],"type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    Chen, H.L.
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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