diff options
Diffstat (limited to 'tools/boostbook/xsl/docbook.xsl')
-rw-r--r-- | tools/boostbook/xsl/docbook.xsl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/boostbook/xsl/docbook.xsl b/tools/boostbook/xsl/docbook.xsl index c2ad5218be..c4d50c5608 100644 --- a/tools/boostbook/xsl/docbook.xsl +++ b/tools/boostbook/xsl/docbook.xsl @@ -392,6 +392,12 @@ Error: XSL template 'link-or-anchor' called with invalid link-type '<xsl:value-o </computeroutput> </xsl:template> + <xsl:template match="code[@language='jam']"> + <computeroutput> + <xsl:apply-templates mode="highlight-jam"/> + </computeroutput> + </xsl:template> + <xsl:template match="bold"> <emphasis role="bold"> <xsl:apply-templates mode="annotation"/> @@ -447,6 +453,12 @@ Error: XSL template 'link-or-anchor' called with invalid link-type '<xsl:value-o <programlisting><xsl:apply-templates/></programlisting> </xsl:template> + <xsl:template match="programlisting[@language='jam']"> + <programlisting> + <xsl:apply-templates mode="highlight-jam"/> + </programlisting> + </xsl:template> + <!-- These DocBook elements have special meaning. Use the annotation mode --> <xsl:template match="classname|methodname|functionname|enumname| macroname|headername|globalname"> |