- Timestamp:
- 10/08/2013 08:03:29 PM (11 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 58675ce
- Parents:
- 09a35dd
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-1.78.1/common/gentext.xsl
r09a35dd r15c7d39 6 6 7 7 <!-- ******************************************************************** 8 $Id $8 $Id: gentext.xsl 9713 2013-01-22 22:08:30Z bobstayton $ 9 9 ******************************************************************** 10 10 … … 91 91 92 92 <xsl:template match="section|sect1|sect2|sect3|sect4|sect5|simplesect 93 |bridgehead "93 |bridgehead|topic" 94 94 mode="object.title.template"> 95 95 <xsl:variable name="is.numbered"> … … 197 197 198 198 <xsl:template match="bridgehead" mode="is.autonumber"> 199 <xsl:value-of select="$section.autolabel"/> 200 </xsl:template> 199 <!-- bridgeheads are not numbered --> 200 <xsl:text>0</xsl:text> 201 </xsl:template> 202 203 <xsl:template match="procedure" mode="is.autonumber"> 204 <xsl:value-of select="$formal.procedures"/> 205 </xsl:template> 206 201 207 202 208 <xsl:template match="*" mode="object.xref.template"> … … 230 236 <xsl:variable name="context"> 231 237 <xsl:choose> 238 <xsl:when test="self::equation and not(title) and not(info/title)"> 239 <xsl:value-of select="'xref-number'"/> 240 </xsl:when> 232 241 <xsl:when test="string($autonumber) != 0 233 242 and $number-and-title-template != 0 … … 393 402 <xsl:text>Xref is only supported to listitems in an</xsl:text> 394 403 <xsl:text> orderedlist: </xsl:text> 395 <xsl:value-of select=" @id|@xml:id"/>404 <xsl:value-of select=".//@id|.//@xml:id"/> 396 405 </xsl:message> 397 406 <xsl:text>???</xsl:text> … … 468 477 <xsl:when test="$title != ''"> 469 478 <xsl:copy-of select="$title"/> 479 </xsl:when> 480 <xsl:when test="$purpose = 'xref'"> 481 <xsl:apply-templates select="." mode="titleabbrev.markup"> 482 <xsl:with-param name="allow-anchors" select="$allow-anchors"/> 483 <xsl:with-param name="verbose" select="$verbose"/> 484 </xsl:apply-templates> 470 485 </xsl:when> 471 486 <xsl:otherwise> … … 739 754 <xsl:value-of select="$xref.label-title.separator"/> 740 755 </xsl:when> 741 <xsl:when test="$pagetype != '' ">756 <xsl:when test="$pagetype != '' and $pagetype != 'nopage'"> 742 757 <xsl:value-of select="$xref.label-page.separator"/> 743 758 </xsl:when>
Note:
See TracChangeset
for help on using the changeset viewer.