From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/8711 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: markdown table to latex Date: Thu, 9 Jan 2014 20:40:25 -0800 Message-ID: <20140110044025.GA30115@Johns-MacBook-Pro.local> References: <20130418160530.GD14449@protagoras.phil.berkeley.edu> <20130418210736.GA23171@protagoras.phil.berkeley.edu> <01591b2e-0778-4ce2-92de-054017d7167c@googlegroups.com> <13B734F7F04528837D331704@[192.168.1.50]> <6c489635-2188-4c98-91f5-e1c88c24fddc@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1389328835 8036 80.91.229.3 (10 Jan 2014 04:40:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2014 04:40:35 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBR7TXWLAKGQECVXU7QQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 10 05:40:40 2014 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qa0-f62.google.com ([209.85.216.62]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1Ttg-0003U2-AZ for gtp-pandoc-discuss@m.gmane.org; Fri, 10 Jan 2014 05:40:40 +0100 Original-Received: by mail-qa0-f62.google.com with SMTP id w5sf967867qac.7 for ; Thu, 09 Jan 2014 20:40:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:subject:message-id:references:mime-version:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type :content-disposition; bh=lzYCJgsobyMnAEyhGb6+Efkti0+BXWBKsc2MbIT/LXE=; b=zYadBYd5SRbkGP3SvPWG4qeWsLpl0mTaaLl3oPKIEqHxRaZmeDh7WCtKShJnfqwvj/ bn4dnEC5r1fmBxkLEDA0PUCFf1/QF58RDfRmmftRVKbTJD0+CQlIFA/BtUl9HH3mCSd7 5Nd8oR9rCHemE2KC5jfrsDUin8oIRZ7UAkWduS0E6ZgRnA2hESmNLseo3RSqBvNmx5Rw hZPd3uQmTtWHz9+zZ3njelRitbUkHcpxOi96XRpC63x7S7Ncx+cOyxqN1F9ru2wLp7du i/v3X/EkgLxRTD5slssEm0X8E3ZEF5dleZnw9WFSP4dUwF97RrXK9uFvMbYYDTXVbE5k ogaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-disposition; bh=lzYCJgsobyMnAEyhGb6+Efkti0+BXWBKsc2MbIT/LXE=; b=GUzZEZ9jY+U0ivKSa2Isa5MaOjaQ39HTkUZgkckuJWwrumQRjoyyg9O7uypUTtSz4I Jgvew+EPqmhz8BpwxwCI/ZzHDYaPlK9jcjvuFfzzdq4PHa7P+2B5+lev0v8cBAbJSf1x Wm4/udSQFMfk2bnoNqmre3aAVwljrkOQ0TwtH1+kHlVMhssu9/BYslw+s1wJWEMbBGrs XxgHm23i44PX9Cv7kWO3HVSd/7N7Jsa6y0nb7y2rXhRUakAt9TD6YAYcZzdzSWSAqRWq SiezyWYUj9XO0YauNWvYGvsO0y3krtbhr1c203w+83VOEiUdo5sOOc94RNM+ljqgToWj /S X-Received: by 10.50.82.100 with SMTP id h4mr26622igy.0.1389328839558; Thu, 09 Jan 2014 20:40:39 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.122.74 with SMTP id lq10ls60342igb.36.canary; Thu, 09 Jan 2014 20:40:38 -0800 (PST) X-Received: by 10.42.63.196 with SMTP id d4mr2573480ici.0.1389328838931; Thu, 09 Jan 2014 20:40:38 -0800 (PST) Original-Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by gmr-mx.google.com with ESMTPS id sq4si1266159pbc.0.2014.01.09.20.40.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 20:40:38 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.160.49 as permitted sender) client-ip=209.85.160.49; Original-Received: by mail-pb0-f49.google.com with SMTP id jt11so3890017pbb.8 for ; Thu, 09 Jan 2014 20:40:38 -0800 (PST) X-Gm-Message-State: ALoCoQl2qPq2IIdzm2zClFXPdTEfhDFXi0S20L94ud4VS4WF9HnbmlaTw/X5rSbGwZKaiAUXqUVG X-Received: by 10.66.142.233 with SMTP id rz9mr8467069pab.71.1389328838779; Thu, 09 Jan 2014 20:40:38 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by mx.google.com with ESMTPSA id er3sm13791957pbb.40.2014.01.09.20.40.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jan 2014 20:40:37 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 4FC1DBB8D1; Thu, 9 Jan 2014 23:41:20 -0500 (EST) In-Reply-To: <6c489635-2188-4c98-91f5-e1c88c24fddc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.160.49 as permitted sender) smtp.mail=jgm-TVLZxgkOlNX2fBVCVOL8/A@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: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Content-Disposition: inline Xref: news.gmane.org gmane.text.pandoc:8711 Archived-At: +++ Jonathan Clark [Jan 09 14 19:38 ]: > > Ah, yes, that fixes problem 1. I'd been trying to use the MMD syntax, I > realised. > I'm hoping that problem 2 is fixable without having to resort to the > multi-line syntax, which I can foresee will be very fiddly for this length > of line. 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. LaTeX doesn't automatically lay out tables the way HTML does. You need to specify a width for each column. In grid and multiline tables, pandoc figures out table widths based on the widths in the source. This isn't going to work with pipe tables, where everything is on a single line. Note that Emacs has a nice table mode that makes it really easy to create and revise grid tables.