[oXygen-user] an extra blank page in the .pdf output
Sorin Ristache
Wed Aug 10 03:24:32 CDT 2005
Hello Chip,
If you are using the Docbook XSL stylesheets and the FOP processor to
generate the pdf file the empty page seems to be a bug in FOP. In the
XSL-FO file generated by the stylesheets the pages that follow the title
and copyright pages start a new page sequence. The FOP processor should
not generate an empty page for a break-after property before a new
page sequence. To avoid that use in your transformation scenario a
Docbook XSL customization layer that replaces the template
book.titlepage.separator with an empty template:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="../frameworks/docbook/xsl/fo/docbook.xsl"/>
<xsl:template name="book.titlepage.separator"/>
</xsl:stylesheet>
I just tried it on a large Docbook document and the empty page is not
generated any more. You have to replace the path to the docbook.xsl
stylesheet with a valid path on your machine.
For instructions about creating and using a Docbook customization layer
in <oXygen/> see the demo:
http://www.oxygenxml.com/demo/DocbookCustomization/docbookCustomization.html
Best regards,
Sorin
Chip Wiegand wrote:
> When I create a .pdf from my file I get an extra page that contains only a
> horizontal line at the top and bottom of the page. This page is always the
> 3rd page of the document -
> 1st page - Cover page or Title page
> 2nd page - Copyright page
> 3rd page - empty except for two horizontal lines
> 4th page onwards - chapter 1 and onwards
>
>
> Is the mostly blank page supposed to be there? If not, what do I do to get
> rid of it?
> I just noticed that the toc is not appearing on the page, could this page
> be a blank toc?
>
> Regards,
>
> Chip Wiegand
> Computer Services
> Simrad, Inc
> 425-778-8821
> 425-771-7211 (FAX)
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list