- Timestamp:
- 05/09/2008 01:00:42 PM (16 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- b48899b
- Parents:
- 2262b78
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-snapshot/common/labels.xsl
r2262b78 r410e228b 79 79 ancestor::part"> 80 80 <xsl:variable name="part.label"> 81 <xsl:apply-templates select="ancestor::part" 81 <xsl:apply-templates select="ancestor::part" 82 82 mode="label.markup"/> 83 83 </xsl:variable> 84 84 <xsl:if test="$part.label != ''"> 85 85 <xsl:value-of select="$part.label"/> 86 <xsl:apply-templates select="ancestor::part" 86 <xsl:apply-templates select="ancestor::part" 87 87 mode="intralabel.punctuation"/> 88 88 </xsl:if> … … 114 114 ancestor::part"> 115 115 <xsl:variable name="part.label"> 116 <xsl:apply-templates select="ancestor::part" 116 <xsl:apply-templates select="ancestor::part" 117 117 mode="label.markup"/> 118 118 </xsl:variable> 119 119 <xsl:if test="$part.label != ''"> 120 120 <xsl:value-of select="$part.label"/> 121 <xsl:apply-templates select="ancestor::part" 121 <xsl:apply-templates select="ancestor::part" 122 122 mode="intralabel.punctuation"/> 123 123 </xsl:if> … … 149 149 ancestor::part"> 150 150 <xsl:variable name="part.label"> 151 <xsl:apply-templates select="ancestor::part" 151 <xsl:apply-templates select="ancestor::part" 152 152 mode="label.markup"/> 153 153 </xsl:variable> 154 154 <xsl:if test="$part.label != ''"> 155 155 <xsl:value-of select="$part.label"/> 156 <xsl:apply-templates select="ancestor::part" 156 <xsl:apply-templates select="ancestor::part" 157 157 mode="intralabel.punctuation"/> 158 158 </xsl:if> … … 197 197 ancestor::part"> 198 198 <xsl:variable name="part.label"> 199 <xsl:apply-templates select="ancestor::part" 199 <xsl:apply-templates select="ancestor::part" 200 200 mode="label.markup"/> 201 201 </xsl:variable> 202 202 <xsl:if test="$part.label != ''"> 203 203 <xsl:value-of select="$part.label"/> 204 <xsl:apply-templates select="ancestor::part" 204 <xsl:apply-templates select="ancestor::part" 205 205 mode="intralabel.punctuation"/> 206 206 </xsl:if> … … 278 278 <xsl:value-of select="@label"/> 279 279 </xsl:when> 280 <xsl:when test="$label != 0"> 280 <xsl:when test="$label != 0"> 281 281 <xsl:variable name="format"> 282 282 <xsl:call-template name="autolabel.format"> … … 687 687 <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"/> 688 688 </xsl:if> 689 <xsl:number count="procedure[title]" format="1" 689 <xsl:number count="procedure[title]" format="1" 690 690 from="chapter|appendix" level="any"/> 691 691 </xsl:when> 692 692 <xsl:otherwise> 693 <xsl:number count="procedure[title]" format="1" 693 <xsl:number count="procedure[title]" format="1" 694 694 from="book|article" level="any"/> 695 695 </xsl:otherwise> … … 722 722 <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"/> 723 723 </xsl:if> 724 <xsl:number format="1" count="equation[title or info/title]" 724 <xsl:number format="1" count="equation[title or info/title]" 725 725 from="chapter|appendix" level="any"/> 726 726 </xsl:when> 727 727 <xsl:otherwise> 728 <xsl:number format="1" count="equation[title or info/title]" 728 <xsl:number format="1" count="equation[title or info/title]" 729 729 from="book|article" level="any"/> 730 730 </xsl:otherwise> … … 784 784 785 785 <xsl:choose> 786 <xsl:when test="$level <= $section.autolabel.max.depth"> 786 <xsl:when test="$level <= $section.autolabel.max.depth"> 787 787 <xsl:value-of select="$section.autolabel"/> 788 788 </xsl:when> … … 795 795 <refdescription id="label.this.section-desc"> 796 796 <para>Returns true if the specified section should be labelled. 797 By default, this template returns zero unless 797 By default, this template returns zero unless 798 798 the section level is less than or equal to the value of the 799 799 <literal>$section.autolabel.max.depth</literal> parameter, in … … 816 816 </xsl:when> 817 817 <xsl:otherwise>1</xsl:otherwise> 818 </xsl:choose> 818 </xsl:choose> 819 819 </xsl:template> 820 820 … … 838 838 <xsl:when test="$format='upperroman' or $format='I'"> 839 839 <xsl:value-of select="'I'"/> 840 </xsl:when> 840 </xsl:when> 841 841 <xsl:when test="$format='arabicindic' or $format='١'"> 842 842 <xsl:value-of select="'١'"/> … … 858 858 <refdescription id="autolabel.format-desc"> 859 859 <para>Returns format passed as parameter if non zero. Supported 860 format are 'arabic' or '1', 'loweralpha' or 'a', 'lowerroman' or 'i', 860 format are 'arabic' or '1', 'loweralpha' or 'a', 'lowerroman' or 'i', 861 861 'upperlapha' or 'A', 'upperroman' or 'I', 'arabicindic' or '١'. 862 If its not one of these then 862 If its not one of these then 863 863 returns the default format.</para> 864 864 </refdescription>
Note:
See TracChangeset
for help on using the changeset viewer.