Sha256: 2f4837bd1aa67792316a4ffb3de9f4547d26acb2535e65c8c52f36b64be7012c

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

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

  @citation @name
  Scenario: Period After 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>
          <group delimiter=", ">
            <names variable="author">
              <name initialize-with=". " name-as-sort-order="first" sort-separator=", "/>
            </names>
            <text variable="title"/>
          </group>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Doe","given":"John Jeeves","static-ordering":false}],"id":"ITEM-1","title":"His Anonymous Life","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    Doe, J. J., His Anonymous Life
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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