Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2003 18:23:46 -0600
From:      "Justin T. Gibbs" <gibbs@scsiguy.com>
To:        doc@freebsd.org
Subject:   Table rendering broken in both HTML and PDF formats???
Message-ID:  <1188490000.1051662226@aslan.btc.adaptec.com>

next in thread | raw e-mail | index | archive | help
Folks,

I'm trying to setup a table to define a data struct that looks
very much like the tables in the SCSI specs.  This requires
that most of the enhanced table features render correctly.
When rendered to HTML, the following table looks correct with
the exception that colsep='0' and rowsep='0' are not honored
on individual entries.  This is annoying, but not a show stopper.
Rendering to PDF, however, is another story entirely.  In this
example, the "bit 0" column of the table seems to just disappear
off the right margin.  Unfortunately I don't understand enough TeX
to know if the problem is in the translation from SGML to TeX or
from TeX to PDF.  Any help would be appreciated.

Thanks!
Justin

         <table>
            <title>SCB Format</title>
            <tgroup cols='9' align='center'>
               <colspec colname='byte'>
               <colspec colname='b7'>
               <colspec colname='b6'>
               <colspec colname='b5'>
               <colspec colname='b4'>
               <colspec colname='b3'>
               <colspec colname='b2'>
               <colspec colname='b1'>
               <colspec colname='b0'>
               <thead valign='middle'>
                  <row>
                     <entry><para>Bit</para><para>Byte</para></entry>
                     <entry>7</entry>
                     <entry>6</entry>
                     <entry>5</entry>
                     <entry>4</entry>
                     <entry>3</entry>
                     <entry>2</entry>
                     <entry>1</entry>
                     <entry>0</entry>
                  </row>
               </thead>
               <tbody valign='middle'>
                  <row>
                     <entry>0</entry>
                     <entry namest='b7'
                            nameend='b0'
                            morerows='2'>
                        Format Specific Fields
                     </entry>
                  </row>

                  <row>
                     <entry>...</entry>
                  </row>
            
                  <row>
                     <entry>15</entry>
                  </row>
                  <row>
                     <entry>16</entry>
                     <entry colsep='0'></entry>
                     <entry
                            namest='b6'
                            nameend='b1'
                            morerows='2' colsep='0'>
                        SCB_DATAPTR
                     </entry>
                     <entry>(LSB)</entry>
                  </row>
                  <row>
                     <entry>...</entry>
                     <entry colsep="0"></entry>
                  </row>
                  <row>
                     <entry>23</entry>
                     <entry colsep="0">(MSB)</entry>
                  </row>
               </tbody>
            </tgroup>
         </table>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1188490000.1051662226>