|
Boost-Commit : |
From: fmhess_at_[hidden]
Date: 2007-12-18 17:19:53
Author: fmhess
Date: 2007-12-18 17:19:52 EST (Tue, 18 Dec 2007)
New Revision: 42151
URL: http://svn.boost.org/trac/boost/changeset/42151
Log:
Fixed some minor newline issues, and fixed highlighting for type of
"data-member" elements.
Text files modified:
sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Modified: sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl
==============================================================================
--- sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl (original)
+++ sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl 2007-12-18 17:19:52 EST (Tue, 18 Dec 2007)
@@ -833,6 +833,7 @@
<xsl:template name="print-access-specification">
<xsl:param name="indentation" select="0"/>
<xsl:param name="specification" select="'public'"/>
+
<xsl:text> </xsl:text>
<xsl:call-template name="indent">
<xsl:with-param name="indentation" select="$indentation"/>
@@ -870,11 +871,12 @@
<xsl:if test="ancestor::class|ancestor::class-specialization|
ancestor::struct|ancestor::struct-specialization|
ancestor::union|ancestor::union-specialization">
- <xsl:text> </xsl:text>
+ <xsl:text> </xsl:text>
<!-- If this nested class has a "purpose" element, use it as a
comment. -->
<xsl:if test="purpose">
+ <xsl:text> </xsl:text>
<xsl:call-template name="indent">
<xsl:with-param name="indentation" select="$indentation"/>
</xsl:call-template>
@@ -1141,7 +1143,7 @@
<!-- Spacing -->
<xsl:if
- test="not(local-name(preceding-sibling::*[position()=1])=local-name(.))">
+ test="not(local-name(preceding-sibling::*[position()=1])=local-name(.)) and (position() > 1)">
<xsl:text> </xsl:text>
</xsl:if>
@@ -1158,7 +1160,7 @@
<xsl:text> </xsl:text>
</xsl:if>
- <xsl:apply-templates select="type/*|type/text()" mode="annotation"/>
+ <xsl:apply-templates select="type" mode="highlight"/>
<xsl:text> </xsl:text>
<xsl:value-of select="@name"/>
<xsl:text>;</xsl:text>
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