summaryrefslogtreecommitdiff
path: root/doc/manual/dcpomatic-html.xsl
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-22 15:44:13 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-22 15:44:13 +0100
commita88987fc65e006a8e5cbc983252302784136c39c (patch)
tree9fe3c66bfb4cedf4b1c9fd989dcad5eac682fc07 /doc/manual/dcpomatic-html.xsl
parent607427acfee07701e2c5d4ffa465186885b454b8 (diff)
Add some stuff about KDM types to the manual.
Diffstat (limited to 'doc/manual/dcpomatic-html.xsl')
-rw-r--r--doc/manual/dcpomatic-html.xsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/manual/dcpomatic-html.xsl b/doc/manual/dcpomatic-html.xsl
index 144675d47..72863d7db 100644
--- a/doc/manual/dcpomatic-html.xsl
+++ b/doc/manual/dcpomatic-html.xsl
@@ -9,4 +9,18 @@
<!-- I can't fathom xmlto's logic with image scaling, so I've turned it off -->
<xsl:param name="ignore.image.scaling" select="1"/>
+<!-- <note> in a div with no heading -->
+<xsl:template name="note.frobozz">
+ <xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+ <xsl:text disable-output-escaping="yes">&lt;div class="note"&gt;</xsl:text>
+ <xsl:copy-of select="$content"/>
+ <xsl:text disable-output-escaping="yes">&lt;/div&gt;</xsl:text>
+</xsl:template>
+
+<xsl:template match="note">
+ <xsl:call-template name="note.frobozz"/>
+</xsl:template>
+
</xsl:stylesheet>