From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29841 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hossam Ghorab Newsgroups: gmane.text.pandoc Subject: Re: Use {@x} to End a Numbered Example List, where x is identifier for this specific list Date: Thu, 23 Dec 2021 11:47:35 -0800 (PST) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2858_174330552.1640288855174" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30602"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCU5BB4K5EKBBWFESOHAMGQEDXI4P2I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 23 20:47:39 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f187.google.com ([209.85.167.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n0U3u-0007jp-LB for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 23 Dec 2021 20:47:38 +0100 Original-Received: by mail-oi1-f187.google.com with SMTP id x203-20020aca31d4000000b002c6a788764dsf3288681oix.13 for ; Thu, 23 Dec 2021 11:47:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=HhQ7G+ldylN/F29Ku5K8KuIjs3qQl+rsWxd7Wne8PbI=; b=NswDhkGGtQqEmideUf90uBH5wVJquhQVl8d4ZCNtskGU6/N8QXmvMQI0cv13ZV113t CLCDRaeDCPOkP7O6riT1ECk2jLlp9lBLopDHrCysOG/DRZ+4aiYkOxbu1DW8DLvDpeYf 4N+Z/QiqB+IiYzOcRYDNC6L1CH9VndAf9VWW7S+EYbJ74hXY7pCC2nRWpYT8YBc7VYY7 940M5Ak4is8ogBMABy8wQis6W6fYP7Kt7duumDwieO2U4RJdOmaUDRUj+tgrfqgtaa39 SsUpBA6lVc9oyLZZCf4DrgoGAqgXz8kKgir3kV6O1kRAA7idKFRFKSha+Ef/GQ1tgrra WIvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=HhQ7G+ldylN/F29Ku5K8KuIjs3qQl+rsWxd7Wne8PbI=; b=LP9/TqnqgabJpud4TSiq8CXB9YAORgFDq3TMwcY/zDj5LveQj0PMcbbho2dVtQyisy 9VjdpP23LFx7ACSp364haqvwkcasMhClxI1oQ40RueeRJEjgKE4b35W4CLqRs88pk9ap SosMBQJ205Cvslp2GuvxuQ6B/9Wktj1UIHVYwLuBzyF7YR/jGykUByuC3afZGFIxVaQn MpTCjR6BV9lmhbsuTjfq81bwaNeyd3LSyvkgqJTzO8vZtZsEWPgdD9u/hE4KsOUygm45 5rkjqy3BcPB145tZ9XWQcbqops39YEBqLLqAGWnBb2pQp9rQlHS4eo8j+K2CL7bvg3GW bE5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=HhQ7G+ldylN/F29Ku5K8KuIjs3qQl+rsWxd7Wne8PbI=; b=zjv/5i2E//dkFQnWcO10nvfdCmRpkB+jrtuQh9vhtqXbgXn4kol4Tgh/ouhxzDyUJN 5Y+L8/Xnp/zvacsGP4pWT+yWFZRxJ6VwKAcLwCAHE0hUTvs210R2bm7EaTDfnxl+Yiv8 rm+ZTrEutoxHLpIdaqEy/TZPSvkSv6RtqcMvzA/WlHXv+OfqBJ8ACp52PawuOOxkzo2d FuLX5mQnFG66r90gs6OlTUCPMFBe/p1ANgsAsQYB9EuKYxG4lZA/w80547omd1G0o+ZW FU0j9X5ByXDQ5G17LdtSOW8fr0TTXKmaHr34AFj0qjvCwMkLuKzW57F4lnRXE4QMkFH2 S4Ug== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533+T34ytdyujKOtBNI9vekHTYwS+6/umt44WV1+ndwsZdRoO1Gc n6NblQvWb7rMDytwccyH0po= X-Google-Smtp-Source: ABdhPJzwASchmI9//XISe167mBrt+nMz/VGV1bqzL8j30UWUkqe81XJevZZQJkwMQGRGENC6Q9ILcg== X-Received: by 2002:aca:3bc2:: with SMTP id i185mr3080718oia.106.1640288857084; Thu, 23 Dec 2021 11:47:37 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:438e:: with SMTP id s14ls1311521otv.7.gmail; Thu, 23 Dec 2021 11:47:35 -0800 (PST) X-Received: by 2002:a05:6830:4d:: with SMTP id d13mr2533127otp.45.1640288855742; Thu, 23 Dec 2021 11:47:35 -0800 (PST) In-Reply-To: X-Original-Sender: hossamghorab404-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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29841 Archived-At: ------=_Part_2858_174330552.1640288855174 Content-Type: multipart/alternative; boundary="----=_Part_2859_108246161.1640288855174" ------=_Part_2859_108246161.1640288855174 Content-Type: text/plain; charset="UTF-8" Thanks for sharing your idea. Maybe we can post our suggestions somewhere where core Pandoc developers can see? They don't seem very active here. On Thursday, December 23, 2021 at 12:14:12 PM UTC+2 BP wrote: > This has come up before, and it wouldn't surprise me if there is already > an issue for it, although I can't find one at the moment. (For all that I > know I might even have opened such an issue myself but don't remember it.) > I have a file with a proposal, but I don't remember if I ever posted it. My > idea was to use curly brackets to distinguish counters from citations so > `(@{foo})` would be the counter named `foo` and then optionally a colon and > a number/letter which gives the numbering type and the start number as for > regular lists so `@{foo:10}` = the counter `foo` starting at 10 with > decimal numbers, `@{bar:x}` = the counter `bar` starting at 10 with > lowercase roman numbers, `@{baz:J}` = the counter `baz` starting at 10 with > upper alpha numbers, with the `:N` bit being ignored except at the first > occurrence of the counter, or maybe resetting the counter, as I imagine > that one of the main usea of this feature might be to have a separate count > for each chapter, and then resetting the same counter makes sense. > > Den ons 22 dec. 2021 21:17Hossam Ghorab skrev: > >> Dear all, >> >> Regarding the [continued numbered example lists]( >> https://pandoc.org/MANUAL.html#numbered-example-lists). A problem is >> that we can only define a single list that gets continued along the >> document. Why don't we use `(@x)` where we can simply call the identifier >> of this list, x, whenever we want to continue it's numbering? The list >> identifier may be any character not just a number. Something like: >> >> ``` (@1) element 1 of list 1 (@1) element 2 of list 1 >> --interruption---- List 2: (@2) element 1 of list 2 (@2) element 2 of >> list 2 ---- interruption---- List 1 continuous: (@1) element 3 of list 1 >> (@1) element 4 of list 1 >> ``` >> This is a primary suggestion open to all kinds of arguments. And many >> thanks to [@cderv](https://github.com/cderv) who has been a great help >> regarding Pandoc issues facing Rmarkdown users. >> >> -- >> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/bae691bb-767f-4d26-9e6e-21886fea9bd2n%40googlegroups.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/febfa13f-00aa-4526-875e-5e33c024d02dn%40googlegroups.com. ------=_Part_2859_108246161.1640288855174 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for sharing your idea. Maybe we can post our suggestions somewhere w= here core Pandoc developers can see? They don't seem very active here.
<= br>
On Thu= rsday, December 23, 2021 at 12:14:12 PM UTC+2 BP wrote:
This has come = up before, and it wouldn't surprise me if there is already an issue for= it, although I can't find one at the moment. (For all that I know I mi= ght even have opened such an issue myself but don't remember it.) I hav= e a file with a proposal, but I don't remember if I ever posted it. My = idea was to use curly brackets to distinguish counters from citations so `(= @{foo})` would be the counter named `foo` and then optionally a colon and a= number/letter which gives the numbering type and the start number as for r= egular lists so `@{foo:10}` =3D the counter `foo` starting at 10 with decim= al numbers, `@{bar:x}` =3D the counter `bar` starting at 10 with lowercase = roman numbers, `@{baz:J}` =3D the counter `baz` starting at 10 with upper a= lpha numbers, with the `:N` bit being ignored except at the first occurrenc= e of the counter, or maybe resetting the counter, as I imagine that one of = the main usea of this feature might be to have a separate count for each ch= apter, and then resetting the same counter makes sense.

Den ons 22 dec. 2021 21:17Hossam Ghorab <hossamg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
Dear all,
Regarding the [continued numbered example lists](https://pandoc.org/MANUAL.html#numbered-example-lists). A problem is = that we can only define a single list that gets continued along the documen= t. Why don't we use `(@x)` where we can simply call the identifier of t= his list, x, whenever we want to continue it's numbering? The list iden= tifier may be any character not just a number. Something like:

``` (@1) element 1 of list 1 (@1) element 2 of list 1=C2=A0=C2=A0 --interruption---- List 2: (@2) element 1 of list 2=C2=A0 (@2) element 2 of list 2=C2=A0 ---- interruption---- List 1 continuous:=20 (@1) element 3 of list 1=C2=A0=C2=A0 (@1) element 4 of list 1
```
This is a p= rimary suggestion open to all kinds of arguments. And many thanks to [@cder= v](https://github.com/cderv)= who has been a great help regarding Pandoc issues facing Rmarkdown users.= =C2=A0

--
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-discus= ...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-dis= cuss/bae691bb-767f-4d26-9e6e-21886fea9bd2n%40googlegroups.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://groups.google.com/d= /msgid/pandoc-discuss/febfa13f-00aa-4526-875e-5e33c024d02dn%40googlegroups.= com.
------=_Part_2859_108246161.1640288855174-- ------=_Part_2858_174330552.1640288855174--