[Boost-docs] [boostbook] patch to trunk for using "classname", etc. inside "static-constant/type" element

Subject: [Boost-docs] [boostbook] patch to trunk for using "classname", etc. inside "static-constant/type" element
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-12-14 21:40:36


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The attached patch prevents "classname"/"methodname"/etc. elements
inside "type" elements inside "static-constant" elements from getting
dropped.

- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHYvhY5vihyNWuA4URAtymAKC2N4JboKYqAgrwNa5H8zl3elrW1QCfcvbP
RtkNwJDJ3i74RQ5i3mbJpbE=
=bw32
-----END PGP SIGNATURE-----

--Boundary-00=_YhvYHYg1fyc1DcR
Content-Type: text/x-diff; charset="utf-8";
        name="static_constant_highlight.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
        filename="static_constant_highlight.patch"

Index: tools/boostbook/xsl/type.xsl
===================================================================
--- tools/boostbook/xsl/type.xsl (revision 42019)
+++ tools/boostbook/xsl/type.xsl (working copy)
@@ -461,11 +461,7 @@
       <xsl:with-param name="text" select="'static const '"/>
     </xsl:call-template>
 
- <xsl:call-template name="source-highlight">
- <xsl:with-param name="text">
- <xsl:apply-templates select="type/*|type/text()"/>
- </xsl:with-param>
- </xsl:call-template>
+ <xsl:apply-templates select="type" mode="highlight"/>
 
     <xsl:if test="not(@name = '')">
       <xsl:text> </xsl:text>

--Boundary-00=_YhvYHYg1fyc1DcR--


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC