I have various page-sequences in my document:

<fo:page-sequence master-reference="NameOfMasterReference"
initial-page-number="1">

but at the end of the document i need to count the whole pages of all
page-sequences.

!<fo:page-number-citation ref-id = "lastBlock"/>! does not work!




-----Ursprungliche Nachricht-----
Von: Ian Taylor [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. April 2002 13:08
An: [EMAIL PROTECTED]
Betreff: Re: page count


I put this in my <xsl:region-after>

<fo:block font-size="9pt" line-height="11pt" text-align="end">
        Page no: <fo:page-number/> of <fo:page-number-citation ref-id =
"lastBlock"/>
</fo:block>

where the last block in the document looks like this

<fo:block id = "lastBlock"/>

Hope this helps

Ian



At 12:54 PM 4/24/2002 +0200, you wrote:

Hello,

I want to write something like "page x of y" where y is the number of pages
in
my document.
"x" is generated by "<fo:page-number/>" but how do I get "y"??

Harald

Reply via email to