public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* DocBook Tables
@ 2010-11-04 12:59 Thomas Schmidt
       [not found] ` <AANLkTim7VJnZ=LCWyy6d2aLRKyyeCxk1-fm-fBw0SCV4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Schmidt @ 2010-11-04 12:59 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hello!

Pandoc writes DocBook tables in HTML style. That is not the best
solution as you can see here:
http://xmlguru.cz/2006/03/docbook-table-models

But please could you at least add the missing setup of the column width?

<colgroup>
<col width="18%"/>
<col width="11.2%"/>
<col width="17.2%"/>
<col width="53.5%"/>
</colgroup>

If you are there you could add tbody and thead too.
Better would be the DocBook style as described in the link above.

At the moment pandoc writes the width in something like CSS which is not valid:

<tr>
<th align="left" style="{width: 47%;}" colwidth="1*">
Column1
</th>
<th align="left" style="{width: 47%;}" colwidth="10*">
Column2
</th>
</tr>

Thomas


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DocBook Tables
       [not found] ` <AANLkTim7VJnZ=LCWyy6d2aLRKyyeCxk1-fm-fBw0SCV4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-11-04 15:35   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2010-11-04 15:35 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

+++ Thomas Schmidt [Nov 04 10 13:59 ]:
> Hello!
> 
> Pandoc writes DocBook tables in HTML style. That is not the best
> solution as you can see here:
> http://xmlguru.cz/2006/03/docbook-table-models
> 
> But please could you at least add the missing setup of the column width?

Yes, all of this can be done too.  Another bug report on the tracker
will help me remember.

John

> 
> <colgroup>
> <col width="18%"/>
> <col width="11.2%"/>
> <col width="17.2%"/>
> <col width="53.5%"/>
> </colgroup>
> 
> If you are there you could add tbody and thead too.
> Better would be the DocBook style as described in the link above.
> 
> At the moment pandoc writes the width in something like CSS which is not valid:
> 
> <tr>
> <th align="left" style="{width: 47%;}" colwidth="1*">
> Column1
> </th>
> <th align="left" style="{width: 47%;}" colwidth="10*">
> Column2
> </th>
> </tr>
> 
> Thomas
> 
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-04 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-04 12:59 DocBook Tables Thomas Schmidt
     [not found] ` <AANLkTim7VJnZ=LCWyy6d2aLRKyyeCxk1-fm-fBw0SCV4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-04 15:35   ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).