Change the page display to be dependant on a locator. Requires 1.0.2 to work correctly.
This commit is contained in:
parent
fadef0c9d9
commit
0939f9b0b3
|
@ -80,8 +80,12 @@
|
||||||
</group>
|
</group>
|
||||||
</macro>
|
</macro>
|
||||||
<macro name="pageno">
|
<macro name="pageno">
|
||||||
|
<choose>
|
||||||
|
<if variable="locator" match="none">
|
||||||
<label variable="page" suffix=". " form="short"/>
|
<label variable="page" suffix=". " form="short"/>
|
||||||
<text variable="page"/>
|
<text variable="page"/>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
</macro>
|
</macro>
|
||||||
<macro name="pageref">
|
<macro name="pageref">
|
||||||
<label variable="locator" suffix=". " form="short"/>
|
<label variable="locator" suffix=". " form="short"/>
|
||||||
|
@ -141,8 +145,9 @@
|
||||||
<text macro="publisher"/>
|
<text macro="publisher"/>
|
||||||
<text macro="date"/>
|
<text macro="date"/>
|
||||||
</group>
|
</group>
|
||||||
|
<text macro="pageno"/>
|
||||||
|
<text macro="pageref"/>
|
||||||
</group>
|
</group>
|
||||||
<text macro="pageref" prefix=", "/>
|
|
||||||
</else-if>
|
</else-if>
|
||||||
<else>
|
<else>
|
||||||
<group delimiter=", ">
|
<group delimiter=", ">
|
||||||
|
@ -152,6 +157,7 @@
|
||||||
<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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user