Sha256: c34c84d0112d6c38d483c8ac4ad60020b463b246a33e832d03142a5212e18c0f

Contents?: true

Size: 1.5 KB

Versions: 4

Compression:

Stored size: 1.5 KB

Contents

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

  @bibliography @name @citations @non-standard
  Scenario: Particle Caps3
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0"
          demote-non-dropping-particle="sort-only">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation>
        <layout>
          <text value="Bogus"/>
        </layout>
      </citation>
      <bibliography>
        <layout>
          <group>
            <names variable="author" delimiter="; ">
              <name delimiter=", "/>
            </names>
          </group>
        </layout>
      </bibliography>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"van One","given":"Onename"},{"family":"van Two","given":"Twoname"}],"id":"ITEM-1","type":"book"},{"author":[{"family":"van Three","given":"Threename"},{"family":"Van Four","given":"Fourname"}],"id":"ITEM-2","type":"book"},{"author":[{"family":"\"Van Dyke\"","given":"Dick"}],"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">Onename van One, Twoname van Two</div>
      <div class="csl-entry">Threename van Three, Fourname Van Four</div>
      <div class="csl-entry">Dick Van Dyke</div>
    </div>
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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