This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: FO footer: total pages and time
- From: Bob Stayton <bobs at caldera dot com>
- To: Luc Taesch <list at taesch dot com>,Docbook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 04 Sep 2002 09:40:31 -0700
- Subject: Re: DOCBOOK-APPS: FO footer: total pages and time
- References: <GGEJIICNJAGKEHMMICKMKEINCBAA.list@taesch.com>
On Wed, Sep 04, 2002 at 06:01:55PM +0200, Luc Taesch wrote:
> Id like to customise the footer as to have
>
> ... Page 3 of 15 ... Printed 4/8/2002 15:32
>
> how can i get
> - the total number of pages ?
> - the current system time ?
>
> (thanks to dave's FAQ , I already found the generic way to customise the
> footer).
>
> if its a fop limitation, please let me know too. i found nothing on
> googgle...
One approach to the page count would be to insert an
empty fo:block with an id attribute after all of
your content, and then do a page reference to that
id in your footer. I've not tried it, however.
There might be a problem with a generated blank even
page at the end.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com