Sha256: c7e11e64608f012bc4c98da213426c8bbd9e6df5b4b57570e6094bccfebc05b6

Contents?: true

Size: 1.49 KB

Versions: 4

Compression:

Stored size: 1.49 KB

Contents

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

  @bibliography @name
  Scenario: Hyphenated Non Dropping Particle1
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0"
          demote-non-dropping-particle="always">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <macro name="author">
        <names variable="author">
          <name name-as-sort-order="all"/>
        </names>
      </macro>
      <citation>
        <layout delimiter="; ">
          <text value="Bogus"/>
        </layout>
      </citation>
      <bibliography>
        <sort>
          <key macro="author" />
        </sort>
        <layout delimiter="; ">
          <text macro="author" />
        </layout>
      </bibliography>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"al-One","given":"Alan"}],"id":"ITEM-1","type":"book"},{"author":[{"family":"Marple","given":"Mary"}],"id":"ITEM-2","type":"book"},{"author":[{"family":"Participle","given":"Paul"}],"id":"ITEM-3","type":"book"}]
    """
    When I render the entire bibliography
    Then the bibliography should be:
    """
    <div class="csl-bib-body">
      <div class="csl-entry">Marple, Mary</div>
      <div class="csl-entry">al-One, Alan</div>
      <div class="csl-entry">Participle, Paul</div>
    </div>
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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