XML technologies / DocBook / Generating FO (PDF) / Changing page sizes / Using predefined page sizes

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

By default, the DocBook XSL-FO stylesheets use the American USletter page size. This format is uncommon for European or German printed material. The DocBook stylesheets therefore also support DIN formats A0 to A10, B0 to B10 and C0 to C10. To select DIN A4, enter:

xsltproc --stringparam paper.type 'A4' ... 

In your customization file, enter the equivalent:

<xsl:param name="paper.type">A4</xsl:param>

  

back to top