citeproc-0.1: test/csl/collapse_AuthorCollapse.txt
>>===== MODE =====>>
citation
<<===== MODE =====<<
>>===== RESULT =====>>
(Smith 1900, 2000)
<<===== RESULT =====<<
>>===== CSL =====>>
<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="year">
<layout prefix="(" suffix=")" delimiter=", ">
<group delimiter=" ">
<names variable="author">
<name form="short"/>
</names>
<date variable="issued">
<date-part name="year" />
</date>
</group>
</layout>
</citation>
</style>
<<===== CSL =====<<
>>===== INPUT =====>>
[
{
"author": [
{
"family": "Smith",
"given": "John"
}
],
"id": "ITEM-1",
"issued": {
"date-parts": [
[
1900
]
]
},
"title": "Ignore me 1",
"type": "book"
},
{
"author": [
{
"family": "Smith",
"given": "John"
}
],
"id": "ITEM-2",
"issued": {
"date-parts": [
[
2000
]
]
},
"title": "Ignore me 2",
"type": "book"
}
]
<<===== INPUT =====<<
>>===== VERSION =====>>
1.0
<<===== VERSION =====<<