Sha256: 3346f49a454cd9430ad61116ae290978812bf79336661d6455cdca86ffa41179

Contents?: true

Size: 1.62 KB

Versions: 4

Compression:

Stored size: 1.62 KB

Contents

Feature: position
  As a CSL cite processor hacker
  I want the test position_IbidWithSuffix to pass

  @bibliography @position @citations
  Scenario: Ibid With Suffix
    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>
      <macro name="author">
        <names variable="author">
          <name/>
        </names>
      </macro>
      <citation>
        <layout>
          <text value="Bogus"/>
        </layout>
      </citation>
      <bibliography>
        <sort>
           <key macro="author"/>
        </sort>
        <layout>
          <names variable="author">
            <name/>
          </names>
        </layout>
      </bibliography>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Al-Khatib Organization"}],"id":"ITEM-1","type":"book"},{"author":[{"family":"Aberdeen","given":"Alan"}],"id":"ITEM-2","type":"book"},{"author":[{"family":"Butterfield","given":"Beatrice"}],"id":"ITEM-3","type":"book"},{"author":[{"family":"Kaspersky","given":"Sergei"}],"id":"ITEM-4","type":"book"}]
    """
    When I render the entire bibliography
    Then the bibliography should be:
    """
    <div class="csl-bib-body">
      <div class="csl-entry">Alan Aberdeen</div>
      <div class="csl-entry">Al-Khatib Organization</div>
      <div class="csl-entry">Beatrice Butterfield</div>
      <div class="csl-entry">Sergei Kaspersky</div>
    </div>
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/position/IbidWithSuffix.feature
citeproc-1.0.6 features/position/IbidWithSuffix.feature
citeproc-1.0.5 features/position/IbidWithSuffix.feature
citeproc-1.0.4 features/position/IbidWithSuffix.feature