Sha256: ad7d6bc4da74da9d2fdeebc0c343684283f39a3d3069f19f6a62e687e4b203b7

Contents?: true

Size: 774 Bytes

Versions: 9

Compression:

Stored size: 774 Bytes

Contents

Feature: Locale overrides
  As a hacker of CSL styles
  I want to overrice localized terms
  In the locale section of a CSL style

  @locale-override @page-range
  Scenario: Page range delimiter override
    Given the following style:
      """
      <style page-range-format="expanded">
        <locale>
          <terms>
            <term name="page-range-delimiter">--</term>
          </terms>
        </locale>
        <citation>
          <layout>
            <text variable="page"/>
          </layout>
        </citation>
      </style>
      """
    When I cite the following items as "text":
      | page      |
      | 23        |
      | 23-5      |
      | 23-25     |
    Then the results should be:
      | 23        |
      | 23--25    |
      | 23--25    |

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
citeproc-ruby-1.1.8 features/locale_overrides.feature
citeproc-ruby-1.1.7 features/locale_overrides.feature
citeproc-ruby-1.1.6 features/locale_overrides.feature
citeproc-ruby-1.1.5 features/locale_overrides.feature
citeproc-ruby-1.1.4 features/locale_overrides.feature
citeproc-ruby-1.1.3 features/locale_overrides.feature
citeproc-ruby-1.1.2 features/locale_overrides.feature
citeproc-ruby-1.1.1 features/locale_overrides.feature
citeproc-ruby-1.1.0 features/locale_overrides.feature