summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2021-06-15 11:27:44 +0200
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-15 11:27:44 +0200
commit7bb1bea585538b1d0c29c78b30b6da96fe212cb4 (patch)
tree88b259a1fd4034016b9e6055f6ac056d2e7017e6
parent03e32211b11456d898b376bbd1a820a819f25615 (diff)
Suppot for <pre> tag1.2.5
-rw-r--r--latex/markup.xsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/latex/markup.xsl b/latex/markup.xsl
index 8355407..1b0dd87 100644
--- a/latex/markup.xsl
+++ b/latex/markup.xsl
@@ -329,6 +329,12 @@
<xsl:apply-templates />
</xsl:template>
+ <xsl:template match="html:pre">
+ <xsl:text>\texttt{</xsl:text>
+ <xsl:apply-templates mode="verbatim" />
+ <xsl:text>}</xsl:text>
+ </xsl:template>
+
<xsl:template match="small-font-size">
<xsl:text>{\small </xsl:text>
<xsl:apply-templates />