W3C home > Mailing lists > Public > www-xsl-fo@w3.org > August 2001

Re: XSL:FO Total Page count

From: Michael Symonds <MSymondsMaillists@epost.de>
Date: Fri, 31 Aug 2001 17:08:15 +0200
To: www-xsl-fo@w3.org
Message-ID: <mn8vot810hvejl9gvlm2ktjtja661d6m20@4ax.com>
On Thu, 30 Aug 2001 13:26:21 -0400, you wrote:

>     Is there a way to get the total number of pages in a document.  I need
>to display the old "#cur. of #total" display.  I got the <fo:page-number>
>easy enough but I can't find anything on this.

Please take a look at the following XSL-FO-FAQ:
and you take what you want:

# For example, suppose we wish to write a report this way "Page 3 of
# 67".

<fo:page-number-citation ref-id="endofdoc"/> will produce it, if the
last thing in your document is something with 'id="endofdoc"', e.g.
<fo block   id="endofdoc"></fo:block> 

BTW: What is this for a odd mail-list?
1. There is no security in the subscribe-procedure (it works without a
2. This is the only mail-list (of total 6) where the reply-function of
my mail-software (Forte Agent 1.8) does not work right. (At least it
seems to me, as in the TO-field of the reply-message is the
email-address of the sender of the email I want to reply and not the
www-xsl-fo@w3.org what I expect)

- Michael Symonds
Received on Friday, 31 August 2001 11:10:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:53 UTC