Sha256: f423ff86210aab0a101c384a7832daf245435e421e43c127056ef96fa508684d
Contents?: true
Size: 1.7 KB
Versions: 4
Compression:
Stored size: 1.7 KB
Contents
Feature: position As a CSL cite processor hacker I want the test position_FirstTrueOnlyOnce to pass @citation @position @citations Scenario: First True Only Once 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 suffix="."> <choose> <if position="first"> <group delimiter=" "> <names variable="author"> <name form="short" /> </names> <text quotes="true" variable="title" /> <date prefix="(" suffix=")" variable="issued"> <date-part name="year" /> </date> </group> </if> <else-if position="ibid-with-locator"> <text term="ibid" /> <label form="short" prefix=" " strip-periods="false" variable="locator" /> <text prefix=" " variable="locator" /> </else-if> <else> <text value="WTF?"/> </else> </choose> </layout> </citation> </style> """ And the following input: """ [{"author":[{"family":"Appleton","given":"Victor","static-ordering":false}],"id":"ITEM-1","issued":{"date-parts":[["1910"]]},"title":"Tom Swift and His Electric Runabout","type":"book"}] """ And I have a citations input When I cite all items Then the result should be: """ ..[0] Appleton “Tom Swift and His Electric Runabout” (1910). >>[1] Ibid. p. 23. """
Version data entries
4 entries across 4 versions & 1 rubygems