Changeset 41a6268
- Timestamp:
- 05/23/2004 04:39:23 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/inkscape-core-mods, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 062d1f3
- Parents:
- e7f6273f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/xhtml/lfs-toc.xsl
re7f6273f r41a6268 80 80 </xsl:template> 81 81 82 <!--Adding the h* tags and dropping redundats links-->82 <!--Adding the h* tags --> 83 83 <xsl:template name="toc.line"> 84 84 <xsl:param name="toc-context" select="."/> … … 98 98 <xsl:when test="local-name(.) = 'chapter' or local-name(.) = 'preface'"> 99 99 <h4> 100 <xsl:variable name="label"> 101 <xsl:apply-templates select="." mode="label.markup"/> 102 </xsl:variable> 103 <xsl:copy-of select="$label"/> 104 <xsl:if test="$label != ''"> 105 <xsl:value-of select="$autotoc.label.separator"/> 106 </xsl:if> 107 <xsl:apply-templates select="." mode="titleabbrev.markup"/> 100 <a> 101 <xsl:attribute name="href"> 102 <xsl:call-template name="href.target"> 103 <xsl:with-param name="context" select="$toc-context"/> 104 </xsl:call-template> 105 </xsl:attribute> 106 <xsl:variable name="label"> 107 <xsl:apply-templates select="." mode="label.markup"/> 108 </xsl:variable> 109 <xsl:copy-of select="$label"/> 110 <xsl:if test="$label != ''"> 111 <xsl:value-of select="$autotoc.label.separator"/> 112 </xsl:if> 113 <xsl:apply-templates select="." mode="titleabbrev.markup"/> 114 </a> 108 115 </h4> 109 116 </xsl:when> 110 117 <xsl:when test="local-name(.) = 'part'"> 111 118 <h3> 112 <xsl:variable name="label"> 113 <xsl:apply-templates select="." mode="label.markup"/> 114 </xsl:variable> 115 <xsl:copy-of select="$label"/> 116 <xsl:if test="$label != ''"> 117 <xsl:value-of select="$autotoc.label.separator"/> 118 </xsl:if> 119 <xsl:apply-templates select="." mode="titleabbrev.markup"/> 119 <a> 120 <xsl:attribute name="href"> 121 <xsl:call-template name="href.target"> 122 <xsl:with-param name="context" select="$toc-context"/> 123 </xsl:call-template> 124 </xsl:attribute> 125 <xsl:variable name="label"> 126 <xsl:apply-templates select="." mode="label.markup"/> 127 </xsl:variable> 128 <xsl:copy-of select="$label"/> 129 <xsl:if test="$label != ''"> 130 <xsl:value-of select="$autotoc.label.separator"/> 131 </xsl:if> 132 <xsl:apply-templates select="." mode="titleabbrev.markup"/> 133 </a> 120 134 </h3> 121 135 </xsl:when>
Note:
See TracChangeset
for help on using the changeset viewer.