AsciiDoc Customization
dblatex XSL parameters
Dblatex XSL parameters can be used to customize PDF output 1), e.g.
latex.output.revhistory=0 doc.publisher.show=0
The dblatex XSL parameters can be changed by
- commandline option to dblatex
dblatex -P latex.output.revhistory=0 ...
- commandline option to
a2x
a2x --dblatex-opts "-P latex.output.revhistory=0" ...
- confiuration file
asciidoc-dblatex.xsl
, also called XSL stylesheet.
- asciidoc-dblatex.xsl
<?xml version='1.0' encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <!-- Put the dblatex logo --> <xsl:param name="doc.publisher.show">1</xsl:param> <!-- Put the revision history --> <xsl:param name="latex.output.revhistory">1</xsl:param> </xsl:stylesheet>
A reference of available dblatex XSL parameters can be found here.