diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-10-24 12:35:48 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-10-24 12:35:48 +0200 |
commit | 650a2f9f5807536ee118ba031622bede7f4e1642 (patch) | |
tree | 8c0f79348a3f379ec4a12798bd9b2cad8ccd6e65 /docs/xsl/pdf.xsl | |
parent | 5173b6cbadea03c8525218f09794b3f74ab12d96 (diff) | |
download | bugzilla-650a2f9f5807536ee118ba031622bede7f4e1642.tar.gz bugzilla-650a2f9f5807536ee118ba031622bede7f4e1642.tar.xz |
Bug 423496: Compile the documentation with xmlto + dblatex instead of openjade
r=glob a=LpSolit
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> |