`edition` and `status` in `extra` have no effect
zepinglee opened this issue · comments
I'm working on a CSL style in China legal field. I need edition
and status
variables in the extra
field but they have no effect in output. Is it the expected behavior? The following is a MRE.
Output:
+ expected - actual
edition: 2005 Revision; status: abolished
-[CSL STYLE ERROR: reference with no printed form.]
+edition: 2013 Amendment; status: abolished
>>===== MODE =====>>
citation
<<===== MODE =====<<
>>===== RESULT =====>>
edition: 2005 Revision; status: abolished
edition: 2013 Amendment; status: abolished
<<===== RESULT =====<<
>>===== CITATION-ITEMS =====>>
[
[
{
"id": "ITEM-1"
}
],
[
{
"id": "ITEM-2"
}
]
]
<<===== CITATION-ITEMS =====<<
>>===== 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>
<group delimiter="; ">
<text variable="edition" prefix="edition: "/>
<text variable="status" prefix="status: "/>
</group>
</layout>
</citation>
</style>
<<===== CSL =====<<
>>===== INPUT =====>>
[
{
"id": "ITEM-1",
"type": "book",
"edition": "2005 Revision",
"status": "abolished"
},
{
"id": "ITEM-2",
"type": "legislation",
"extra": "edition: 2013 Amendment\nstatus: abolished"
}
]
<<===== INPUT =====<<
The CSL variable is note
, not extra
Ah, yes! It's a silly mistake.