* 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
[parent not found: <1e14aba8-c90a-4c3c-81ec-385b2f7612e5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: enhancement: Treat Emacs table.el tables in Org mode files as Pandoc's markdown grid tables [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> 0 siblings, 1 reply; 3+ messages in thread From: Albert Krewinkel @ 2016-12-13 23:04 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Vicente Vera <vicentemvp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > 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. > > […] > > 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. I didn't know that Org mode allows additional table formats. Could you please open an issue on GitHub for this? <https://github.com/jgm/pandoc/> -- 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/87fulrqvm9.fsf%40espresso.zeitkraut.de. For more options, visit https://groups.google.com/d/optout. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <87fulrqvm9.fsf-NJ6QtbQ9hATDZamjJ9D3v6C1jgCzLlUE@public.gmane.org>]
* Re: enhancement: Treat Emacs table.el tables in Org mode files as Pandoc's markdown grid tables [not found] ` <87fulrqvm9.fsf-NJ6QtbQ9hATDZamjJ9D3v6C1jgCzLlUE@public.gmane.org> @ 2016-12-14 14:51 ` Vicente Vera 0 siblings, 0 replies; 3+ messages in thread From: Vicente Vera @ 2016-12-14 14:51 UTC (permalink / raw) To: pandoc-discuss; +Cc: albert+pandoc-9EawChwDxG8hFhg+JK9F0w [-- Attachment #1.1: Type: text/plain, Size: 1482 bytes --] Yes. Org element parses `table.el` tables as elements with property `:type` `'table.el`. The whole table is kept as-is in the `:value` property. Thank you for your work! El martes, 13 de diciembre de 2016, 23:04:19 (UTC), Albert Krewinkel escribió: > > Vicente Vera <vicen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> writes: > > > 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. > > > > […] > > > > 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. > > I didn't know that Org mode allows additional table formats. Could you > please open an issue on GitHub for this? > > <https://github.com/jgm/pandoc/> > -- 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/ecf177fa-708e-4f2f-a470-36719d0e4e20%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 2750 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).