Manual tweaks; both content and style for new website.
[dcpomatic.git] / doc / manual / dcpomatic-html.xsl
index 144675d47503eb7032dc837a30855820381437da..a8a65cfc8867c9d1d8a869960e4d453cd3edbbf9 100644 (file)
@@ -9,4 +9,21 @@
 <!-- I can't fathom xmlto's logic with image scaling, so I've turned it off -->
 <xsl:param name="ignore.image.scaling" select="1"/>
 
+<xsl:param name="generate.toc">article</xsl:param>
+<xsl:param name="generate.toc">book</xsl:param>
+
+<!-- <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>