This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 &gt; 0 and $colnum &lt; 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 &gt; 0 and $col &lt; ancestor::tgroup/@cols">

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]