citeproc-0.1: test/csl/position_FirstTrueOnlyOnce.txt
>>===== MODE =====>>
citation
<<===== MODE =====<<
>>===== RESULT =====>>
..[0] Appleton “Tom Swift and His Electric Runabout” (1910).
>>[1] Ibid. p. 23.
<<===== RESULT =====<<
>>===== CITATIONS =====>>
[
[
{
"citationID": "CITATION-1",
"citationItems": [
{
"id": "ITEM-1"
}
],
"properties": {
"noteIndex": 1
}
},
[],
[]
],
[
{
"citationID": "CITATION-2",
"citationItems": [
{
"id": "ITEM-1",
"label": "page",
"locator": "23"
}
],
"properties": {
"noteIndex": 2
}
},
[
[
"CITATION-1",
1
]
],
[]
]
]
<<===== CITATIONS =====<<
>>===== 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>
<layout suffix=".">
<choose>
<if position="first">
<group delimiter=" ">
<names variable="author">
<name form="short" />
</names>
<text quotes="true" variable="title" />
<date prefix="(" suffix=")" variable="issued">
<date-part name="year" />
</date>
</group>
</if>
<else-if position="ibid-with-locator">
<text term="ibid" />
<label form="short" prefix=" " strip-periods="false" variable="locator" />
<text prefix=" " variable="locator" />
</else-if>
<else>
<text value="WTF?"/>
</else>
</choose>
</layout>
</citation>
</style>
<<===== CSL =====<<
>>===== INPUT =====>>
[
{
"author": [
{
"family": "Appleton",
"given": "Victor"
}
],
"id": "ITEM-1",
"issued": {
"date-parts": [
[
"1910"
]
]
},
"title": "Tom Swift and His Electric Runabout",
"type": "book"
}
]
<<===== INPUT =====<<
>>===== VERSION =====>>
1.0
<<===== VERSION =====<<