Hi Esteban,

Check out the section on table borders in my online book and see if that works:

http://www.sagehill.net/docbookxsl/Borders.html

Bob Stayton
[email protected]

On 8/19/2021 3:13 AM, Esteban Zimanyi wrote:
A table in my source DocBook xml document is defined as follows

<table frame='bottom'><title>Variables for the user's and the developer's documentation</title>
  <tgroup cols='3' align='left' colsep='0' rowsep='1'>
  <colspec colname='c1' colwidth="1*"/>
  <colspec colname='c2' colwidth="1*"/>
  <colspec colname='c3' colwidth="5*"/>
  <thead>
    <row>
      <entry>Variable</entry>
      <entry>Default value</entry>
      <entry>Comment</entry>
    </row>
  </thead>
  <tbody>
    <row>
<entry><varname>ALL_DOC</varname></entry>
<entry><varname>BOOL=OFF</varname></entry>
      <entry>The user's documentation is generated in HTML, PDF, and EPUB formats.</entry>
    </row>
    [...]
   </tbody>
  </tgroup>
</table>

When the table is generated in PDF using dblatex the format specified in the docbook document is respected (e.g., table frame='bottom' or colsep='0').

However, this formatting is ignored in HTML or EPUB and the tables are output without any customization, i.e., traditional double border for each cell.

I know they are HMTL table parameters
http://docbook.sourceforge.net/release/xsl/current/doc/html/tables.html <http://docbook.sourceforge.net/release/xsl/current/doc/html/tables.html> but I would simply want to output the table as specified in the docbook document.

Is there a way to do this ?

Thanks for your answer.

Reply via email to