Sha256: f163350297a10fa3df22052e1d2dfe81bf3b69da74a8d28e7ad12da9f81e000e

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

Feature: magic
  As a CSL cite processor hacker
  I want the test magic_EntrySpacingDouble to pass

  @bibliography @magic
  Scenario: Entry Spacing Double
    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>
        <layout>
          <text value="hello" />
        </layout>
      </citation>
      <bibliography 
             entry-spacing="2">
        <layout>
          <group delimiter=" ">
            <group delimiter=", ">
              <names variable="author">
                <name />
              </names>
              <text variable="title" />
            </group>
            <date prefix="(" suffix=")" variable="issued">
              <date-part name="year" />
            </date>
          </group>
        </layout>
      </bibliography>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Smith","given":"John","static-ordering":false}],"id":"ITEM-1","issued":{"date-parts":[["2000"]]},"title":"Book A","type":"book"},{"author":[{"family":"Jones","given":"Robert","static-ordering":false}],"id":"ITEM-2","issued":{"date-parts":[["2001"]]},"title":"Book B","type":"book"}]
    """
    When I render the entire bibliography
    Then the bibliography should be:
    """
    <div class="csl-bib-body">
      <div class="csl-entry">John Smith, Book A (2000)</div>
      <div class="csl-entry">Robert Jones, Book B (2001)</div>
    </div>
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/magic/EntrySpacingDouble.feature
citeproc-1.0.6 features/magic/EntrySpacingDouble.feature
citeproc-1.0.5 features/magic/EntrySpacingDouble.feature
citeproc-1.0.4 features/magic/EntrySpacingDouble.feature