From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28333 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anton Sharonov Newsgroups: gmane.text.pandoc Subject: Re: AST segments replacement Date: Wed, 12 May 2021 16:12:46 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1686"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDTJRTFGBEILXRPPQQDBUBF2OZOI6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 12 16:14:23 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f188.google.com ([209.85.208.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lgpd0-0000Ju-F3 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 12 May 2021 16:14:22 +0200 Original-Received: by mail-lj1-f188.google.com with SMTP id f4-20020a2e97440000b02900e0cf71110dsf12451115ljj.14 for ; Wed, 12 May 2021 07:14:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1620828862; cv=pass; d=google.com; s=arc-20160816; b=DqooeYE8GENVCR5IFt9+kSxyTOI68zuAF8t0PNEuCSGoOqoW2qqSyBjk0BuntqH/i+ kPgb2Fvpfp5eQP+I7RcmNJGlVIr9WVsiN8We0JM/ljkFbwD8mxygXtxnZmJHcYZEqih0 iMLjNjtddILCyZ8USAxEzHMiT3dZ8QQsgQY4zAOGLtuA3OT+LNaUOPlivskMUj1Rm/eZ GwpSOxAuOrgnwzr3GeedKA9nGPWMjujbUqntRfOxi22jxofP6z/hEyUMYgx0ODP9APat fmQsTLLOun/I0unm9fgofu4IWaqYDloqISnk6Zb+az9pAtOV2cQK2keoOdamN+bGbmNr JrTA== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=U8AlBH2WjppG7TEeQdrM2mMAuS6xTE3uQvnjiP7VKhI=; b=bvXAGJBz8Z6dw+buJJMSLSy/lsk4/lCT2wcCRGJuG1+V0ISmM3L+pLiIkFPLG1Xual XLWZbwqT45KYK+yg06hIa5RrTuHYfKni1nYZubH6KTMGARe4X+63MwkcuzmXEi+6Pi4u DNetp4IqiWSe0aNIr01q0j5sPw1pdtS+TQY3x1d7M1AkKzQGho9RD1K9AGR8ljz78Cp6 eCoNuGbxElASb/bzvk65LvMJIN6ViZyYGphg+HWwjgx/XNlPLiGrh2XlcEE34pQ2mjb5 BkY7B0eO27TYVQcHJsuTLIlu3gCMV0Y+k1QV3eNAU0aHK/Ub+tVKZVDyBUWIT6QAzI2T nW7A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MZ6bVtqs; spf=pass (google.com: domain of anton.sharonov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=anton.sharonov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to: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=U8AlBH2WjppG7TEeQdrM2mMAuS6xTE3uQvnjiP7VKhI=; b=r6gWri5pxEjRZAaJHIkI9HN6u5eRyV3s0icAqYmcSn0dIOqOWuugkboZeSgHANJ8K1 OQopmZCeo6aCu539YtnUjR1k02qgtRixa6fRwkdDtTOMU68BnieVr8OUtaPp6r/P9Yb/ K1Jgq5Y16zgQRRXoGLLamFsOar0eYNgaWgaVZAigWfweqBKGeevCT6KCmCMw7RnAENQf IGeJhTeewSkqLk2EaVt+edX5uABHCDlHb7dlB2X8E0Fwdl8iYE9itZP4rYm54+CvtgEy zCXl84Ty/nppUewP6abpTOtgGjpdl7WXhIz0hBwdyOyxGt77UMLyBtqGH8DXlyOYGa55 WDiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :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=U8AlBH2WjppG7TEeQdrM2mMAuS6xTE3uQvnjiP7VKhI=; b=pXJGHmQfZNMwN0c7z3DqE4ve7NpH51PMrAo+MU2i32cN7qAjCzueD+W9tfSPIAa7YQ Igmhk5X9WsxbnReMsi6qG/cnwG4S+x7vAYnt3wQxpgQQUjhy621frEizps4PIUeBH/rE 27TbetLYq8B7li2FVyl8S76B3Lk9C5RUw8YYZCNj0CqpdhAkq85hWJofuNs0Cuai01ed N/eH8+PJqe2SwuTqMt9GwOSSmGsa8NTydqunmT5NRvlFdo5MT6blSsOat6UvFw6+v31e bpPaju2u5O+V0alLcto5ZaB7a7TOTMbLgMPO0DuaW+I/Z5QDOOgBOJ2xpOLJPMinhA/U ccrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to: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=U8AlBH2WjppG7TEeQdrM2mMAuS6xTE3uQvnjiP7VKhI=; b=KFSll9SMzrcgVb5GslD1V1yMjfV79Smk+V8mOWhxbCZhfCBegSSAr3Szd3shZGAQkQ ZWtI0pQTPCZix+u6hj5Ro1SPjSeshJIyUcQyBZl5hJxnTLD2z0FNyLa06Zmxy9/omV+X PHFuUDiBodOuPAYx20V6e5ge7z6ZLKv/kAiHPc4Q+oPdFE2TX91Jp8b3hrLKgSMkIPsc XzF9Bnj9JkaACNzrJUR3tlD6bOzv07SxTZ1AvDTZ+lsDq0rVTTOrYUju4VAt6z96RgbD ypmi+eIvrhgbMnBdSa7cc/goS9UTLaFMMF3MCnlO6yDC6PlLi78mqeUeSMJ8rTaYlvAm MpbA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5306ASnQ0yWtyyt2PZTJTOhBI1KEsybAAmDY98sumeCD56SiqYHL kETzxX1dVhw3Zpewj7+Gibo= X-Google-Smtp-Source: ABdhPJxr8fZgHRTvhGhoLmnYYsc64GiXc9rN34CREW1bW3/9np5w8Ow1hZL5jWaOts/+WkYuxtzAQw== X-Received: by 2002:a05:6512:2021:: with SMTP id s1mr24533185lfs.211.1620828861995; Wed, 12 May 2021 07:14:21 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:651c:b07:: with SMTP id b7ls465124ljr.2.gmail; Wed, 12 May 2021 07:14:18 -0700 (PDT) X-Received: by 2002:a2e:a606:: with SMTP id v6mr30159386ljp.289.1620828858741; Wed, 12 May 2021 07:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620828858; cv=none; d=google.com; s=arc-20160816; b=GNulzIpT79Rk0f3PiOn+x4j82a1XKPfSTWxrLhFxvutHmplyBnpDKHRSh5phhjK7wn fvLGFiB8eoSu3Th2W8s19QjUkYe0eqD5jq8kgsq3b8XI5gQiD6IaQ3LgQvK7KSexGPdR Zh9BlNPcZTZe4EsGLaO8oJEHFiNjX8MJKz+Ut4stuVd2DzUURcZNw7MO+R+SxIFpSBhQ Q5LFjg7W6sEepAzlM+h/sJrALO/rdgoFj1l4jyZwUZ9FpIlH2fGy12ga+Td910OUBwji v8aSPFTiWT/1u8nHfhINq5rp/A+xfskIFQfwFcTfOzq/QzzllLd92HZhC8Fr3AFsGDVO z5vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=F2DzZsTwtOoyT1bKxawOv7ob/9BW2BzB8wnb1699WtU=; b=ZCjPiVH/NfsKySgS1XjI5VyjhN8c26Z6ey9khBEcOFsB8aNxYHS5CyqRfOckTvtUug YKfphP/HjVIJI6N97XPso60EDFOd6RRMdLLAFpdNGnx32AHu5TVx+iNvqFMDLWCoXrv7 u6Trxfil/KD48klmwvWlVSqzJkmqBytHGBINsfWrNGLaYeJmFLHfpkhWUIVOdmTZy87q k0xq9aYw9SQx76xxdjmhcBjCeGU6TPAe+KRr9DHy0IEyIQzuCjVg1gLj7gHYAJZiMhJH V995KPbDZ1XbxWLDe7gsEwqvK96LkQZFHmfhKSAWxm6HZ5CGSDT6voUXFA8xWMYMh6mS 783w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MZ6bVtqs; spf=pass (google.com: domain of anton.sharonov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=anton.sharonov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com. [2a00:1450:4864:20::130]) by gmr-mx.google.com with ESMTPS id y11si4518lfg.8.2021.05.12.07.14.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 May 2021 07:14:18 -0700 (PDT) Received-SPF: pass (google.com: domain of anton.sharonov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::130 as permitted sender) client-ip=2a00:1450:4864:20::130; Original-Received: by mail-lf1-x130.google.com with SMTP id h4so34007693lfv.0 for ; Wed, 12 May 2021 07:14:18 -0700 (PDT) X-Received: by 2002:a05:6512:1387:: with SMTP id p7mr25335910lfa.50.1620828858542; Wed, 12 May 2021 07:14:18 -0700 (PDT) In-Reply-To: X-Original-Sender: anton.sharonov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MZ6bVtqs; spf=pass (google.com: domain of anton.sharonov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=anton.sharonov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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.io gmane.text.pandoc:28333 Archived-At: On Sun, 9 May 2021 at 20:19, BPJ wrote: > > You might find this filter of mine useful: > > https://github.com/bpj/pandoc-list-table > Thank you very much for your suggestion. Checked how your filter works and it is really very impressive. Certainly I will keep this possibility in mind and in some situations use it. Especially If table is to be created completely from scratch and easy enough so it need no "visual representation" during writing. For most cases however seems my use case is different: requirement is to maintain existing tables, and if such table need to be firstly converted to a lists-of-lists shape, it will make navigation inside quite hard. My first impression was it is hard to understand, to which column actual list item belong. Understanding of writing requires in that case switching to the different program (i.e. pdf viewer) from the text editor, breaking "the flow" of writing. By the way, combination of two methods could be interesting: list-of-lists to table transformation in first place to create and maintain table structure, augmented with AST segments replacement. One can have something like a TOC of long table, maintained in source markdown in form of list-of-lists, populated with real "meat" using AST segments replacement feature :)