This is the mail archive of the davenport@berkshire.net mailing list for the Davenport project.


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

DAVENPORT: Tables with DVI backend


I have defined a table with a row-spanning entry:

<informaltable frame="all" rowsep="1">
    <tgroup cols="5" colsep="1" rowsep="1">
      <colspec colnum="1" colname="col1" colwidth="2*" align="center">
      <colspec colnum="2" colname="col2" colwidth="*" align="center">
      <colspec colnum="3" colname="col3" colwidth="*" align="center">
      <colspec colnum="4" colname="col4" colwidth="*" align="center">
      <colspec colnum="5" colname="col5" colwidth="*" align="center">
      <spanspec namest="col2" nameend="col5" spanname="2to5">
      <thead>
        <row>
           <entry morerows="1" valign="middle">feature</entry>
           <entry spanname="2to5">shell</entry>
        </row>
        <row>
           <entry colname="col2"><command>sh</command> (Bourne)</entry>
           <entry><command>sh</command> (<acronym>POSIX</acronym>)</entry>
           <entry><command>ksh</command></entry>
           <entry><command>zsh</command></entry>
        </row>
      </thead>
      <tbody>
[...]

This looks perfecly OK when using the HTML backend. However, the DVI
backend produces output that roughly looks like:

+-----------+----------------------------------+
|  feature  |                 shell            |
|           +----------+-------+-------+-------+
|sh (Bourne)|sh (POSIX)|  ksh  |  zsh  | 
+-----------+----------+-------+-------+-------+
|           |          |       |       |       |

So, instead of starting at the second column, the second row is
shifted to the left, leaving a gap at the end.

In HTML ``feature'' is correctly lined up with the row separator
between row 1 and row 2 occupying column 1 row 1 and 2.

Neither are the example tables from the DocBook reference rendered
correctly with the DVI backend. The HTML backend works OK again.

My configuration:

DocBook DTD: 3.0, Rel. 2
DocBook stylesheets: 1.24, Rel. 2
James Clark's DSSSL engine: 1.2.1, Rel. 1
jadetex: 2.3, rel. 1
SGMLtools core package: 2.0, Rel. 2

Tschüss

Jens
-- 
Jens M. Felderhoff

home  : j.m.f@netcologne.de
office: jmfelder@baan.com


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