Preliminary results: We don't test initial-page-number for "auto-odd" and "auto-even" in our test suite. :-( There may be something wrong there. Will have to look closer. The good news for you is that your document works and produces 12 pages with the latest FOP Trunk (directly from Subversion) as Gerhard Oettl recently submitted a patch that enabled force-page-count. So, initial-page-number may still have a bug but at least your document should work.
On 28.02.2006 20:46:14 Brad Thacker wrote: > Hi Jeremias, > > I've attached the XSL-FO file generated from a test book with three > chapters, each less than one page long, so each chapter should include a > blank page at the end. The DocBook stylesheets used to create this file > are version 1.66.1, including some customizations to the headers and > footers, as well as double.sided=1. > > The XSL-FO file processes completely (without the blank pages) using FOP > 0.91 beta, but hangs on FOP 0.205. I haven't been able to create an > XSL-FO file using the DocBook stylesheets that processes completely in > both FOP 0.205 and FOP 0.91 beta. > > Brad Thacker > > > > Jeremias Maerki wrote: > > >Although the code has changed a lot between 0.20.5 and 0.91, the outcome > >should still be the same. We have automated tests which should assert > >the quality of that feature but maybe the DocBook stylesheets triggered > >a bug we don't know about. Would you please prepare a small example that > >shows the problem and submit the generated XSL-FO file (not the DocBook > >sources)? We can then further investigate. > > > >On 28.02.2006 17:07:07 Brad Thacker wrote: > > > > > >>I routinely use FOP 0.20.5 in conjunction with DocBook stylesheets > >>(version 1.66.1) to create PDF documents, and recently started > >>experimenting with FOP 0.91 beta with the same Docbook tool set. Using > >>FOP 0.91 beta, blank pages don't seem to render (to get a new > >>page-sequence to start on an odd page), although they render fine using > >>FOP 0.20.5. > >> > >>I've looked at the FOP Compliance web page and compared the support for > >>pagination and payout properties for the two releases, and they seem to > >>be the same for the relevant properties (force-page-count is not > >>supported on either FOP 0.2.0.5 or FOP 0.91 beta, and > >>initial-page-number is supported on both). Using the DocBook > >>stylesheets, I set initial-page-number=auto-odd, and tried setting > >>force-page-count to end-on-even, auto, and even. In none of these cases > >>were blank pages created using FOP 0.91 beta. When a page sequence ends > >>on an odd page, the next even page is skipped and the following > >>page-sequence starts on an odd page. > >> > >>Is there an inherent difference between FOP 0,205 and FOP 0.91 beta > >>that would explain the difference in the rendering of blank pages, or is > >>there another FO parameter that would explain the difference in the output? Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]