Frank Lorenz wrote:
I tried to change FOP as you advised.

Uh? I'm confused.

Two stage processing works roughly as follows:
1. Generate the FO as before. Instead of rendering PDF, create
 the XML area tree (the -at option)
2. Use XSLT to extract the real page numbers from the XML.
 This is the tricky part, you might have to change the FO
 to include "marker content" (not to be confused with FO
 markers) in order to identify the areas whose page numbers
 you need as well as the page numbers itself.
3. Generate the FO again, but replace the page number citations
 with the real page numbers you got from step 2. Render to PDF
 or whatever.
4. Have a look on the result and check whether the additional
 line breaks in step 3 (compared to step 1) might cause oscillation
 effects. Adding a FO providing buffer space might be a good idea.
5. Automate the process.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to