citeproc-0.1: test/csl/position_NearNoteSameNote.txt
>>===== MODE =====>>
citation
<<===== MODE =====<<
>>===== RESULT =====>>
..[0] Plain+Vanilla:Book-A; Near+Ibid:Book-A
..[1] Plain+Vanilla:Book-B
>>[2] Plain+Vanilla:Book-B; Plain+Vanilla:Book-A
<<===== RESULT =====<<
>>===== CITATIONS =====>>
[
[
{
"citationID": "CITATION-1",
"citationItems": [
{
"id": "ITEM-1"
},
{
"id": "ITEM-1"
}
],
"properties": {
"noteIndex": 1
}
},
[],
[]
],
[
{
"citationID": "CITATION-2",
"citationItems": [
{
"id": "ITEM-2"
}
],
"properties": {
"noteIndex": 2
}
},
[
[
"CITATION-1",
1
]
],
[]
],
[
{
"citationID": "CITATION-3",
"citationItems": [
{
"id": "ITEM-2"
},
{
"id": "ITEM-1"
}
],
"properties": {
"noteIndex": 3
}
},
[
[
"CITATION-1",
1
],
[
"CITATION-2",
2
]
],
[]
]
]
<<===== 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 near-note-distance="0">
<layout delimiter="; ">
<choose>
<if position="ibid near-note" match="all">
<text variable="title" prefix="Near+Ibid:"/>
</if>
<else>
<text variable="title" prefix="Plain+Vanilla:"/>
</else>
</choose>
</layout>
</citation>
</style>
<<===== CSL =====<<
>>===== INPUT =====>>
[
{
"id": "ITEM-1",
"title": "Book-A",
"type": "book"
},
{
"id": "ITEM-2",
"title": "Book-B",
"type": "book"
}
]
<<===== INPUT =====<<
>>===== VERSION =====>>
1.0
<<===== VERSION =====<<