Sha256: cf5e4ff5e2c5c9d59ae8715ac663d8cf396294f30357ad177fbca2c448a8ad1a
Contents?: true
Size: 1.43 KB
Versions: 4
Compression:
Stored size: 1.43 KB
Contents
Feature: bibsection As a CSL cite processor hacker I want the test bibsection_Select to pass @bibliography @bibsection @non-standard Scenario: Select 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> <text value="Oops"/> </layout> </citation> <bibliography> <sort> <key variable="title" /> </sort> <layout> <text variable="title" /> </layout> </bibliography> </style> """ And the following input: """ [{"categories":["japanese"],"id":"ITEM-1","title":"Book C","type":"book"},{"categories":["english"],"id":"ITEM-2","title":"Book B","type":"book"},{"categories":["japanese"],"id":"ITEM-3","title":"Book A","type":"book"},{"id":"ITEM-4","title":"Book D","type":"book"},{"categories":["japanese"],"id":"ITEM-5","title":"Article E","type":"article-journal"}] """ When I render the following bibliography selection: """ {"select":[{"field":"type","value":"book"},{"field":"categories","value":"japanese"}]} """ Then the bibliography should be: """ <div class="csl-bib-body"> <div class="csl-entry">Book A</div> <div class="csl-entry">Book C</div> </div> """
Version data entries
4 entries across 4 versions & 1 rubygems