Manual adjustments.
[dcpomatic.git] / doc / manual / dcpomatic-pdf.xsl
1 <?xml version='1.0' encoding="iso-8859-1"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version='1.0'>
3
4 <!-- colour links in blue -->
5 <xsl:param name="latex.hyperparam">colorlinks,linkcolor=blue,urlcolor=blue</xsl:param>
6
7 <!-- no revhistory table -->
8 <xsl:param name="doc.collab.show">0</xsl:param>
9 <xsl:param name="latex.output.revhistory">0</xsl:param>
10
11 <!-- set up screenshots to be the right size; diagrams are set up individually -->
12 <xsl:param name="imagedata.default.scale">scale=0.5</xsl:param>
13
14 <!-- don't make too-ridiculous section numbers -->
15 <xsl:param name="doc.section.depth">3</xsl:param>
16
17 <!-- guilabel in sans-serif -->
18 <xsl:template name="inline.frobozz">
19   <xsl:param name="content">
20     <xsl:apply-templates/>
21   </xsl:param>
22   <xsl:text>\textsf{</xsl:text>
23   <xsl:copy-of select="$content"/>
24   <xsl:text>}</xsl:text>
25 </xsl:template>
26
27 <xsl:template match="guibutton|guiicon|guilabel|guimenu">
28   <xsl:call-template name="inline.frobozz"/>
29 </xsl:template>
30
31 </xsl:stylesheet>