public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: markdown table to latex
Date: Fri, 2 May 2014 22:37:19 -0700	[thread overview]
Message-ID: <20140503053719.GA24787@berkeley.edu> (raw)
In-Reply-To: <713e18de-0001-41d3-96c3-befb77f34cba-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

Distinguish wrapping in input and wrapping in output.  In a grid
or multiline table, you may have to wrap lines in the markdown
source, but that is independent of wrapping in the output.  In
general, the lines will be wrapped differently in the output.

In a pipe table, you can't have wrapping in the input, but you
CAN get wrapping in the output, in some formats.  E.g. HTML -- try
a super-long line in a pipe table, and you'll see that it wraps
in HTML.  It won't wrap in LaTeX, because the LaTeX table model
only allows you to wrap when you know how wide the cell is.
We can get that kind of information from multiline and grid
tables, but not from pipe tables, precisely because pipe tables
are limited to one line per row in the source.

John

+++ Paul Brandt [May 01 14 08:52 ]:
>   Op vrijdag 10 januari 2014 05:40:25 UTC+1 schreef John MacFarlane:
>
>     If you have table cell contents that need to wrap in the output,
>     then
>     you need to use a grid or multiline table.  Pipe tables don't wrap.
>
>   Two remarks:
>    1. That is a pitty: multimarkdown has a perfectly legal (ok, depending
>       on one's point of view) syntax for it (see: [1]this topic in the
>       multimarkdown forum). Shouldn't pandoc support this syntax?
>    2. Maybe I don't understand this, however in my opinion grid or
>       multiline table don't provide the wrap; the user has to do the
>       wrapping himself. These type of tables subsequently accept the
>       wrapped layout. That is a pitty as well because the
>       wrapping-problem is pushed to the user realm as opposed to the
>       software realm. I hope that I have misunderstood the use and syntax
>       of grid and multiline tables??
>
>   Thanks in advance for your response,
>   Best
>       PaulB
>
>   --
>   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 [2]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [3]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [4]https://groups.google.com/d/msgid/pandoc-discuss/713e18de-0001-41d3-
>   96c3-befb77f34cba%40googlegroups.com.
>   For more options, visit [5]https://groups.google.com/d/optout.
>
>References
>
>   1. https://groups.google.com/forum/#!topic/multimarkdown/SEoE_zQ5fxg
>   2. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   4. https://groups.google.com/d/msgid/pandoc-discuss/713e18de-0001-41d3-96c3-befb77f34cba%40googlegroups.com?utm_medium=email&utm_source=footer
>   5. https://groups.google.com/d/optout


  parent reply	other threads:[~2014-05-03  5:37 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-05  2:51 ch3cooli-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <b7e6e1e6-000d-41ed-833d-43618574f4d5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-04-18  7:40   ` Bernhard Weichel
     [not found]     ` <fd732124-ad44-48b2-9f72-2979ef8ca85c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-04-18 16:05       ` John MacFarlane
     [not found]         ` <20130418160530.GD14449-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-04-18 20:15           ` Bernhard Weichel
     [not found]             ` <e1a909e5-1c9c-4743-80f7-6184c85f715a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-04-18 21:07               ` John MacFarlane
     [not found]                 ` <20130418210736.GA23171-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2014-01-10  0:10                   ` Jonathan Clark
     [not found]                     ` <01591b2e-0778-4ce2-92de-054017d7167c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-10  0:23                       ` Daniel Staal
2014-01-10  3:38                         ` Jonathan Clark
     [not found]                           ` <6c489635-2188-4c98-91f5-e1c88c24fddc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-10  4:40                             ` John MacFarlane
     [not found]                               ` <20140110044025.GA30115-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2014-01-10 20:32                                 ` Jonathan Clark
2014-05-01 15:52                                 ` Paul Brandt
     [not found]                                   ` <713e18de-0001-41d3-96c3-befb77f34cba-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-05-03  5:37                                     ` John MacFarlane [this message]
     [not found]                                       ` <20140503053719.GA24787-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2015-01-26 10:22                                         ` zozlak
2014-01-11 17:06                       ` Jonathan Clark
     [not found]                         ` <EFAD49CB-4CC2-4C4B-BFAB-1E668190C096-CY3SLAzk4Ga7P/GJLfOs3rVCufUGDwFn@public.gmane.org>
2014-01-12 18:21                           ` John MacFarlane
     [not found]                             ` <20140112182142.GB11560-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
2014-01-12 18:23                               ` Werner LEMBERG
     [not found]                                 ` <20140112.192341.342189341.wl-mXXj517/zsQ@public.gmane.org>
2014-01-12 19:46                                   ` Jonathan Clark
2014-01-27 20:00                                   ` serious bug in longtable [was: markdown table to latex] Werner LEMBERG
     [not found]                                     ` <20140127.210030.217019607.wl-mXXj517/zsQ@public.gmane.org>
2014-01-27 20:49                                       ` serious bug in longtable Werner LEMBERG
     [not found]                                         ` <52E6C960.2060303@latex-project.org>
     [not found]                                           ` <CAEW6iOhE+swOk9eCCGmMU+vJPF=xyq2=KXB2wsy0DQAUFrMhcg@mail.gmail.com>
     [not found]                                             ` <CAEW6iOhE+swOk9eCCGmMU+vJPF=xyq2=KXB2wsy0DQAUFrMhcg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-28 10:14                                               ` Werner LEMBERG
2014-01-28 18:48                                                 ` Frank Mittelbach
     [not found]                                                   ` <52E7FB79.9000800-mA33O8PENLSoClj4AeEUq9i2O/JbrIOy@public.gmane.org>
2014-01-28 21:52                                                     ` Werner LEMBERG
     [not found]                                                       ` <20140128.225253.156621287.wl-mXXj517/zsQ@public.gmane.org>
2014-01-28 22:30                                                         ` Werner LEMBERG
2020-03-15  9:21   ` markdown table to latex 红橙子

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140503053719.GA24787@berkeley.edu \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).