From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14045 Path: news.gmane.org!not-for-mail From: Gang Liang Newsgroups: gmane.text.pandoc Subject: Re: Align tables to left, as opposed to centered, using markdown to pdf via xelatex Date: Wed, 2 Dec 2015 11:14:16 -0800 (PST) Message-ID: <808fee0b-b87f-43ea-8062-5e19ae0467d4@googlegroups.com> References: <89cc306f-9b66-4d13-857a-b124af417dc9@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4579_1234893930.1449083656859" X-Trace: ger.gmane.org 1449083666 20179 80.91.229.3 (2 Dec 2015 19:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2015 19:14:26 +0000 (UTC) Cc: larry-kWvUfStYLBx0ubjbjo6WXg@public.gmane.org To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDPJ72H6SAFBBCMG7WZAKGQEYVGQLAA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Dec 02 20:14:26 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ob0-f190.google.com ([209.85.214.190]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a4CrA-0003Sn-6p for gtp-pandoc-discuss@m.gmane.org; Wed, 02 Dec 2015 20:14:24 +0100 Original-Received: by obczm5 with SMTP id zm5sf11047603obc.1 for ; Wed, 02 Dec 2015 11:14:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:x-original-sender:reply-to:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=hKqAIq9h2HT7BHyXGxmVDkRkEEbZRX5RLXs7QQsMxgY=; b=YJzOl9QVfjnOJQEaZdtwGdggy2GmrVwHFQqHUryb9i8AWNjigJmd8AY3i/kYsBMt4H uIbtNldl7wihySUKWESlt3iNYaYPzQXL/ARpYhI+0Taj6hS4dCIwHOvqa6RUDR6ww4b3 +QBa87ozWFNFwHqbjgbQ2a88Fzp/XxaLAmWc5yZuGUVTfabo7UojgqHRQ2WTzrvsV37E eETFDmarDczqBjQrt3nssxNu8oo1EX2CY5+KC7WyL0raIUUApZLaQWraSPZxlJhx5osI 0oaXO/dWA3Mmo05VR2LRdrCf56L91O5kcpAEw2vxKQSZ7lhf8Ll3sdJ2pTb1b2EBGNS2 fPOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:x-original-sender:reply-to:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=hKqAIq9h2HT7BHyXGxmVDkRkEEbZRX5RLXs7QQsMxgY=; b=Bpr6q3mSfaxL/hqQeK/n3FPH/maHrw5Z2vVfQyGHm//QY9SApowi7IILxIhxf8igpu ioZRiR1rAoz50KdTo/Rr+a3xU/Bc54L+iMb8bMzap/270Kmn0+VXTXXbgKUA3RxdG+YO yeslafbwE68fIBNMnRXSIOwWCVwt49TShUSvbptJhu+KmzYGOd+Nn5GzY0J6L1jvvLhp qpUEgtUnGYXRDdOfwaOxvFMoz90ZsVcX8DNURYU+ok9bFMZLy1Xo8A7jwkDmrg63AzGy LAqcxVC7Ul0l1R9EdiISeWtcygTpVpjHmnQjrIl6oKJ778XkiLAl4wWAS1+nCKSYNQzq WJsg== X-Received: by 10.50.153.76 with SMTP id ve12mr39227igb.4.1449083658482; Wed, 02 Dec 2015 11:14:18 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.102.3 with SMTP id fk3ls253968igb.1.canary; Wed, 02 Dec 2015 11:14:17 -0800 (PST) X-Received: by 10.50.79.233 with SMTP id m9mr162351igx.8.1449083657794; Wed, 02 Dec 2015 11:14:17 -0800 (PST) X-Google-Group-Id: 1007024079513 In-Reply-To: X-Original-Sender: randomizedthinking-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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:14045 Archived-At: ------=_Part_4579_1234893930.1449083656859 Content-Type: multipart/alternative; boundary="----=_Part_4580_831598794.1449083656859" ------=_Part_4580_831598794.1449083656859 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The mechanism of the pandocfilters is to work on the intermediate pandoc=20 AST json file. By then, the longtable environment is not generated yet. I= =20 feel we have to use your sed hack if not wanting to write code to convert= =20 the parsed AST tree to longtable by ourselves, :). On Saturday, January 17, 2015 at 8:14:52 AM UTC-8, Larry Hynes wrote: > > On 2015-01-17, Eug=C3=A9ne Roux > wrote:= =20 > > > Is there any docs on how to go about doing this?=20 > > I think https://github.com/jgm/pandocfilters is a good starting=20 > point, if you don't want to use my sed hack. ;)=20 > > --=20 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 e= mail 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/808fee0b-b87f-43ea-8062-5e19ae0467d4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_4580_831598794.1449083656859 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The mechanism of the pandocfilters is to work on the inter= mediate pandoc AST json file. By then, the longtable environment is not gen= erated yet. I feel we have to use your sed hack if not wanting to write cod= e to convert the parsed AST tree to longtable by ourselves, :).

On S= aturday, January 17, 2015 at 8:14:52 AM UTC-8, Larry Hynes wrote:On 2015-01-17, Eug=C3=A9ne Roux <eugen...@= gmail.com> wrote:

> Is there any docs on how to go about doing this?

I think https://github.com/jgm/pandocfilters i= s a good starting
point, if you don't want to use my sed hack. ;)

--
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/808fee0b-b87f-43ea-8062-5e19ae0467d4%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_4580_831598794.1449083656859-- ------=_Part_4579_1234893930.1449083656859--