Sha256: 34278f0a779f7706465c3369c0ec7205775837ce35eae08e2bcacdcd1aadb1b5

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

Feature: name
  As a CSL cite processor hacker
  I want the test name_CeltsAndToffsSpacedInitials to pass

  @citation @name
  Scenario: Celts And Toffs Spaced Initials
    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>
        <layout>
          <names variable="translator">
            <name and="symbol" delimiter=", " delimiter-precedes-last="always" initialize-with=". " name-as-sort-order="all" sort-separator=", " />
          </names>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"item-1","issued":{"date-parts":[["1952"]]},"title":"Leonardo on the Human Body","translator":[{"family":"O’Malley","given":"Charles D.","static-ordering":false},{"family":"Saunders","given":"John Bertrand de Cusance Morant","static-ordering":false}],"type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    O’Malley, C. D., &amp; Saunders, J. B. de C. M.
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/name/CeltsAndToffsSpacedInitials.feature
citeproc-1.0.6 features/name/CeltsAndToffsSpacedInitials.feature
citeproc-1.0.5 features/name/CeltsAndToffsSpacedInitials.feature
citeproc-1.0.4 features/name/CeltsAndToffsSpacedInitials.feature