Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77675 - trunk/tools/boostbook/xsl
From: steven_at_[hidden]
Date: 2012-03-31 16:33:24


Author: steven_watanabe
Date: 2012-03-31 16:33:23 EDT (Sat, 31 Mar 2012)
New Revision: 77675
URL: http://svn.boost.org/trac/boost/changeset/77675

Log:
Highlight programlistings too.
Text files modified:
   trunk/tools/boostbook/xsl/docbook.xsl | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/tools/boostbook/xsl/docbook.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/docbook.xsl (original)
+++ trunk/tools/boostbook/xsl/docbook.xsl 2012-03-31 16:33:23 EDT (Sat, 31 Mar 2012)
@@ -453,6 +453,12 @@
     <programlisting><xsl:apply-templates/></programlisting>
   </xsl:template>
 
+ <xsl:template match="programlisting[@lang='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">


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk