Sha256: d22dc89c7f44f997a9ecf8976236268d1d0b48e04d27da0156ccc69b6a2c417a
Contents?: true
Size: 1.54 KB
Versions: 4
Compression:
Stored size: 1.54 KB
Contents
Feature: collapse As a CSL cite processor hacker I want the test collapse_CitationNumberRangesWithAffixesGroupedLocator to pass @citation @collapse @citations Scenario: Citation Number Ranges With Affixes Grouped Locator 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> <macro name="citation-locator"> <group delimiter=" "> <choose> <if locator="page"> <label variable="locator" form="short"/> </if> <else> <label variable="locator" form="short" text-case="capitalize-first"/> </else> </choose> <text variable="locator"/> </group> </macro> <citation collapse="citation-number"> <layout delimiter="," font-weight="bold" prefix="(" suffix=")"> <group prefix="[" suffix="]" delimiter=", "> <text variable="citation-number"/> <text macro="citation-locator"/> </group> </layout> </citation> </style> """ And the following input: """ [{"id":"ITEM-1","title":"Paper 1","type":"book"},{"id":"ITEM-2","title":"Paper 2"},{"id":"ITEM-3","title":"Paper 3","type":"book"}] """ And I have a citations input When I cite all items Then the result should be: """ >>[0] <b>([1],[2, p. 23],[3])</b> """
Version data entries
4 entries across 4 versions & 1 rubygems