diff options
Diffstat (limited to 'docs/xsl/pdf.xsl')
-rw-r--r-- | docs/xsl/pdf.xsl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/xsl/pdf.xsl b/docs/xsl/pdf.xsl new file mode 100644 index 000000000..312b36612 --- /dev/null +++ b/docs/xsl/pdf.xsl @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version="1.0"> + <!-- Some layout parameters --> + <xsl:param name="generate.index" select="0"/> + <xsl:param name="doc.collab.show" select="0"/> + <xsl:param name="latex.output.revhistory" select="0"/> + <xsl:param name="doc.lot.show"></xsl:param> + <xsl:param name="latex.encoding">utf8</xsl:param> + <xsl:param name="imagedata.default.scale">pagebound</xsl:param> + <xsl:param name="latex.hyperparam">colorlinks,linkcolor=blue,urlcolor=blue</xsl:param> + + <!-- Show <ulink>s as footnotes --> + <xsl:param name="ulink.footnotes" select="1"/> + <xsl:param name="ulink.show" select="1"/> + + <!-- Don't use Graphics --> + <xsl:param name="admon.graphics" select="0"/> + <xsl:param name="callout.graphics" select="0"/> + + <!-- Make pdflatex shut up about <prompt> and <command> within <programlisting>, --> + <!-- see http://dblatex.sourceforge.net/doc/manual/sec-verbatim.html --> + <xsl:template match="prompt|command" mode="latex.programlisting"> + <xsl:param name="co-tagin" select="'<:'"/> + <xsl:param name="rnode" select="/"/> + <xsl:param name="probe" select="0"/> + + <xsl:call-template name="verbatim.boldseq"> + <xsl:with-param name="co-tagin" select="$co-tagin"/> + <xsl:with-param name="rnode" select="$rnode"/> + <xsl:with-param name="probe" select="$probe"/> + </xsl:call-template> + </xsl:template> +</xsl:stylesheet> |