DocBookPublishing.com

Online service for converting DocBook to PDF

Formatter settings

Setting options and DocBook XSL customization are available for registered users only. So we suggest that you take advantage of free registration.

This option turns on/off DocBook validation. Documents are validated against DocBook v5.0.

This option sets target PDF version.

This option controls compression of content streams in PDF.

This option controls linearization (also known as Web optimization) of the PDF output.

This option specifies the magnification factor to be activated when the file is first opened in the PDF viewers.

This option sets the view mode to be activated in the PDF viewers when the file is rendered and viewed.

Save your preferences when finished, and you will be redirected to the main page automatically. Setting preferences will not work if you have disabled cookies in your browser.

DocBook XSL parameters and customization

The DocBook XSL stylesheets have many parameters that can be used to control the various aspects of the output document. For example, you can alter the default paper size, page breaking rules, or bibliography style. Besides parameters, it is also possible to customize DocBook XSL stylesheet's behavior with the DocBook XSL customization layer.

DocBookPublishing.com supports both DocBook XSL parameters and DocBook XSL stylesheet customization. For changing the default DocBook XSL parameters, as well as for DocBook XSL customization, you need to create a special XSLT stylesheet, named custom-docbook.xsl and supply it among your documents (using the Images upload field). Below is represented a sample custom-docbook.xsl:

<?xml version='1.0'?> 
<xsl:stylesheet version="1.0" 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:param name="paper.type" select="'A4'"/>
    <xsl:param name="double.sided">1</xsl:param>
    <xsl:param name="page.margin.top">0.6in</xsl:param>
    <xsl:param name="page.margin.bottom">0.6in</xsl:param>
    <xsl:param name="toc.title.font.size">18pt</xsl:param>
    <xsl:param name="body.font.family">Times</xsl:param>
</xsl:stylesheet>