From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28334 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: AST segments replacement Date: Wed, 12 May 2021 20:24:51 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f6e0e305c226206f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37626"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRB7V26CCAMGQEUTKFL7A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 12 20:25:05 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f64.google.com ([209.85.167.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lgtXd-0009fO-58 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 12 May 2021 20:25:05 +0200 Original-Received: by mail-lf1-f64.google.com with SMTP id j5-20020a196e050000b02901cdb8a45c2esf5290634lfc.4 for ; Wed, 12 May 2021 11:25:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1620843904; cv=pass; d=google.com; s=arc-20160816; b=iEWt1JUg36SJwLHnp47sVBw8dXGfcoyUq+OYCn4/DMVNeHlpdOOtTCLrro9JC4vk1M kT+98ak05vN+G8A0GW8NvbUPdKGsqVlsmzyRuGM8WZ1YpbBagEZrnKFNPRBVjxqPXNgX 2+UXF559gvfxTb3r1GzlrTp7scbY//Vrm8095VkNuOybQWiyyJXCnuM3hiYlzsFDbtJu G1ublfWGUFaJ7tEGRG2d7JJ/rmeO53ALlv6T6H4tMBV8YmuZljQjkWk286MH8oMuFUE8 dg8CBcptO8fdmSj0qW+yI2fZW/e9j7rd0l1wgGHnLQ9diwhB2Cx04YXUZNUR2D1J4NeB pGeA== 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=jfN393oEneoy0g7BzrJ3x3ASoWPlGUIEdh6So36PTkA=; b=jnqbTKAsQhtEhOuFmiuba5ygMMPOEegERQL/EJMOyKCmriaAci7I7/3zanxMPHgzG3 oFfamFPfctF8LRO9KyLIIRqC1djIZd4SP6aWYylHbtelSLCMaQ50Xxy17SuwHIAFc/MH P449La33qQ9UIINFRoA4qmpZ+04g2OYSoO8zP28nNnIYMcEhKragppncvuuPoaIWFMxa bD3bVXBfpUvSiHZ30oU3mq8tHp43Km+VoSuTDg8Z52N0rEdIeFlvq9mNnXoRK5JyMDsV hkBrSc9tR/OuGZm0D1YDikjeLGhIgVBkW2mySmgUDhursQMtkVmCXi75h7i6lgLpBe7S xfrQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BHjRDFpq; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::12b as permitted sender) smtp.mailfrom=melroch-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=jfN393oEneoy0g7BzrJ3x3ASoWPlGUIEdh6So36PTkA=; b=Ovf9Du0e3HZoifCKpAPMDRliV/Js5lYJZ3bckiVngBF8LhiYHtzMwR0ORCtPqZtNys mI4KrlncYjiRXJdDLPTZAs1Pcz3QJOoRCXNkRxHjyhc/TQQ8OQ3tlQX6w+xDRww7SqRy be7IAwT+W8Dmk0gTxpYcIT5yS95qX5RVnQwMwHvRKaE+9mraayixiTd6aguPnulA8j4M YJpobHg5YUKw6SJsbHm3lxIGR/XhdmjJpxn7kpgkCLvk1zcsRAZ0Y1qA3N+iw6kjbKRs FWOUGGQ8txJM6BeeSnsjz4BaYrEZL4v5hMRzTTVO132NOoFhRkJ0Y+4hiMuRspAjesVd 7ZOw== 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=jfN393oEneoy0g7BzrJ3x3ASoWPlGUIEdh6So36PTkA=; b=CGKyc5eTVhX2QqbfzVnZwfmF6tjljBYhMu/4r8CXgn759Byq3JqVtiPSkl1i/pyVdO jJih11qjFNPPu8U/+P3+HulA+JK5IjSfkw4deRpwSPUOX+aa95QNwbeAnvfNGHhpSup0 +ISRHOhb4T+BcOH2ydB/f7BwqGyhTNtdoeHGnObAbcLNJ+Dsx2QHd4zvVQK0szwS6UHA jLHw4tSNlyP084BAua30Dh1AbAGWXURAzYy9SJfzOYM75E/f9WjKx20XSCFa02Zj/AQs atqlMKSPmInubsFG0uzHslth49A0SktDIOvSXOOp4FH9Buo+l7Nx122p/XtvGtoFF/um 5Pgg== 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=jfN393oEneoy0g7BzrJ3x3ASoWPlGUIEdh6So36PTkA=; b=RW+uhfBA/ZYYOU+aoqcrbpYkqjohPU7WyTqpIm7TO4wCkxNgfffvvJMTmabvKRPBFt ij+oxeQt/RQ9oKWTlEQqcn1ZLhwjfhtCnU1c85T7T7Io9KKwzW3QyOqkph+nm6iiHHZX AFQ6vc6Wr4G6e+pNqDLR3kDYLQjBaTom4b01Rq+9Z+Cbfc/iMsDttHPMWT4t3y/ug6qL +m/Ch02QdVRmrcOEz2vt73tEmIGRd7Em290yi8/T7xuu1YZdyxYNboPvwopLX06RqNtb 35cGhNvLaerH8tSBePvi43Hp48DRd1E0I2QvTRKiwTegtUDCbXayDUhk/U+HRguqp9VF 9AXQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5308Ew5ODvTAW+LiURaCy8oVwA7GnOfHi0KLQ2ZDjnBr5gQDHsnq EpHx58ngCh9DtiWAzPxkMCo= X-Google-Smtp-Source: ABdhPJwiueMlYliwaDdgzbUOkBRVun/J+kk+Yc7rhwqmT4XwgZOisnJqf2PfvKVbE573s72RuNvDpA== X-Received: by 2002:a05:6512:cc:: with SMTP id c12mr25906204lfp.326.1620843904675; Wed, 12 May 2021 11:25:04 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac2:5592:: with SMTP id v18ls2148460lfg.0.gmail; Wed, 12 May 2021 11:25:01 -0700 (PDT) X-Received: by 2002:a05:6512:114e:: with SMTP id m14mr27260941lfg.385.1620843901497; Wed, 12 May 2021 11:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620843901; cv=none; d=google.com; s=arc-20160816; b=KFhBzZDO4iFkP7E9hJaeyNfG2M/EvCOeOGAN4qhRUP6jCbRSWRs2POAc1Qq8FhPaIu wM/WiLrEnqlFjgsPFxgVYtJlJsYCRVOy9Ch13BBhBb/z+nMJOAmnR/6xJrdM+TNlvrLS oYS/v+hwyCaJSxR3wDU9OngFUWub/XUqARU3q0NvOzsAVTxsr3m4RjbARKq5Y7K1Kabg 4H3am+gs4hjxXOZn9EsjeP/Rlq1DsrVktfLkviI+m34BX9mE3AmZ/f/fWwiaT7ciKlzE YjoUMOZIzBBRXUHX7FsaAjd+SK9FGxY6itLq4uiJKl2tSOUeZxGIVLqWNtAZoTumc86e bV8w== 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=mM7GQ3hnwted/FkqqIB6viVHkpKFtwGEKLD4DYRPPO8=; b=Qf4/Rmu57yfEeN6F1hFstYBxJLcPt5x+Myn58nb08hbRtgs3mlOvUbjcIZ09apUOMC s3gebDiQPo/1xcralhWop1d3sAXdm2MeaLG/OWpfR6JnFWHPfPc0dfDnOlyrAMtmcu0t vhtdZE0lzftzT4Mm2Z1eJ534JY31eJxpTMZnwcRFDHl6xZ3I16imvxP35+NpKlBTV8Yk FfsY13+ICMM7IiH/ebmPqJ2sDYtKBaSD4d3DZIDpEwhXWWCDV6pis36yz2qRMp4eHLJc GSRAzQ1Hm4JabgHUV+xQrW5mRj06oWf+HwxidLqIRAE51alP4Rk6SSYgiiW2dlJVAZpN duwQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BHjRDFpq; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::12b as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com. [2a00:1450:4864:20::12b]) by gmr-mx.google.com with ESMTPS id u22si37276lfu.7.2021.05.12.11.25.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 May 2021 11:25:01 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::12b as permitted sender) client-ip=2a00:1450:4864:20::12b; Original-Received: by mail-lf1-x12b.google.com with SMTP id x2so35065635lff.10 for ; Wed, 12 May 2021 11:25:01 -0700 (PDT) X-Received: by 2002:a19:f00c:: with SMTP id p12mr25817485lfc.502.1620843901148; Wed, 12 May 2021 11:25:01 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BHjRDFpq; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::12b as permitted sender) smtp.mailfrom=melroch-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:28334 Archived-At: --000000000000f6e0e305c226206f Content-Type: text/plain; charset="UTF-8" Den ons 12 maj 2021 16:15Anton Sharonov skrev: > 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. > The easiest way to keep track of which column a list item belongs to is to use numbered lists. I usually just write down/print out a piece of paper with a numbered list of the column headings, or the would-be column headings for a table without headings. > 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 :) > > -- > 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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAMoRF4%3DnmMzhRev5ZpdEZCsVBVMZkD5Y7UtvL6U_oCYgazS5eQ%40mail.gmail.com > . > -- 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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhAzLbsW%3D0w4PkKy4X8A%3Dyp1toLD14LOmX7H_NgDZJVykw%40mail.gmail.com. --000000000000f6e0e305c226206f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Den ons 12 maj 2021 16:15Anton Sharonov <anton.sharonov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
=
On Sun, 9 May 2021 at 20:19, BPJ <melroch@= gmail.com> 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 writ= ing.

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.
=

The easiest way t= o keep track of which column a list item belongs to is to use numbered list= s. I usually just write down/print out a piece of paper with a numbered lis= t of the column headings, or the would-be column headings for a table witho= ut headings.


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" usi= ng
AST segments replacement feature :)

--
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 pandoc-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit http= s://groups.google.com/d/msgid/pandoc-discuss/CAMoRF4%3DnmMzhRev5ZpdEZCsVBVM= ZkD5Y7UtvL6U_oCYgazS5eQ%40mail.gmail.com.

--
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 view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhAzLbsW%3D0w4PkKy4X8A%3Dyp1toLD= 14LOmX7H_NgDZJVykw%40mail.gmail.com.
--000000000000f6e0e305c226206f--