> I'm trying to use XXE to generate PDFs from DocBook documents and > include the total page count in the output document, but cannot find > an easy way to do so, even through customisation. Manually, it is > possible using the 2-pass technique described here : > http://xmlgraphics.apache.org/fop/fo.html#fo-total-pages
How implement this whatever the XSL-FO processor being used is described here: http://www.sagehill.net/docbookxsl/PrintHeaders.html#PageNumbering Look for "Page x of y numbering". > > Is there a way to integrate this workaround in XXE conversion workflow ? Please refer to this FAQ: --- How do I customize the HTML, PDF, RTF, etc, generated using the "Convert Document" menu? --- http://www.xmlmind.com/xmleditor/faq.html#custom_deliverables > > Any pointer would be highly appreciated. --- PS: The <fo:block id="END-OF-DOCUMENT"/> method works fine with FOP. We use it to implement the page-count feature in XMLmind DITA Converter -- http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

