- 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/autotoc.xsl
r2262b78 r410e228b 211 211 leader-alignment="reference-area" 212 212 keep-with-next.within-line="always"/> 213 <xsl:text> </xsl:text> 213 <xsl:text> </xsl:text> 214 214 <fo:basic-link internal-destination="{$id}"> 215 215 <fo:page-number-citation ref-id="{$id}"/> … … 338 338 leader-alignment="reference-area" 339 339 keep-with-next.within-line="always"/> 340 <xsl:text> </xsl:text> 340 <xsl:text> </xsl:text> 341 341 <fo:basic-link internal-destination="{$id}"> 342 342 <fo:page-number-citation ref-id="{$id}"/> … … 371 371 <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> 372 372 373 <xsl:if test="$toc.section.depth > 0 373 <xsl:if test="$toc.section.depth > 0 374 374 and $toc.max.depth > $depth.from.context 375 375 and $nodes"> … … 409 409 <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> 410 410 411 <xsl:if test="$toc.section.depth > 0 411 <xsl:if test="$toc.section.depth > 0 412 412 and $toc.max.depth > $depth.from.context 413 413 and $nodes"> … … 491 491 <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> 492 492 493 <xsl:if test="$toc.section.depth > 0 493 <xsl:if test="$toc.section.depth > 0 494 494 and $toc.max.depth > $depth.from.context 495 495 and $nodes"> … … 525 525 <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> 526 526 527 <xsl:if test="$toc.section.depth > 1 527 <xsl:if test="$toc.section.depth > 1 528 528 and $toc.max.depth > $depth.from.context 529 529 and sect2"> … … 533 533 </xsl:attribute> 534 534 535 <xsl:apply-templates select="sect2|qandaset[$qanda.in.toc != 0]" 535 <xsl:apply-templates select="sect2|qandaset[$qanda.in.toc != 0]" 536 536 mode="toc"> 537 537 <xsl:with-param name="toc-context" select="$toc-context"/> … … 563 563 <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> 564 564 565 <xsl:if test="$toc.section.depth > 2 565 <xsl:if test="$toc.section.depth > 2 566 566 and $toc.max.depth > $depth.from.context 567 567 and sect3"> … … 573 573 </xsl:attribute> 574 574 575 <xsl:apply-templates select="sect3|qandaset[$qanda.in.toc != 0]" 575 <xsl:apply-templates select="sect3|qandaset[$qanda.in.toc != 0]" 576 576 mode="toc"> 577 577 <xsl:with-param name="toc-context" select="$toc-context"/> … … 603 603 <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> 604 604 605 <xsl:if test="$toc.section.depth > 3 605 <xsl:if test="$toc.section.depth > 3 606 606 and $toc.max.depth > $depth.from.context 607 607 and sect4"> … … 613 613 </xsl:attribute> 614 614 615 <xsl:apply-templates select="sect4|qandaset[$qanda.in.toc != 0]" 615 <xsl:apply-templates select="sect4|qandaset[$qanda.in.toc != 0]" 616 616 mode="toc"> 617 617 <xsl:with-param name="toc-context" select="$toc-context"/> … … 643 643 <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> 644 644 645 <xsl:if test="$toc.section.depth > 4 645 <xsl:if test="$toc.section.depth > 4 646 646 and $toc.max.depth > $depth.from.context 647 647 and sect5"> … … 653 653 </xsl:attribute> 654 654 655 <xsl:apply-templates select="sect5|qandaset[$qanda.in.toc != 0]" 655 <xsl:apply-templates select="sect5|qandaset[$qanda.in.toc != 0]" 656 656 mode="toc"> 657 657 <xsl:with-param name="toc-context" select="$toc-context"/> … … 718 718 </xsl:call-template> 719 719 720 <xsl:if test="$toc.section.depth > $depth 720 <xsl:if test="$toc.section.depth > $depth 721 721 and $toc.max.depth > $depth.from.context 722 722 and section"> … … 728 728 </xsl:attribute> 729 729 730 <xsl:apply-templates select="section|qandaset[$qanda.in.toc != 0]" 730 <xsl:apply-templates select="section|qandaset[$qanda.in.toc != 0]" 731 731 mode="toc"> 732 732 <xsl:with-param name="toc-context" select="$toc-context"/> … … 834 834 </xsl:call-template> 835 835 836 <xsl:if test="$toc.section.depth > $depth 836 <xsl:if test="$toc.section.depth > $depth 837 837 and $toc.max.depth > $depth.from.context 838 838 and (child::qandadiv or child::qandaentry)">
Note:
See TracChangeset
for help on using the changeset viewer.