citeproc-0.1: test/csl/bugreports_CitationSortsWithEtAl.txt
>>==== MODE ====>>
citation
<<==== MODE ====<<
>>==== RESULT ====>>
[<i>Aalto et al.</i>, 1999, 2000, 2001]
<<==== RESULT ====<<
>>==== CITATION-ITEMS ====>>
[
[
{
"id": "ITEM-1"
},
{
"id": "ITEM-2"
},
{
"id": "ITEM-3"
}
]
]
<<==== CITATION-ITEMS ====<<
>>==== CSL ====>>
<style
xmlns="http://purl.org/net/xbiblio/csl"
class="in-text"
version="1.0">
<info>
<id />
<title />
<updated>2009-08-10T04:49:00+09:00</updated>
</info>
<macro name="author">
<names variable="author">
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " form="long" delimiter-precedes-last="always" initialize-with=". "/>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="false" disambiguate-add-givenname="false" collapse="year">
<sort>
<key macro="author"/>
<key macro="year-date"/>
</sort>
<layout prefix="[" suffix="]" delimiter="; ">
<group delimiter=", ">
<group delimiter=", ">
<text macro="author-short" font-style="italic"/>
<text macro="year-date"/>
</group>
<text variable="locator" prefix="p."/>
</group>
</layout>
</citation>
</style>
<<==== CSL ====<<
>>==== INPUT ====>>
[
{
"author": [
{
"family": "Aalto",
"given": "Alan"
},
{
"family": "Quintuffle",
"given": "Qlark"
},
{
"family": "Crank",
"given": "Christoper"
}
],
"id": "ITEM-1",
"issued": {
"date-parts": [
[
2001
]
]
},
"type": "book"
},
{
"author": [
{
"family": "Aalto",
"given": "Alan"
},
{
"family": "Baseballhat",
"given": "Bernie"
},
{
"family": "Crank",
"given": "Christoper"
}
],
"id": "ITEM-2",
"issued": {
"date-parts": [
[
1999
]
]
},
"type": "book"
},
{
"author": [
{
"family": "Aalto",
"given": "Alan"
},
{
"family": "Zipgpot",
"given": "Zody"
},
{
"family": "Crank",
"given": "Christoper"
}
],
"id": "ITEM-3",
"issued": {
"date-parts": [
[
2000
]
]
},
"type": "book"
}
]
<<==== INPUT ====<<
>>===== VERSION =====>>
1.0
<<===== VERSION =====<<