Remove the "simple" UI (#1868).
[dcpomatic.git] / doc / manual / dcpomatic-pdf.xsl
index 0a57bf23f5ee1c63cf859ceaef8d07abd4b6fc6b..06f083866374d4b03bd22b5bab66aacba8f75d51 100644 (file)
@@ -8,7 +8,7 @@
 <xsl:param name="doc.collab.show">0</xsl:param>
 <xsl:param name="latex.output.revhistory">0</xsl:param>
 
-<!-- hack images to vaguely the right size -->
+<!-- set up screenshots to be the right size; diagrams are set up individually -->
 <xsl:param name="imagedata.default.scale">scale=0.5</xsl:param>
 
 <!-- don't make too-ridiculous section numbers -->
   <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>