Henrik Holle wrote: > but one of my page-sequences has "initial-page-number="1"". FOP only count x > pages, but my document has x+1 pages. without "initial-page-number="1"" > everything works fine?
I don't understand the problem. The setting initial-page-number="1" is the default. Do you have a title page or something, or do you actually mean you use initial-page-number="0"? The element fo:page-number-citation will not give you a page count, it will give you the page number calculated for the page the referenced block happens to end up on. It's just the common case that people start counting with 1, in which case page count and last page number have the same value. If you want to have a real page count independent of the initial page number, you are out of luck, the standard provides no mechanism for getting it. There are a number of possibilities to work around this in FOP, which one to use depends heavily on your problem environment and the skills you can muster. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]