Supporters update.
[dcpomatic.git] / doc / manual / dcpomatic-html.xsl
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4                 version="1.0">
5
6 <!-- Our CSS -->
7 <xsl:param name="html.stylesheet" select="'dcpomatic.css'"/>
8
9 <!-- I can't fathom xmlto's logic with image scaling, so I've turned it off -->
10 <xsl:param name="ignore.image.scaling" select="1"/>
11
12 <xsl:param name="generate.toc" select="'book toc'"/>
13
14 <!-- <note> in a div with no heading -->
15 <xsl:template name="note.frobozz">
16   <xsl:param name="content">
17     <xsl:apply-templates/>
18   </xsl:param>
19   <xsl:text disable-output-escaping="yes">&lt;div class="note"&gt;</xsl:text>
20   <xsl:copy-of select="$content"/>
21   <xsl:text disable-output-escaping="yes">&lt;/div&gt;</xsl:text>
22 </xsl:template>
23
24 <xsl:template match="note">
25   <xsl:call-template name="note.frobozz"/>
26 </xsl:template>
27
28 </xsl:stylesheet>