Ignore:
Timestamp:
10/08/2013 08:03:29 PM (11 years ago)
Author:
Matthew Burgess <matthew@…>
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
Message:

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 moved

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/common/gentext.xsl

    r09a35dd r15c7d39  
    66
    77<!-- ********************************************************************
    8      $Id$
     8     $Id: gentext.xsl 9713 2013-01-22 22:08:30Z bobstayton $
    99     ********************************************************************
    1010
     
    9191
    9292<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|simplesect
    93                      |bridgehead"
     93                     |bridgehead|topic"
    9494              mode="object.title.template">
    9595  <xsl:variable name="is.numbered">
     
    197197
    198198<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
    201207
    202208<xsl:template match="*" mode="object.xref.template">
     
    230236  <xsl:variable name="context">
    231237    <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>
    232241      <xsl:when test="string($autonumber) != 0
    233242                      and $number-and-title-template != 0
     
    393402        <xsl:text>Xref is only supported to listitems in an</xsl:text>
    394403        <xsl:text> orderedlist: </xsl:text>
    395         <xsl:value-of select="@id|@xml:id"/>
     404        <xsl:value-of select=".//@id|.//@xml:id"/>
    396405      </xsl:message>
    397406      <xsl:text>???</xsl:text>
     
    468477                <xsl:when test="$title != ''">
    469478                  <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>
    470485                </xsl:when>
    471486                <xsl:otherwise>
     
    739754        <xsl:value-of select="$xref.label-title.separator"/>
    740755      </xsl:when>
    741       <xsl:when test="$pagetype != ''">
     756      <xsl:when test="$pagetype != '' and $pagetype != 'nopage'">
    742757        <xsl:value-of select="$xref.label-page.separator"/>
    743758      </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.