OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Respecting table formatting in docbook source while producing html or epub


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
bobs@sagehill.net
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
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.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]