Re: Docbook/style sheet bug & tex backend bug

Subject: Re: Docbook/style sheet bug & tex backend bug
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Fri, 28 Aug 1998 08:25:45 -0400
| It appears that if a table entry
| uses MOREROWS, that the output is just a bit wrong (under netscape 4.05).
| From what I can tell, when the HTML table is output and ROWSPAN is
| non-zero, than for the next row, the column entry should skip
| over the respective TD's (i.e., don't output even blank cells).
| As always, its best to look at the example.
| 
| The example table is given in: http://www.arlut.utexas/~grk/sgml/t1.sgml

Unfortunately I can't reach www.arlut.utexas at the moment, so here's
my example:

<!DOCTYPE informaltable PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
<informaltable>
<tgroup cols=3>
<tbody>
<row><entry>a1</entry><entry morerows=1>b1</entry><entry>c1</entry></row>
<row><entry>a2</entry><entry>c2</entry></row>
<row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row>
</tbody>
</tgroup>
</informaltable>

If I process this with 1.11, I get

<DIV CLASS="INFORMALTABLE">
<P></P>
<TABLE BORDER="1">
  <TR>
    <TD ALIGN="LEFT" VALIGN="TOP">a1</TD>
    <TD ROWSPAN="2" ALIGN="LEFT" VALIGN="TOP">b1</TD>
    <TD ALIGN="LEFT" VALIGN="TOP">c1</TD>
  </TR>
  <TR>
    <TD ALIGN="LEFT" VALIGN="TOP">a2</TD>
    <TD ALIGN="LEFT" VALIGN="TOP">c2</TD>
  </TR>
  <TR>
    <TD ALIGN="LEFT" VALIGN="TOP">a3</TD>
    <TD ALIGN="LEFT" VALIGN="TOP">b3</TD>
    <TD ALIGN="LEFT" VALIGN="TOP">c3</TD>
  </TR>
</TABLE>
<P></P>
</DIV>

Which looks right to me.  Might you have an extra ENTRY in your table?
Just as the TDs below a ROWSPANned entry in HTML are supposed to be
left out, so the ENTRYs below a MOREROWs entry in CALS are supposed
to be left out.


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Docbook/style sheet bug & tex backend bug
    • Glenn R. Kronschnabl - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA15925Wed, 26 Aug 1998 17:59:39 -0400 (EDT)
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA14097Fri, 28 Aug 1998 08:29:35 -0400 (EDT) <=
        • Glenn R. Kronschnabl - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA25456Fri, 28 Aug 1998 10:35:50 -0400 (EDT)
        • Glenn R. Kronschnabl - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA25921Fri, 28 Aug 1998 10:49:28 -0400 (EDT)