1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
>>===== MODE =====>>
citation
<<===== MODE =====<<
We're ignoring the "nocase" markup here, but no one is
likely to miss it.
2017-01-27: "nocase" markup now recognized.
>>===== RESULT =====>>
SMITH, John: THIS IS A PEN THAT IS A Smith PENCIL
<<===== 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>
<macro name="title-or-title-and-translator">
<choose>
<if type="webpage">
<text macro="title"/>
</if>
<else>
<text macro="title" suffix=", "/>
<names variable="translator">
<name/>
</names>
</else>
</choose>
</macro>
<macro name="title">
<text variable="title"/>
</macro>
<citation>
<layout>
<group delimiter=": ">
<names variable="author">
<name name-as-sort-order="all">
<name-part name="family" text-case="uppercase"/>
</name>
<substitute>
<text macro="title-or-title-and-translator"/>
</substitute>
</names>
<text variable="title" text-case="uppercase"/>
</group>
</layout>
</citation>
</style>
<<===== CSL =====<<
>>===== INPUT =====>>
[
{
"author": [
{
"family": "Smith",
"given": "John"
}
],
"id": "ITEM-1",
"title": "This is a pen that is a <span class=\"nocase\">Smith</span> pencil",
"type": "book"
}
]
<<===== INPUT =====<<
>>===== VERSION =====>>
1.0
<<===== VERSION =====<<
|