]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/help/C/matita-tex.xsl
- distributed matitaGeneratedGui.ml (needed)
[helm.git] / helm / software / matita / help / C / matita-tex.xsl
index 94129a312570befb95984b02011cbcf76bf81a5a..5f51e7cbc00b65417288f9fdb9c9984ee4347689 100644 (file)
@@ -6,4 +6,26 @@
 
   <xsl:param name="admon.graphics.path">/usr/share/xml/docbook/stylesheet/db2latex/latex/figures</xsl:param>
 
+  <xsl:param name="latex.inputenc">utf8x</xsl:param>
+  <xsl:param name="latex.book.preamble.post">\usepackage{txfonts}
+\SetUnicodeOption{mathletters} % prefer math-mode letters
+</xsl:param>
+  <xsl:param name="ulink.show">0</xsl:param>
+
+  <!-- proper alignment of tables used for grammars -->
+
+  <xsl:template match="tgroup[../@role='grammar']">
+    <xsl:text>\begin{tabular}{rcll}
+</xsl:text>
+    <xsl:apply-templates />
+    <xsl:text>\end{tabular}
+</xsl:text>
+  </xsl:template>
+
+  <xsl:template match="variablelist/title">
+    <xsl:text>\paragraph*{</xsl:text>
+    <xsl:apply-templates />
+    <xsl:text>} </xsl:text>
+  </xsl:template>
+
 </xsl:stylesheet>