2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
7 <xsl:param name="html.stylesheet" select="'dcpomatic.css'"/>
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"/>
12 <xsl:param name="generate.toc">article</xsl:param>
13 <xsl:param name="generate.toc">book</xsl:param>
15 <!-- <note> in a div with no heading -->
16 <xsl:template name="note.frobozz">
17 <xsl:param name="content">
18 <xsl:apply-templates/>
20 <xsl:text disable-output-escaping="yes"><div class="note"></xsl:text>
21 <xsl:copy-of select="$content"/>
22 <xsl:text disable-output-escaping="yes"></div></xsl:text>
25 <xsl:template match="note">
26 <xsl:call-template name="note.frobozz"/>