Updated with a number of fixes thanks to drrayl

This commit is contained in:
Julian Onions 2007-11-28 08:59:41 +00:00
parent 91b843a1ad
commit 465c023103

View file

@ -23,6 +23,20 @@
</substitute> </substitute>
</names> </names>
</macro> </macro>
<macro name="container-editor">
<group delimiter=" ">
<text term="in" suffix=" "/>
<names variable="editor">
<name and="text" delimiter=", " />
<label form="short" prefix=" (" suffix=".)"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</group>
</macro>
<macro name="title"> <macro name="title">
<choose> <choose>
<if type="thesis"> <if type="thesis">
@ -59,6 +73,7 @@
<text variable="page"/> <text variable="page"/>
</macro> </macro>
<macro name="pageref"> <macro name="pageref">
<label variable="locator" suffix=". " form="short"/>
<text variable="locator"/> <text variable="locator"/>
</macro> </macro>
<macro name="volref"> <macro name="volref">
@ -68,7 +83,14 @@
</group> </group>
</macro> </macro>
<macro name="container"> <macro name="container">
<choose>
<if type="chapter">
<text variable="container-title" font-style="italic"/> <text variable="container-title" font-style="italic"/>
</if>
<else>
<text variable="container-title" font-style="italic"/>
</else>
</choose>
</macro> </macro>
<citation> <citation>
<layout suffix="." delimiter="; "> <layout suffix="." delimiter="; ">
@ -85,10 +107,23 @@
<text macro="container"/> <text macro="container"/>
<text macro="volref"/> <text macro="volref"/>
<text macro="date"/> <text macro="date"/>
<text macro="pageno"/>
<text macro="pageref"/>
</group> </group>
<text macro="pageref" prefix=". "/>
</if> </if>
<else-if type="chapter">
<group delimiter=", ">
<text macro="title" />
<text macro="container-editor"/>
<text macro="container"/>
<text macro="volref"/>
<text macro="volumes"/>
<group prefix=" (" suffix=")" delimiter=", ">
<text macro="publisher"/>
<text macro="date"/>
</group>
</group>
<text macro="pageref" prefix=", "/>
</else-if>
<else> <else>
<group delimiter=", "> <group delimiter=", ">
<text macro="title" /> <text macro="title" />
@ -97,7 +132,6 @@
<text macro="volref"/> <text macro="volref"/>
<text macro="date"/> <text macro="date"/>
<text macro="volumes"/> <text macro="volumes"/>
<text macro="pageno"/>
<text macro="pageref"/> <text macro="pageref"/>
</group> </group>
</else> </else>