Sha256: 75bce8ac9cb0ed5e4a281456704bd830554d5e50261445ab28c7587b9d3c77f3
Contents?: true
Size: 1.61 KB
Versions: 4
Compression:
Stored size: 1.61 KB
Contents
Feature: integration As a CSL cite processor hacker I want the test integration_CitationSort to pass @citation @integration @citations Scenario: Citation Sort 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="author"/> </sort> <layout delimiter="; " prefix="(" suffix=")"> <choose> <if position="first"> <names variable="author"> <name form="short"/> </names> <group prefix=" "> <label variable="locator" form="short" suffix=" "/> <text variable="locator"/> </group> </if> <else> <text term="ibid"/> </else> </choose> </layout> </citation> </style> """ And the following input: """ [{"author":[{"family":"Doe","given":"John","static-ordering":false}],"id":"ITEM-1","type":"book"},{"author":[{"family":"Roe","given":"Jane","static-ordering":false}],"id":"ITEM-2","type":"book"},{"author":[{"family":"Noakes","given":"John","static-ordering":false}],"id":"ITEM-3","type":"book"},{"author":[{"family":"Snoakes","given":"Richard","static-ordering":false}],"id":"ITEM-4","type":"book"}] """ And I have a citations input When I cite all items Then the result should be: """ >>[0] (Doe; Noakes; Roe; Snoakes) """
Version data entries
4 entries across 4 versions & 1 rubygems