aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-09 08:55:14 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-09 08:55:14 +0000
commitc1fe047a4d7b6890809ba4ce2e25f290c5d11962 (patch)
treedf8ae9fb1adbe06584916a01634ed4148f07c913 /stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl
parente7477591dd2a1302aadec48724cb070850caebee (diff)
Merged r8368 from new-xsl branch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8369 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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">