Add some stuff about KDM types to the manual.
[dcpomatic.git] / doc / manual / dcpomatic-pdf.xsl
index a2a950f0aa2e5e16f2928152330935d66e5e7951..06f083866374d4b03bd22b5bab66aacba8f75d51 100644 (file)
   <xsl:call-template name="inline.frobozz"/>
 </xsl:template>
 
+<!-- <note> in a box with \dbend -->
+<xsl:template name="note.frobozz">
+  <xsl:param name="content">
+    <xsl:apply-templates/>
+  </xsl:param>
+  <xsl:text>\begin{center}\fbox{\begin{minipage}{0.8\textwidth}\raisebox{10pt}{\dbend}\quad</xsl:text>
+  <xsl:copy-of select="$content"/>
+  <xsl:text>\end{minipage}}\end{center}\par</xsl:text>
+</xsl:template>
+
+<xsl:template match="note">
+  <xsl:call-template name="note.frobozz"/>
+</xsl:template>
+
 </xsl:stylesheet>