aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl')
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl9
1 files changed, 2 insertions, 7 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl
index 658f3a632..a741c072e 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl
@@ -464,16 +464,11 @@
$passivetex.extensions != 0">
<xsl:attribute name="table-layout">fixed</xsl:attribute>
</xsl:if>
-
- <xsl:if test="count(preceding-sibling::tgroup) = 0">
- <!-- If this is the first tgroup, output the width attribute for the -->
- <!-- surrounding fo:table. (If this isn't the first tgroup, trying -->
- <!-- to output the attribute will cause an error.) -->
+
<xsl:attribute name="width">
<xsl:value-of select="$table.width"/>
</xsl:attribute>
- </xsl:if>
-
+
<xsl:choose>
<xsl:when test="$use.extensions != 0
and $tablecolumns.extension != 0">