Change the page display to be dependant on a locator. Requires 1.0.2 to work correctly.

This commit is contained in:
Julian Onions 2007-11-30 09:50:53 +00:00
parent fadef0c9d9
commit 0939f9b0b3

View File

@ -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>