public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* enhancement: Treat Emacs table.el tables in Org mode files as Pandoc's markdown grid tables
@ 2016-12-11  3:33 Vicente Vera
       [not found] ` <1e14aba8-c90a-4c3c-81ec-385b2f7612e5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Vicente Vera @ 2016-12-11  3:33 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1411 bytes --]

Org mode handles both simple plain ASCII tables (created with `C-c |`)
and Emacs `table.el` tables. The latter are basically the same as
Pandoc's markdown grid tables.

It seems Pandoc's Org reader treats `table.el` tables as Org ASCII
tables, since on conversion to `docx` the output gets mangled when
dealing with rows that contain multi-line paragraphs. The resulting
table arranges every new line of text into---often several---new rows.

On the other hand, Pandoc's markdown documents with grid tables get
what could be called proper treatment, i.e. 1 paragraph (including
multi-lines) == 1 row. This produces somewhat *cleaner*
tables. Division lines are displayed correctly too.

Pandoc's Org reader should distinguish between plain ASCII tables and
`table.el` tables and treat the latter as the markdown reader treats
grid tables.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1e14aba8-c90a-4c3c-81ec-385b2f7612e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1895 bytes --]

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

end of thread, other threads:[~2016-12-14 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-11  3:33 enhancement: Treat Emacs table.el tables in Org mode files as Pandoc's markdown grid tables Vicente Vera
     [not found] ` <1e14aba8-c90a-4c3c-81ec-385b2f7612e5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-12-13 23:04   ` Albert Krewinkel
     [not found]     ` <87fulrqvm9.fsf-NJ6QtbQ9hATDZamjJ9D3v6C1jgCzLlUE@public.gmane.org>
2016-12-14 14:51       ` Vicente Vera

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).