commit 0939f9b0b35f592ea7935965772163922476dc05
parent fadef0c9d9a45ed00c05bf2edeaf1646e17977da
Author: Julian Onions <julian.onions@gmail.com>
Date: Fri, 30 Nov 2007 09:50:53 +0000
Change the page display to be dependant on a locator. Requires 1.0.2 to work correctly.
Diffstat:
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/csl/oxford-art.csl b/csl/oxford-art.csl
@@ -80,8 +80,12 @@
</group>
</macro>
<macro name="pageno">
- <label variable="page" suffix=". " form="short"/>
- <text variable="page"/>
+ <choose>
+ <if variable="locator" match="none">
+ <label variable="page" suffix=". " form="short"/>
+ <text variable="page"/>
+ </if>
+ </choose>
</macro>
<macro name="pageref">
<label variable="locator" suffix=". " form="short"/>
@@ -141,8 +145,9 @@
<text macro="publisher"/>
<text macro="date"/>
</group>
+ <text macro="pageno"/>
+ <text macro="pageref"/>
</group>
- <text macro="pageref" prefix=", "/>
</else-if>
<else>
<group delimiter=", ">
@@ -152,6 +157,7 @@
<text macro="volref"/>
<text macro="date"/>
<text macro="volumes"/>
+ <text macro="pageno"/>
<text macro="pageref"/>
</group>
</else>