Jeffrey, you may want to add
force-page-count="no-force" as well to avoid blank pages between invoices, otherwise a page "1" would always start on an odd page. Alex. > Alexander Schwartz PLUS Finanzservice GmbH Otto-von-Guericke-Ring 15 65205 Wiesbaden T.: 06122 - 999 906 F.: 06122 - 999 44906 [EMAIL PROTECTED] ------------------------------------------------------------------------------ Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Viruses: Although we have taken steps to ensure that this e-mail and its attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. ------------------------------------------------------------------------------ -----Ursprüngliche Nachricht----- > Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 31. März 2006 11:34 > An: fop-users@xmlgraphics.apache.org > Betreff: Re: Resetting page counts in fop > > > You can use initial-page-number="1" on every > fo:page-sequence. Your intuition about using position() to > generate unique ids is good. HTH > > On 30.03.2006 22:50:29 Noll, Jeffrey T HS wrote: > > I'm generating a single PDF that contains multiple invoices. The > > invoices each have a separate page count. I want the page counts on > > each invoice in the PDF to be relative to only itself. > > > > IE the 3rd invoice has 2 pages so should show page 1 of > 2 and 2 of 2 > > in their headers. > > > > Is there an easy way of doing this? Using position() to dynamically > > create an fo:block that has the position() as part of the id to > > uniquely handle the last page. But I'm not sure how to get > the relative current page. > > Any ideas appreciated, > > > Jeremias Maerki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]