]> granicus.if.org Git - docbook-dsssl/commitdiff
Enabled use of the keep-together PI on task elements.
authorMauritz Jeanson <mj@johanneberg.com>
Fri, 23 May 2008 15:14:57 +0000 (15:14 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Fri, 23 May 2008 15:14:57 +0000 (15:14 +0000)
xsl/fo/task.xsl

index cc29cbd4fd5ed61f374958fb64b7d01e416daaeb..32ca6ed2101fa5f2d27919eb0da25cf20748dff4 100644 (file)
                 select="*[not(self::title
                               or self::titleabbrev)]"/>
 
+  <xsl:variable name="keep.together">
+    <xsl:call-template name="pi.dbfo_keep-together"/>
+  </xsl:variable>
+
   <fo:block id="{$id}"
             xsl:use-attribute-sets="formal.object.properties">
+
+    <xsl:if test="$keep.together != ''">
+      <xsl:attribute name="keep-together.within-column"><xsl:value-of
+      select="$keep.together"/></xsl:attribute>
+    </xsl:if>
+
     <xsl:call-template name="anchor"/>
 
     <xsl:if test="title and $placement = 'before'">