Rodolphe VAGNER wrote:
My format of footpage is :
page x on X
But it seems that the forced page is not counted !
I suppose you retrieve the page count using the standard
method: put a (usually empty) block at the end of the
flow and use the page-number-citation referring to this
block to get the total number X.
If you have text up to page 41, the last block ends up on
page 41, and X renders as 41. If you force even pages,
the block is *still* on page 41, and X renders as 41.
Time for some more creativity. A suggestion: Use a
page-sequence-master contaqining a conditional page
sequence with a separate master for the last page.
Put the block referenced for the last page number into
the static content of the last page.