Sha256: 4e85dfbabf3312308d88e6a89ae1e535579205e504a9c49e0b97024ee38676ca

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 KB

Contents

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

  @bibliography @name
  Scenario: Hyphenated Non Dropping Particle2
    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/>
        </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">Mary Marple</div>
      <div class="csl-entry">Alan al-One</div>
      <div class="csl-entry">Paul Participle</div>
    </div>
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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