From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18047 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: variable layout grid table ("advanced grid table syntax") Date: Sat, 19 Aug 2017 19:05:19 -0700 Message-ID: <20170820020519.GA72907@Johns-MacBook-Pro.local> References: <55e9790b-5e1b-4ae7-bd64-3e5d26ef9bbf@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1503194736 23636 195.159.176.226 (20 Aug 2017 02:05:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 Aug 2017 02:05:36 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB3G44PGAKGQE23F2KNA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Aug 20 04:05:31 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pg0-f61.google.com ([74.125.83.61]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djFcF-0005aD-5M for gtp-pandoc-discuss@m.gmane.org; Sun, 20 Aug 2017 04:05:27 +0200 Original-Received: by mail-pg0-f61.google.com with SMTP id 63sf7716886pgc.0 for ; Sat, 19 Aug 2017 19:05:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1503194733; cv=pass; d=google.com; s=arc-20160816; b=aX4mQW0QNI8bFfqfKuwGJXeUery5UJIOQ9O+mlZr7o+RGIZ0IyMifjbtmQabOTYHGc XDRegppw+B3TXVTmr/ltwUx9SJQ99V4XsFmWpZeNgYy4fbhXE9SA5cW/egheVRQ7jdCN 34PsWcOYQc27UiCqoDtrtwiq28jf4BHtILjbf2ux5n15iFtzp6l9kr5VCyMYZlqXQ11W 4MboE8/8cYWTiu3uCHPYzd7S3lt0z4dIFv5iHdG5IhHowtSiYhsxvP8RBp0e5fkzR7my +jjHUod8d7P9y8Y4oByaBZlZceWYweRqxVgn1CqSA6stCs28E7eCDA+riR9yaW2rTvf6 cwow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=Rkn3yo6lqRhNYyINtM030FdkZKFQNrDHLA8baSQCKuY=; b=FCh7Oc9Z3yr0EDV3bWXxjW8ZiMFuZ4qC4ugmKC5hVKOvFaW6WREDP7ay7uKzVWENfh 06xeA9HQSgdmy9RanSjxvXNgKeD/TKFBXmN4Ljo9VPgj/6K4gbPX2HCFBsK9/wsaXMJc odnRlU1ZI/HTPNvbXeryFh4CuwouBwZVbKZPcO+0AIDeaLxTrOlhyX/KiU0w15N8slCR dqBNMgPuUJdqNIbB6ErKI5O3vsti+QdmVSCgY/Wed2wXe+Zz9SjwkrBWLEFvTJueFqQT TYi9G6d5B7lCzkLF106q7nLiOCE+UjKgxXFE+hPCHKoBSELRvpZPdGeuwDO82fx6TfjM ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=QHJhQGGr; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition: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:list-subscribe :list-unsubscribe; bh=Rkn3yo6lqRhNYyINtM030FdkZKFQNrDHLA8baSQCKuY=; b=PZgrLvXKFivd9ueEzevGM1vTKZJ6VQjBNgRzLMFdphhgBm0wITwamY4q57ev2B9jZK MrTghmGQASTkXS11vH7X5ChvhnO7aAVfRqNiewJTeYV7XbZMRkB5YfRSZ0z7uvx8rhtn 2o1LB2cDcry675Q4miCI7517IqQeIEy/e9Cu9Fl/XxK6uvvk3+MQDJCMc2mtL3Gg1Bit 9wWSHjhLqGTC9jcrxE7wGPE+8P3bycKHFiaKoIpR6zNXgdAuNDUPCqM5YhDBoSdy4uE0 7LS3/4TG7OY/xi8Ahj2qZGJ8Zovnj7nkz+s8kmEOg8eNIA44C5cZBRM+lMk/R4RJdPEJ E7YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=Rkn3yo6lqRhNYyINtM030FdkZKFQNrDHLA8baSQCKuY=; b=UO1kFEupY6lEtFVIOddMf55aebNuN7u4Mbu09HUKzrxPCBdySPAvzu97xr6vE4EZjN DX3x53eJN0IfM0au1QN2Mj5sUSo3DYvYiOD5tpLX7tl+LlfTwfpKZTcn3ci6QXqOw5K3 WvFOY6AclZk8x1uHvFCSDPRwCCLZg8d+WhtwMp123mkIUuQ0BKuhnv4VK/AElk7OMxUu LlXeVEnPXwvrkdJ5DtdTQ+t0EIet+m5/3Y/oY+YVNg38Cm1DYO6ezRS1NRJqG4ciq8jH 1CqOAE6x2aYrddznWZB5csige2UNz3TIqYkqnbf4jStXJERH7HVqmWfWGEb0cmCVAu2g Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5jVnPY2YPVx+5sAYh8lYC0D6/fCTJdzhn6GTgdTMr3/DslxiDzK KKXC9aobF407cQ== X-Received: by 10.36.50.88 with SMTP id j85mr256140ita.12.1503194733523; Sat, 19 Aug 2017 19:05:33 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.23.9 with SMTP id 9ls3537580ith.16.gmail; Sat, 19 Aug 2017 19:05:32 -0700 (PDT) X-Received: by 10.99.173.78 with SMTP id y14mr9524511pgo.6.1503194732760; Sat, 19 Aug 2017 19:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503194732; cv=none; d=google.com; s=arc-20160816; b=Wv3y+i6lpq7MS7inc5XzGutO2H5Xs5NmeJdADpyqH2iPPYQJRpSai9kho/LqEC9VWK tTP4uUJFTSqckzN6bpEojVIb/LMWCxywS74/ZHgqz/xcM7/VQjiPwgwVD0vzcpZjaZK6 btdtUc7bfF497548qNze9NOeW/d04dvWEyleqCgxGzsm8LyDQGyI7igWSRLyiysarOTg JDq9gC4g+x8kOvwtAFED+8v6hYrALmpOyifa0skU3U2feqB/m2aw/qzfGp/yKv2NBLYx HBhO4lyKpbjWsvc4ZTgBcFyHuZC5z5EGf6TtAFIdbPuAXWUizjaDO/CDHOJhA4WWgsIY Mazw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=wvxcOwZreny5Bmk4iIR9mkMpidSyd/QDXnkwaJW8p9A=; b=HQJuhyQZ2ecF5zPIt2+5gGgGymjDORwLm5unDeMxq0D+r5Estk+XdJY2BwdjTkRUN5 1qKBu/ckURL4lVzNa9Iwj4ASF4Wdv3vWH0unB47JVvlGsufv7rTuSfyXywOQkzBlH220 JmnqeE+cpj2+iIWKP4iIH4PmoiJax5fAZ3rqsGwuAW94bSPtNlLWDkImZFqW4AXuGnpo +cNr5xc4ponMdnT3jqL2DU91v7pv5Xoa0ZIDvj7ux1wIJVMGQCCWubz+EUAbctbzyfh9 O5daxteR/V53lDV4Fh39crE5h4tmNvf/EFCkZXOyJXy2eRRISpBOukGfoR/f5QSHc7+4 hTwg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=QHJhQGGr; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com. [2607:f8b0:400e:c05::22a]) by gmr-mx.google.com with ESMTPS id s4si845901pfk.12.2017.08.19.19.05.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Aug 2017 19:05:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22a as permitted sender) client-ip=2607:f8b0:400e:c05::22a; Original-Received: by mail-pg0-x22a.google.com with SMTP id u191so7475662pgc.2 for ; Sat, 19 Aug 2017 19:05:32 -0700 (PDT) X-Received: by 10.84.217.144 with SMTP id p16mr15178600pli.276.1503194732288; Sat, 19 Aug 2017 19:05:32 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id x13sm17828605pgq.41.2017.08.19.19.05.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Aug 2017 19:05:30 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id BD8E5A1C5; Sat, 19 Aug 2017 22:05:19 -0400 (EDT) Content-Disposition: inline In-Reply-To: <55e9790b-5e1b-4ae7-bd64-3e5d26ef9bbf-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=QHJhQGGr; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22a as permitted sender) smtp.mailfrom=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: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18047 Archived-At: Currently there's no support for rowspans (i.e., variable number of columns per row). +++ sjm324-HmMyXyqgL2CVc3sceRu5cw@public.gmane.org [Aug 19 17 18:25 ]: > Hello! > I searched and searched but perhaps was using the wrong terms. I > played around a lot with using rules, whether or not "single column > rows" have three or two + characters (both above and below, depending > on what is below it), but I'm not sure I'm getting the grid table > syntax right for pandoc. Or perhaps this is not supported? > I would like to be able to layout a grid table with variable number of > columns per row. The following is what I am working with: > test.md contents: > The Grid Table > ======================================================================= > ================= > This table works in reStructuredText (tested with Sphinx). Is there a > way to support > this in `pandoc`? > +-------------------------------------------+-------------------------- > ----------------+ > | Raw Camera Data Range: 20 --- 120cm (8in --- 4ft) > | > +===========================================+========================== > ================+ > | Face recognition > | > +-------------------------------------------+-------------------------- > ----------------+ > | Detection | 25 --- 75 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Landmark | 30 --- 100 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Recognition | 30 --- 80 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Expression | 30 --- 100 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Pulse | 30 --- 60 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Pose | 30 --- 100 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Hand Recognition > | > +-------------------------------------------+-------------------------- > ----------------+ > | Blob Segmentation | 20 --- 85 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Hand Segmentation | 20 --- 80 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Tracking | 20 --- 60 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Gesture | 20 --- 60 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > Option 2 > ======================================================================= > ================= > With rules for `pandoc`, to avoid centered rows being turned into > verbatim (which makes > sense): > +-------------------------------------------+-------------------------- > ----------------+ > | Raw Camera Data Range: 20 --- 120cm (8in --- 4ft) > | > +:=========================================:+:========================= > ===============:+ > | Face recognition > | > +-------------------------------------------+-------------------------- > ----------------+ > | Detection | 25 --- 75 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Landmark | 30 --- 100 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Recognition | 30 --- 80 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Expression | 30 --- 100 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Pulse | 30 --- 60 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Pose | 30 --- 100 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Hand recognition > | > +-------------------------------------------+-------------------------- > ----------------+ > | Blob Segmentation | 20 --- 85 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Hand Segmentation | 20 --- 80 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Tracking | 20 --- 60 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > | Gesture | 20 --- 60 cm > | > +-------------------------------------------+-------------------------- > ----------------+ > to generate (grid_table.sh as executable file in same directory as > test.md): > #!/usr/bin/env bash > markdown_configs="-f > markdown+grid_tables+pipe_tables+simple_tables+multiline_tables+tex_mat > h_dollars --column=88" > doctype="-t latex --latex-engine=xelatex" > inputs="test.md" > pandoc $markdown_configs $doctype $inputs -o test.pdf > rendered output > see attached test.pdf > Note: same results regardless of latex engine, but included because the > actual thing I am working with must be xelatex. > Thanks for explaining what should change or if this cannot be > supported. Extra thanks, if unsupported, for a (brief!) explanation of > why -- I'm genuinely interested ;) > -Stephen > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/55e9790b-5e1b-4ae7- > bd64-3e5d26ef9bbf%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/55e9790b-5e1b-4ae7-bd64-3e5d26ef9bbf-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout