summaryrefslogtreecommitdiff
path: root/doc/manual/dcpomatic-pdf.xsl
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-12 23:41:40 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-12 23:41:40 +0100
commit979ead5948d8831cde9765fdedd322c5deb661d9 (patch)
treeccdd3ed0025c8f288da6cee582461116bd3efaec /doc/manual/dcpomatic-pdf.xsl
parent068c395576c263aa55f35ad7cfb74cd4eba7c8f6 (diff)
Various alterations to the manual.
Diffstat (limited to 'doc/manual/dcpomatic-pdf.xsl')
-rw-r--r--doc/manual/dcpomatic-pdf.xsl20
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/manual/dcpomatic-pdf.xsl b/doc/manual/dcpomatic-pdf.xsl
index c4ced0deb..0a57bf23f 100644
--- a/doc/manual/dcpomatic-pdf.xsl
+++ b/doc/manual/dcpomatic-pdf.xsl
@@ -1,8 +1,8 @@
<?xml version='1.0' encoding="iso-8859-1"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version='1.0'>
-<!-- colour links in black -->
-<xsl:param name="latex.hyperparam">colorlinks,linkcolor=black,urlcolor=black</xsl:param>
+<!-- colour links in blue -->
+<xsl:param name="latex.hyperparam">colorlinks,linkcolor=blue,urlcolor=blue</xsl:param>
<!-- no revhistory table -->
<xsl:param name="doc.collab.show">0</xsl:param>
@@ -14,4 +14,18 @@
<!-- don't make too-ridiculous section numbers -->
<xsl:param name="doc.section.depth">3</xsl:param>
+<!-- guilabel in sans-serif -->
+<xsl:template name="inline.frobozz">
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:text>\textsf{</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text>}</xsl:text>
+</xsl:template>
+
+<xsl:template match="guibutton|guiicon|guilabel|guimenu">
+ <xsl:call-template name="inline.frobozz"/>
+</xsl:template>
+
</xsl:stylesheet>