[xep-support] Page Numbering

David Tolpin dvd at renderx.com
Wed Jul 17 05:44:50 PDT 2002


> 
> I have a FO file which uses fo:page-number-citation to determine it's total page number. The FO document should have "Page 1 of 1" as a foot note.
> 
> When I render the FO below to PS I get the wrong results.
> 
> XEP creates a postscript file with 1 page but the foot note of that page says page 1 of 2.
> 
> Can you help?

Thomas,

I can explain; how helpful the explanation is depends on your stylesheet.

Your last page's id is anchored at an empty block at the very end of the document.

The empty block (with some padding from the table) indeed goes to the next page,
but since there is no content on that next page, the page is removed from the final
output.

One approach to solve the problem would be to change the place where the anchor id is
placed and attach it to the last cell in the table. Other approaches are also possible.

David
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list