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

Re: [docbook-apps] Counting number of pages when generating PDF

From
Bob Stayton <>
Date
2005-07-16T06:52:51+00:00
ID
002501c589d2$f9420c80$6400a8c0@toshiro
Thread
Re: [docbook-apps] Counting number of pages when generating PDF
There is no general solution in the stylesheets for this because you have to
put this special fo:block at the end of the flow of the last page-sequence
in the document.  But this depends on which element generates the last
page-sequence in a document, and that varies from document to document.  If
it is an index, then you need to customize the template for the index.  If
it is a glossary, then you need to customize it for glossary.  If it is an
appendix, then the customization needs to determine which appendix is the
last one.  Do you have a consistent last element in your document?

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: <>
To: <>
Sent: Thursday, July 14, 2005 4:09 AM
Subject: [docbook-apps] Counting number of pages when generating PDF


> I'm in the work of customizing docbook to meet our company layout, but
need a 'page x of y' in the
> footer. I know it can be done by using a:
>
> <fo:page-number /> of <fo:page-number-citation ref-id="end" />
>
> but that requires a <fo:block id="end" /> at the end of a <fo:flow>, and
here I'm lost.
>
> Have this been concidered before, and how can it be solved ??
>
>
> Med venlig hilsen - Best regards
> Erling Zachariassen Eybye
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
← Prev in month ← Prev in thread
Next in thread → Next in month →