Sha256: 2a93ce8139a032a71ab0bf10418b74914fa57406c108239d463eb98139d6daad
Contents?: true
Size: 1.36 KB
Versions: 4
Compression:
Stored size: 1.36 KB
Contents
Feature: locator As a CSL cite processor hacker I want the test locator_WorkaroundTestForSubVerbo to pass @citation @locator @citations Scenario: Workaround Test For Sub Verbo 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="locator-refs"> <choose> <if locator="book chapter column figure folio issue line note opus page paragraph part section verse volume" match="none"> <text variable="locator" prefix=", "/> </if> <else> <label variable="locator" form="short" prefix=", "/> <text variable="locator" prefix=" "/> </else> </choose> </macro> <citation> <layout> <text variable="title"/> <text macro="locator-refs" /> </layout> </citation> </style> """ And the following input: """ [{"id":"ITEM-1","title":"Book With Opus","type":"book"},{"id":"ITEM-2","title":"Book With Sub Verbo","type":"book"}] """ And I have a citations input When I cite all items Then the result should be: """ ..[0] Book With Opus, op. 100 >>[1] Book With Sub Verbo, 200 """
Version data entries
4 entries across 4 versions & 1 rubygems