- 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/fo/lists.xsl
r2262b78 r410e228b 41 41 42 42 <!-- Preserve order of PIs and comments --> 43 <xsl:apply-templates 43 <xsl:apply-templates 44 44 select="*[not(self::listitem 45 45 or self::title … … 49 49 50 50 <xsl:variable name="content"> 51 <xsl:apply-templates 51 <xsl:apply-templates 52 52 select="listitem 53 53 |comment()[preceding-sibling::listitem] … … 172 172 <xsl:when test="$itemsymbol='triangle'">‣</xsl:when> 173 173 <xsl:when test="$itemsymbol='point'">›</xsl:when> 174 <xsl:when test="$itemsymbol='hand'"><fo:inline 174 <xsl:when test="$itemsymbol='hand'"><fo:inline 175 175 font-family="Wingdings 2">A</fo:inline></xsl:when> 176 176 --> … … 204 204 205 205 <!-- Preserve order of PIs and comments --> 206 <xsl:apply-templates 206 <xsl:apply-templates 207 207 select="*[not(self::listitem 208 208 or self::title … … 212 212 213 213 <xsl:variable name="content"> 214 <xsl:apply-templates 214 <xsl:apply-templates 215 215 select="listitem 216 216 |comment()[preceding-sibling::listitem] … … 307 307 </xsl:template> 308 308 309 <xsl:template match="listitem/*[1][local-name()='para' or 310 local-name()='simpara' or 309 <xsl:template match="listitem/*[1][local-name()='para' or 310 local-name()='simpara' or 311 311 local-name()='formalpara'] 312 |glossdef/*[1][local-name()='para' or 313 local-name()='simpara' or 312 |glossdef/*[1][local-name()='para' or 313 local-name()='simpara' or 314 314 local-name()='formalpara'] 315 |step/*[1][local-name()='para' or 316 local-name()='simpara' or 315 |step/*[1][local-name()='para' or 316 local-name()='simpara' or 317 317 local-name()='formalpara'] 318 |callout/*[1][local-name()='para' or 319 local-name()='simpara' or 318 |callout/*[1][local-name()='para' or 319 local-name()='simpara' or 320 320 local-name()='formalpara']" 321 321 priority="2"> … … 429 429 430 430 <!-- Preserve order of PIs and comments --> 431 <xsl:apply-templates 431 <xsl:apply-templates 432 432 select="*[not(self::varlistentry 433 433 or self::title … … 484 484 <xsl:when test="string-length($term.text) > $longest"> 485 485 <xsl:call-template name="longest.term"> 486 <xsl:with-param name="longest" 486 <xsl:with-param name="longest" 487 487 select="string-length($term.text)"/> 488 488 <xsl:with-param name="maxlength" select="$maxlength"/> … … 545 545 546 546 <!-- Preserve order of PIs and comments --> 547 <xsl:apply-templates 547 <xsl:apply-templates 548 548 select="*[not(self::varlistentry 549 549 or self::title … … 577 577 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> 578 578 579 <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing" 580 keep-together.within-column="always" 579 <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing" 580 keep-together.within-column="always" 581 581 keep-with-next.within-column="always"> 582 582 <xsl:apply-templates select="term"/> … … 655 655 <xsl:attribute name="table-layout">auto</xsl:attribute> 656 656 <xsl:if test="$explicit.table.width != ''"> 657 <xsl:attribute name="width"><xsl:value-of 657 <xsl:attribute name="width"><xsl:value-of 658 658 select="$explicit.table.width"/></xsl:attribute> 659 659 </xsl:if> … … 661 661 <xsl:otherwise> 662 662 <xsl:attribute name="table-layout">fixed</xsl:attribute> 663 <xsl:attribute name="width"><xsl:value-of 663 <xsl:attribute name="width"><xsl:value-of 664 664 select="$table.width"/></xsl:attribute> 665 665 </xsl:otherwise> … … 748 748 <xsl:attribute name="table-layout">auto</xsl:attribute> 749 749 <xsl:if test="$explicit.table.width != ''"> 750 <xsl:attribute name="width"><xsl:value-of 750 <xsl:attribute name="width"><xsl:value-of 751 751 select="$explicit.table.width"/></xsl:attribute> 752 752 </xsl:if> … … 754 754 <xsl:otherwise> 755 755 <xsl:attribute name="table-layout">fixed</xsl:attribute> 756 <xsl:attribute name="width"><xsl:value-of 756 <xsl:attribute name="width"><xsl:value-of 757 757 select="$table.width"/></xsl:attribute> 758 758 </xsl:otherwise> … … 929 929 |processing-instruction()[not(preceding-sibling::step)]"/> 930 930 931 <xsl:variable name="steps" 931 <xsl:variable name="steps" 932 932 select="step 933 933 |comment()[preceding-sibling::step] … … 1025 1025 <xsl:template match="step/title"> 1026 1026 <fo:block font-weight="bold" 1027 keep-together.within-column="always" 1027 keep-together.within-column="always" 1028 1028 keep-with-next.within-column="always"> 1029 1029 <xsl:apply-templates/> … … 1159 1159 <!-- The above restores alignment altered by image align attribute --> 1160 1160 <xsl:if test="title|info/title"> 1161 <xsl:apply-templates select="(title|info/title)[1]" 1161 <xsl:apply-templates select="(title|info/title)[1]" 1162 1162 mode="list.title.mode"/> 1163 1163 </xsl:if> 1164 1164 1165 1165 <!-- Preserve order of PIs and comments --> 1166 <xsl:apply-templates 1166 <xsl:apply-templates 1167 1167 select="*[not(self::callout or self::title or self::titleabbrev)] 1168 1168 |comment()[not(preceding-sibling::callout)]
Note:
See TracChangeset
for help on using the changeset viewer.