Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page numbering issue for XSL-FO

Status
Not open for further replies.

TheTucsonKid

Programmer
Sep 7, 2005
3
US
Hello All,

I've got a real brain teaser here. I'm needing to number the pages of a PDF with the following format:

For Figure 1 For Figure 2
1-1, 1-2, 1-3... 2-1, 2-2, 2-3...

Right now, I am using a retrieve marker for the figure number and <fo:page-number/> for the actual page. The problem is that the second part of the number isn't starting over at 1 for each new figure. I'm using the same page-sequence to process all the figures, so I'm having trouble with 'initial-page-number="1"' for each new figure. Any suggestions on how to get a page count on individual figures?

Brett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top