summaryrefslogtreecommitdiff
path: root/common/gentext.xsl
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2013-03-17 20:07:05 +0000
committer <>2015-07-07 10:18:30 +0000
commit802da9dd5d4bc18f46a916eedc0c5c1980a15e59 (patch)
treef78a8637465b7a4c9624fef03d27eb7aeaa779d4 /common/gentext.xsl
parent18f63104106b81bf37ca1af774d7be38051e5444 (diff)
downloaddocbook-xsl-master.tar.gz
Imported from /home/lorry/working-area/delta_docbook-xsl/docbook-xsl-1.78.1.tar.bz2.HEADdocbook-xsl-1.78.1master
Diffstat (limited to 'common/gentext.xsl')
-rw-r--r--common/gentext.xsl11
1 files changed, 9 insertions, 2 deletions
diff --git a/common/gentext.xsl b/common/gentext.xsl
index 90831ea..2cef1f7 100644
--- a/common/gentext.xsl
+++ b/common/gentext.xsl
@@ -5,7 +5,7 @@
version='1.0'>
<!-- ********************************************************************
- $Id: gentext.xsl 9286 2012-04-19 10:10:58Z bobstayton $
+ $Id: gentext.xsl 9713 2013-01-22 22:08:30Z bobstayton $
********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
@@ -196,7 +196,8 @@
</xsl:template>
<xsl:template match="bridgehead" mode="is.autonumber">
- <xsl:value-of select="$section.autolabel"/>
+ <!-- bridgeheads are not numbered -->
+ <xsl:text>0</xsl:text>
</xsl:template>
<xsl:template match="procedure" mode="is.autonumber">
@@ -476,6 +477,12 @@
<xsl:when test="$title != ''">
<xsl:copy-of select="$title"/>
</xsl:when>
+ <xsl:when test="$purpose = 'xref'">
+ <xsl:apply-templates select="." mode="titleabbrev.markup">
+ <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+ <xsl:with-param name="verbose" select="$verbose"/>
+ </xsl:apply-templates>
+ </xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="title.markup">
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>