← Prev in month ← Prev in thread
Next in thread → Next in month →

RE: [docbook] total number of pages

From
Mauritz Jeanson <>
Date
2006-11-22T19:09:24+00:00
ID
003201c70e69$b3c9f2e0$71ea1a51@D7MZ171J
Thread
RE: [docbook] total number of pages
> -----Original Message-----
> From: Paul Dumais 
> 
> I've searched and hacked as much as I could, but I still can't find
> the proper place to put my  <fo:block id="lastpage"/> tag so that I
> can properly customize my page numbers to be of the form (1/8, 2/8,
> ... 8/8). I have already placed  <fo:page-number-citation
> ref-id="lastpage"/> in the appropriate place in footer.content.
> 
> This would seem like a common request, but I haven't found the answer
> that specifically explains how to do this with docbook5 xsl
> stylsheets.


[The proper list for stylesheet issues is docbook-apps. Moving there.]

Here is how it can be done:
http://lists.oasis-open.org/archives/docbook-apps/200509/msg00187.html

It is a little easier in XSL 1.1, btw:
http://www.w3.org/TR/xsl11/#fo_page-number-citation-last

This is already supported in recent versions of XEP and AntennaHouse.

/MJ
← Prev in month ← Prev in thread
Next in thread → Next in month →