summaryrefslogtreecommitdiff
path: root/doc/manual/dcpomatic-pdf.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-pdf.xsl
parent607427acfee07701e2c5d4ffa465186885b454b8 (diff)
Add some stuff about KDM types to the manual.
Diffstat (limited to 'doc/manual/dcpomatic-pdf.xsl')
-rw-r--r--doc/manual/dcpomatic-pdf.xsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/manual/dcpomatic-pdf.xsl b/doc/manual/dcpomatic-pdf.xsl
index a2a950f0a..06f083866 100644
--- a/doc/manual/dcpomatic-pdf.xsl
+++ b/doc/manual/dcpomatic-pdf.xsl
@@ -28,4 +28,18 @@
<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>