Thanks for the suggestion. I'm already familiar with initial-page-number. My challenge is trying to reset the number for each new chapter. My fo:page-sequence looks like this:
<fo:page-sequence master-reference="body-page" initial-page-number="1" force-page-count="even" >
<fo:static-content flow-name="odd-before">
<xsl:call-template...
User Profile
Collapse
-
XSL-FO Page Numbering
I need help generating a PDF output where the page numbering restarts at 1 with every new chapter in a document. So the output would look something like 1-1, 1-2, 1-3,..., 2-1, 2-2, 2-3,...
I'm able to capture the chapter number and generate the "1-"; however, all my attempts generate consecutive page numbering (1-1, 1-2, 1-3, 2-4, 2-5, ...).
I suspect I'm not doing something correctly in setting up either...
No activity results to display
Show More
Leave a comment: