Sha256: 32e16254c27db52efff44a85a6cc3a33293a1503efb4f5d98882f9b863a9fd0b

Contents?: true

Size: 841 Bytes

Versions: 4

Compression:

Stored size: 841 Bytes

Contents

Feature: virtual
  As a CSL cite processor hacker
  I want the test virtual_PageFirst to pass

  @citation @virtual
  Scenario: Page First
    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>
      <macro name="page-first">
        <text variable="page-first"/>
      </macro>
      <citation>
        <layout>
    	  <text variable="page-first" suffix=":"/>
          <text macro="page-first"/>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","page":"12-20","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    12:12
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/virtual/PageFirst.feature
citeproc-1.0.6 features/virtual/PageFirst.feature
citeproc-1.0.5 features/virtual/PageFirst.feature
citeproc-1.0.4 features/virtual/PageFirst.feature