public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Multi column table
@ 2012-03-22  4:33 Peng Yu
       [not found] ` <d9909522-cd85-4801-8f24-2ff1402b7ed1-r2D7HvMaDPmqFmioV6QfyGB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Peng Yu @ 2012-03-22  4:33 UTC (permalink / raw)
  To: pandoc-discuss

There are multiple line table. Is there a multicolumn table like this?
I.e, two or more column share the same column name.

Column name1   Column name2
--------------------   --------------------
x1    |    y1                 z1
x2    |    y2                 z2


Regards,
Peng


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

* Re: Multi column table
       [not found] ` <d9909522-cd85-4801-8f24-2ff1402b7ed1-r2D7HvMaDPmqFmioV6QfyGB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
@ 2012-03-22 15:49   ` John MacFarlane
       [not found]     ` <20120322154902.GA6246-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2012-03-22 15:49 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

No, no colspans or rowspans are supported in pandoc tables.

+++ Peng Yu [Mar 21 12 21:33 ]:
> There are multiple line table. Is there a multicolumn table like this?
> I.e, two or more column share the same column name.
> 
> Column name1   Column name2
> --------------------   --------------------
> x1    |    y1                 z1
> x2    |    y2                 z2
> 
> 
> Regards,
> Peng
> 
> -- 
> 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] 4+ messages in thread

* Re: Multi column table
       [not found]     ` <20120322154902.GA6246-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
@ 2012-05-07 10:23       ` Peng Yu
       [not found]         ` <71fad542-ce3c-4285-a346-c34978fa2d98-XmS4qG9o7/kmeG/nlvFTTlYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Peng Yu @ 2012-05-07 10:23 UTC (permalink / raw)
  To: pandoc-discuss

http://docutils.sourceforge.net/docs/user/rst/quickref.html#tables

I see that multiple column cell in a table is supported in rst. Is it
very difficult to get this implemented in pandoc?

On Mar 22, 10:49 am, John MacFarlane <fiddlosop...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> No, no colspans or rowspans are supported inpandoctables.
>
> +++ Peng Yu [Mar 21 12 21:33 ]:
>
>
>
>
>
>
>
> > There are multiple line table. Is there amulticolumntable like this?
> > I.e, two or more column share the same column name.
>
> > Column name1   Column name2
> > --------------------   --------------------
> > x1    |    y1                 z1
> > x2    |    y2                 z2
>
> > Regards,
> > Peng
>
> > --
> > You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> > To post to this group, send email topandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To unsubscribe from this group, send email topandoc-discuss+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/pandoc-discuss?hl=en.

-- 
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@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.



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

* Re: Multi column table
       [not found]         ` <71fad542-ce3c-4285-a346-c34978fa2d98-XmS4qG9o7/kmeG/nlvFTTlYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org>
@ 2012-05-07 15:02           ` John MacFarlane
  0 siblings, 0 replies; 4+ messages in thread
From: John MacFarlane @ 2012-05-07 15:02 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

+++ Peng Yu [May 07 12 03:23 ]:
> http://docutils.sourceforge.net/docs/user/rst/quickref.html#tables
> 
> I see that multiple column cell in a table is supported in rst. Is it
> very difficult to get this implemented in pandoc?

The Table data structure pandoc uses does not allow cells to
span multiple columns or multiple rows.  So the change would not
be too easy.  We'd have to change the Table structure, figure out
how to parse multi-column and multi-row cells, and change all
of the writers so they can deal with these.  It's doable, but it's
a big job and would require some thought.

John


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

end of thread, other threads:[~2012-05-07 15:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22  4:33 Multi column table Peng Yu
     [not found] ` <d9909522-cd85-4801-8f24-2ff1402b7ed1-r2D7HvMaDPmqFmioV6QfyGB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2012-03-22 15:49   ` John MacFarlane
     [not found]     ` <20120322154902.GA6246-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2012-05-07 10:23       ` Peng Yu
     [not found]         ` <71fad542-ce3c-4285-a346-c34978fa2d98-XmS4qG9o7/kmeG/nlvFTTlYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org>
2012-05-07 15:02           ` 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).