On Tue, 20 Aug 2002, J.Pietschmann wrote: > I fiddled a bit with page number initialisation. Could > you post a small example which demonstrates the effect > you noticed? Use <fo:block break-after="page"/> to generate > pages to keep it short.
Attached. It looks like every page-sequence starts over from zero -- except the very first one, which starts from one. (You would have figured that out right away, but I had to say something more than just "attached.") j --- "Users complain that they receive too much spam, while spammers protest messages are legal." -InfoWorld "You do not have to do everything disagreeable that you have a right to do." -Judith Martin (Miss Manners)
<?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:page-sequence-master master-name="contents"> <fo:single-page-master-reference master-reference="first-page"/> <fo:repeatable-page-master-reference master-reference="simple"/> </fo:page-sequence-master> <fo:simple-page-master margin-right=".3in" margin-left=".3in" margin-bottom=".3in" margin-top=".3in" page-width="3.5in" page-height="5.8in" master-name="first-page"> <fo:region-body margin-top=".2in"/> <fo:region-before extent="0in"/> </fo:simple-page-master> <fo:simple-page-master margin-right=".3in" margin-left=".3in" margin-bottom=".3in" margin-top=".3in" page-width="3.5in" page-height="5.8in" master-name="simple"> <fo:region-body margin-top=".2in"/> <fo:region-before extent=".2in"/> </fo:simple-page-master> <fo:simple-page-master margin-right=".5in" margin-left=".5in" margin-bottom="1in" margin-top="1in" page-width="3.5in" page-height="5.8in" master-name="front"> <fo:region-body margin-top="1in"/> </fo:simple-page-master> <fo:simple-page-master margin-right=".3in" margin-left=".3in" margin-bottom=".3in" margin-top=".3in" page-width="3.5in" page-height="5.8in" master-name="copyright"> <fo:region-body margin-bottom=".2in"/> <fo:region-after extent=".2in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="front"> <fo:flow flow-name="xsl-region-body"> <fo:block>This is the first page, generated number: <fo:page-number/> </fo:block> </fo:flow> </fo:page-sequence> <fo:page-sequence master-reference="front"> <fo:flow flow-name="xsl-region-body"> <fo:block>This is the second page, generated number: <fo:page-number/> </fo:block> </fo:flow> </fo:page-sequence> <fo:page-sequence master-reference="front"> <fo:flow flow-name="xsl-region-body"> <fo:block>This is the third page, generated number: <fo:page-number/> </fo:block> </fo:flow> </fo:page-sequence> <fo:page-sequence format="1" master-reference="contents"> <fo:static-content flow-name="xsl-region-before"> <fo:block text-align="center" font-family="Times" font-size="8pt">Static content </fo:block> </fo:static-content> <fo:flow language="en" flow-name="xsl-region-body"> <fo:block padding="14pt" text-align="center" font-family="Helvetica" font-size="8pt"> </fo:block> <fo:block> Page four, generated: <fo:page-number /> <fo:block break-after="page"/> Page five, generated: <fo:page-number /> <fo:block break-after="page"/> Page six, generated: <fo:page-number /> </fo:block> </fo:flow> </fo:page-sequence> </fo:root>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]