Sha256: c9756175ae6b07ea0a5a78310bfec739b326e881d27de883fb6826a97bdbef7f

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

Feature: collapse
  As a CSL cite processor hacker
  I want the test collapse_CitationNumberRangesWithAffixesNoCollapse to pass

  @citation @collapse
  Scenario: Citation Number Ranges With Affixes No Collapse
    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>
        <sort>
          <key variable="citation-number" />
        </sort>
        <layout delimiter="," font-weight="bold" prefix="(" suffix=")">
          <text prefix="[" suffix="]" variable="citation-number" />
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","title":"Paper 1","type":"book"},{"id":"ITEM-2","title":"Paper 2","type":"book"},{"id":"ITEM-3","title":"Paper 3","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    <b>([1],[2],[3])</b>
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/collapse/CitationNumberRangesWithAffixesNoCollapse.feature
citeproc-1.0.6 features/collapse/CitationNumberRangesWithAffixesNoCollapse.feature
citeproc-1.0.5 features/collapse/CitationNumberRangesWithAffixesNoCollapse.feature
citeproc-1.0.4 features/collapse/CitationNumberRangesWithAffixesNoCollapse.feature