]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug in computation of nextspans variable when
authorBob Stayton <bobs@sagehill.net>
Thu, 6 Nov 2008 18:41:16 +0000 (18:41 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 6 Nov 2008 18:41:16 +0000 (18:41 +0000)
skipped columns and column span are used.

xsl/fo/table.xsl

index c983fe1523643b24eb87209f20f4db59aea77266..8a0fe0308eb0f39f866ac7714bd4c5566cc00c1b 100644 (file)
     <xsl:when test="number($entry.colnum) &gt; $col">
       <xsl:text>0:</xsl:text>
       <xsl:call-template name="sentry">
-        <xsl:with-param name="col" select="$col+$entry.colspan"/>
-        <xsl:with-param name="spans" select="$following.spans"/>
+        <xsl:with-param name="col" select="$col + 1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
       </xsl:call-template>
     </xsl:when>