Hi Georg,

XSL 1.1 offers fo:page-number-citation-last which is more reliable. Just
reference the "id" of your fo:page-sequence.

On 21.01.2010 17:32:13 Georg Datterl wrote:
> Hi everybody,
> 
> Todays question is quite simple, I hope. I have a block covering two pages. 
> This block is full of content and basically takes all the available space. 
> Now I want to know the last page number. Being an experienced FOP mailing 
> list reader, I know, I can use id="end-of-document". 
> 
> But where? 
> Setting the id on the big block gives a wrong result, obviously, since the id 
> is at the beginning of the block, page 1 instead of page 2. 
> But adding a new block with only an id gives a wrong result too, since the 
> block is placed on a new third page. 
> Keeping the block on the same page as the previous block pulls the last 
> content of the first block (depending on widows-setting) on the next page.
> Is there a way to define a zero height block, so it will still be generated 
> on the first page? line-height="0pt" and block-progression-dimension="0pt" 
> don't change a thing.
> 
> Regards,
>  
> Georg Datterl
>  



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to