This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Top border lacking on repeated table headers with xep
- From: David Cramer <dcramer at broadjump dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 06 Feb 2003 02:08:26 -0600
- Subject: DOCBOOK-APPS: Top border lacking on repeated table headers with xep
XEP (2.x at least) for some reason doesn't put a border declared in fo:table on running headers. So even tho you have frame="all" on your docbook table and rowseps="1" elsewhere, you still end up with this in your output:
+------------------+-----------+
| Col 1 head | Col 2 head+
+------------------+-----------+
| | blah +
| | blah +
| | blah +
| | blah +
| | blah +
| first group | blah +
| | blah +
| | blah +
+------------------+-----------+
================PAGE BREAK==============
| Col 1 head | Col 2 head+
+------------------+-----------+
| | blah +
| | blah +
| | blah +
+------------------+-----------+
| | yadda +
| second group | yadda +
| | yadda +
+------------------+-----------+
Putting borders on the top and bottom of the cells seems to fix it. Why do rowseps currently only result in bottom borders?
*** table.xsl.~1.28.~ Thu Feb 6 01:52:17 2003
--- table.xsl Thu Feb 6 01:56:21 2003
***************
*** 91,96 ****
--- 91,99 ----
<xsl:call-template name="border">
<xsl:with-param name="side" select="'bottom'"/>
</xsl:call-template>
+ <xsl:call-template name="border">
+ <xsl:with-param name="side" select="'top'"/>
+ </xsl:call-template>
</xsl:if>
<xsl:if test="$colsep > 0 and $colnum < ancestor::tgroup/@cols">
***************
*** 497,502 ****
--- 500,508 ----
<xsl:call-template name="border">
<xsl:with-param name="side" select="'bottom'"/>
</xsl:call-template>
+ <xsl:call-template name="border">
+ <xsl:with-param name="side" select="'top'"/>
+ </xsl:call-template>
</xsl:if>
<xsl:if test="$colsep > 0 and $col < ancestor::tgroup/@cols">
David