Sha256: 06f12fb671017a61b0defb6a9baf7cffb708c73afd2e7e54a1a426d0ab873d94

Contents?: true

Size: 1.07 KB

Versions: 4

Compression:

Stored size: 1.07 KB

Contents

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

  @citation @position @citations
  Scenario: Ibid With Prefix Full Stop
    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>
      <locale>
       <style-options punctuation-in-quote="true"/>
      </locale>
      <citation>
        <layout delimiter="; ">
          <choose>
            <if position="subsequent">
              <text term="ibid"/>
            </if>
            <else>
              <text variable="title"/>
            </else>
          </choose>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","title":"Book A","type":"book"}]
    """
    And I have a citations input
    When I cite all items
    Then the result should be:
    """
    >>[0] Book A. He said “Please work.” Ibid.
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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