From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/16382 Path: news.gmane.org!.POSTED!not-for-mail From: Vicente Vera Newsgroups: gmane.text.pandoc Subject: enhancement: Treat Emacs table.el tables in Org mode files as Pandoc's markdown grid tables Date: Sat, 10 Dec 2016 19:33:06 -0800 (PST) Message-ID: <1e14aba8-c90a-4c3c-81ec-385b2f7612e5@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_848_1722515968.1481427186857" X-Trace: blaine.gmane.org 1481427190 1913 195.159.176.226 (11 Dec 2016 03:33:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2016 03:33:10 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDJ63CHK6IKRB44RWPBAKGQEWG5DKVY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Dec 11 04:33:05 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qk0-f185.google.com ([209.85.220.185]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFusp-0007kw-Lb for gtp-pandoc-discuss@m.gmane.org; Sun, 11 Dec 2016 04:33:03 +0100 Original-Received: by mail-qk0-f185.google.com with SMTP id y205sf14252337qkb.0 for ; Sat, 10 Dec 2016 19:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=e8z3ZC36vxgOVgzmZY9TbqUTLAVFZQVX/beA4OAvNjY=; b=D5UgQqw0HbdrPpB1lUsxfohNP9LYKFmLbWFyF8v2m8cC8jmm4qs22bN3swJNymlPfk xsZ7Cn2zPpEsP4UWxstclppBO9N2ubcv+N2LzHpVi6rS6vsh2pQuaYjCcmVD+TkXpI+1 Nxrn4B84rF4vDv+gKnhcgpHMrzGrl04vp5Yq8D0dHciMlsbi2QAngDUv7gO1zc0ucKj2 Mqc3JqA3qzluF0qr92/d+tR348+eHzhmx5tEeTTzC3Kk/CMN5137IWyQvabwIP5jDIY0 Fr0cgYGk9lsKuTzbhyWnOILafY16AcMrnPUITrICUgyKIeA3vd+ZgT9wA3Ol2bNIsZgw ecFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=e8z3ZC36vxgOVgzmZY9TbqUTLAVFZQVX/beA4OAvNjY=; b=CloGz1iHQuXLrsa2sl0bp8aJ79oY29it+AYw8oXFsDaraGrBidYZPXH+JWJH5n3bxD 9mx7H/81qgywnlWX/GwB0Kruwaq8tMShpawXlVls7VgtnHl8fbiuVgg6crUFedFA/4E+ wdLbdpHMH08p/DKRxGK22CWAmsuhaIMmYUbl6l3uHTA9/ddfZhK8q0gBOl0YxSKmLGwr wLs3FGfAopon+YGRhnvmvXj7w9RNzTnJ7r3Z1dkLCdpHEC4Rrfae/qICtgpQVYPpgkpm ckC5XGuBaHov+LzajoiE8gkNIMwQ5Yo9NtsUwPAvsghq/dTMc+rRKMX8VwGG90gAfU+l 1qqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=e8z3ZC36vxgOVgzmZY9TbqUTLAVFZQVX/beA4OAvNjY=; b=J/xC//EiBTLOZgIujRtAasB+5LNvKjpiA+oqU+XqbUSe1eZOpg0JzSyMewkCeoFloL sLFzP6X08AV2szPyzf+uXns9qdBwKPuz7Q4+IYZs4KURKQ28odBnZG9Wj1EausM2vZxu r+HfRb8T3kl9GNIgqHZHnexPBkPVJLeX+xSYksWK/FODhfiozjiBMZ+XRXSO8OfGzs8l RiNMItKrI+7qcJE8r23lygj0t+SNiPVPQ/yPJ5Qu5qgKUtGYtODVeuBLefFvfUDHssSd HLaWatiC4+IRSfeFrg0hT4NX/h77m5cTpFyrwBfVeSGAAK4b9RUYrtCpoGbUj9NKj9BM jJ2A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKaTC039/U6Msr0AcTlduMWHxnG/8bYiibzhQJgc+fIu+bnlMioXtMVZvtxJ4aP4EC7J2w== X-Received: by 10.157.63.164 with SMTP id r33mr5823654otc.10.1481427187765; Sat, 10 Dec 2016 19:33:07 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.46.13 with SMTP id q13ls11080011otb.20.gmail; Sat, 10 Dec 2016 19:33:07 -0800 (PST) X-Received: by 10.157.35.87 with SMTP id k23mr5813926otd.13.1481427187425; Sat, 10 Dec 2016 19:33:07 -0800 (PST) X-Original-Sender: vicentemvp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:16382 Archived-At: ------=_Part_848_1722515968.1481427186857 Content-Type: multipart/alternative; boundary="----=_Part_849_1191563697.1481427186857" ------=_Part_849_1191563697.1481427186857 Content-Type: text/plain; charset=UTF-8 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. ------=_Part_849_1191563697.1481427186857 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Org mode handles both simple plain ASCII tables (created w= ith `C-c |`)
and Emacs `table.el` tables. The latter are basically the s= ame as
Pandoc's markdown grid tables.

It seems Pandoc's O= rg reader treats `table.el` tables as Org ASCII
tables, since on convers= ion to `docx` the output gets mangled when
dealing with rows that contai= n 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 tr= eatment, i.e. 1 paragraph (including
multi-lines) =3D=3D 1 row. This pro= duces 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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@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.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_849_1191563697.1481427186857-- ------=_Part_848_1722515968.1481427186857--