]> granicus.if.org Git - docbook-dsssl/commitdiff
Added support for keep-together PI on informaltable. Closes bug #3555609.
authorMauritz Jeanson <mj@johanneberg.com>
Mon, 15 Oct 2012 15:43:56 +0000 (15:43 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Mon, 15 Oct 2012 15:43:56 +0000 (15:43 +0000)
xsl/fo/table.xsl

index 334aa22e93cc1ae05dc06515fd0f188ba7d3af81..2d3d01c98f9f0379e4ea044c65e9a38519df6162 100644 (file)
     <xsl:otherwise>
       <fo:block id="{$id}"
                 xsl:use-attribute-sets="informaltable.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column">
+            <xsl:value-of select="$keep.together"/>
+          </xsl:attribute>
+        </xsl:if>
         <xsl:copy-of select="$table.layout"/>
         <xsl:call-template name="table.footnote.block"/>
       </fo:block>