Sha256: de2fe6c8a7d5237e2ed82303beff0f439031ba250dace0007d18cb74d689f437
Contents?: true
Size: 1.1 KB
Versions: 4
Compression:
Stored size: 1.1 KB
Contents
Feature: collapse As a CSL cite processor hacker I want the test collapse_CitationNumberRangesInsert to pass @citation @collapse @citations Scenario: Citation Number Ranges Insert 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 collapse="citation-number"> <sort> <key variable="citation-number" /> </sort> <layout delimiter=", "> <text prefix="[" suffix="]" variable="citation-number" /> </layout> </citation> </style> """ And the following input: """ [{"id":"ITEM-1","title":"Paper 1","type":"book"},{"id":"ITEM-2","title":"Paper 2","type":"book"},{"id":"ITEM-3","title":"Paper 3","type":"book"},{"id":"ITEM-4","title":"Paper 4","type":"book"}] """ And I have a citations input When I cite all items Then the result should be: """ ..[0] [1] >>[1] [1]–[4] """
Version data entries
4 entries across 4 versions & 1 rubygems