]> granicus.if.org Git - docbook-dsssl/commitdiff
Allow anchors in section titles; improve efforts to prevent page/column breaks immedi...
authorNorman Walsh <ndw@nwalsh.com>
Sun, 12 May 2002 11:15:02 +0000 (11:15 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 12 May 2002 11:15:02 +0000 (11:15 +0000)
xsl/fo/sections.xsl

index 951b7c047b88baac44f73dbe1dbd331dc05d4bfa..e98e7e547ef45c31ff57ab1c0aaf0d8ab4dc710c 100644 (file)
@@ -84,7 +84,9 @@
     </xsl:variable>
 
     <xsl:variable name="title">
-      <xsl:apply-templates select="$section" mode="object.title.markup"/>
+      <xsl:apply-templates select="$section" mode="object.title.markup">
+        <xsl:with-param name="allow-anchors" select="1"/>
+      </xsl:apply-templates>
     </xsl:variable>
 
     <xsl:if test="$passivetex.extensions != 0">
             font-family="{$title.font.family}"
             margin-left="4pc"
             text-indent="-4pc"
+            keep-with-next.within-column="always"
             space-before.minimum="1em"
             space-before.optimum="1.5em"
             space-before.maximum="2em">