From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29869 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: Wed, 29 Dec 2021 14:47:05 -0800 (PST) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_17144_1760371466.1640818025017" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34513"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCU5BB4K5EKBB2OKWOHAMGQEK4BMCHI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Dec 29 23:47:09 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f56.google.com ([209.85.161.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n2hiu-0008kV-FX for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 29 Dec 2021 23:47:08 +0100 Original-Received: by mail-oo1-f56.google.com with SMTP id r25-20020a4ae5d9000000b002c9ad00c5a5sf10712217oov.22 for ; Wed, 29 Dec 2021 14:47:08 -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=nZVh4bO01Ff/wR7PybuVwlw2lA6SQn/cXs4YyZ8FQ9o=; b=PRjXYBROKArJ55tBgDnwLn2xmBaG+d46WcBzdw122e6MHo+fjO55CGhzrbQLXxGHzs krVqU+2WFzvTz9gcEtuAP/zP5/qxS5naKA3fC/K0Lsk0IOQh5u2ksaWA7C3Mnm0BUBli fYzCa5sD/L5Z/EmVeZ/y0+94E/3sALrvSa6jT7FvIYO4lVtkk2zKqFmbfxuUxP/HZDGb RIU9UtNQnVKoXNQnYI3f8Rb6z/bnpM54PXpG5i83SeP/gzaw6DZpwaAGXna/xz9Ge8ff QSwOUVT4yb1pvpYmGXPcLyl69GyresBNpbPwI9Gf8YrpiKTL623QwSQZiFxm5fJfbydB gOGA== 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=nZVh4bO01Ff/wR7PybuVwlw2lA6SQn/cXs4YyZ8FQ9o=; b=YgqccB4FelvHyglIZU/PrwIt+M2gVYZ2n50A19qlwaJKk/JuuN8DtQ+AkoGPCipeNS eETPxEkEy48YqgMWTQKY0nkSUE6UqEFjzEWu3vckNgT2404FjvdTSxVdmO1p6Jw49Euq GclepPwuXpuiJw43sHlElI2S+cWToxuT5aPmAX3TIcbJXd/wKxJfXl5bLvTOOusBGLjn vQ3wiZbCKJghVNqIGx0oH81FroYKhz/8yRFZxrBvVDoGdDt0VOAkuu+dCTi7frWHk4c6 Q4XQ5BXBg0i79S/IVAJfB5trIs7PSAApdxE8i7kMt1KS4CiY1Ni8Pohn/LC64tzHRTfs GuGA== 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=nZVh4bO01Ff/wR7PybuVwlw2lA6SQn/cXs4YyZ8FQ9o=; b=TTOQkWKvLGSYHfrcgiyBwYGtBqPol8Al3z+7araiBjeQtg9u4R7Z1kcP6Pyto6R+In VIwW+ALcc3qpnjnu5WalgnVdoRkcepJ4JPPZfSGzHU9rm8dZe4MqevPBjZjJ8HQaNVZm PYQXP8XjYszzDRquzgEHUN7DIz7c2cS5f8bp4CztSsE/rWTWD3pVzUpQsEZMAq+GvChN fU6qWcSYvg6nmGBO8+Bn8PJgVxeC4s47wsOZ3AR0UuTltRq49hCW9xaUvKS8/aJX3V11 oyQ2jFvutXuoJxoOTg4NCXbQ1m/9rEAy30aqh4qmEvuqLy8NW3PyB90/ZQlxSgMffc9C ZrLQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533+mUfAhgcLcychUVMm5KqxRleu2zi2z+d2AJK93T0PifC73GJe vYIKFc5hssrCmQHdYRm+ynI= X-Google-Smtp-Source: ABdhPJxIYDmhO3fBZZ0CmN4i5Nv8Yr5UA6KpWxf60z5ATZHwEyLnJrzdyPM/XGFX2LJ8SMnev3opsw== X-Received: by 2002:a9d:4543:: with SMTP id p3mr20029550oti.99.1640818027039; Wed, 29 Dec 2021 14:47:07 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:3245:: with SMTP id y66ls5269178oiy.3.gmail; Wed, 29 Dec 2021 14:47:05 -0800 (PST) X-Received: by 2002:a05:6808:300b:: with SMTP id ay11mr21620413oib.120.1640818025571; Wed, 29 Dec 2021 14:47:05 -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:29869 Archived-At: ------=_Part_17144_1760371466.1640818025017 Content-Type: multipart/alternative; boundary="----=_Part_17145_1687835277.1640818025017" ------=_Part_17145_1687835277.1640818025017 Content-Type: text/plain; charset="UTF-8" Sorry for the bad wording. I really admire your work and didn't mean to underestimate your kind efforts. I'm aware of the numbered example list , the thing is if I want to use 2 lists, I intuitively give them different identifiers e.g '(@foo1)' and '(@foo2)'. However, they are parsed as a single list. I still can't make make multiple different lists, it's a single list throughout the document. Please enumerate us, is it possible to have more than a single list of this type in a single document? If yes, is the suggested syntax applicable? On Wednesday, December 29, 2021 at 9:36:18 PM UTC+2 John MacFarlane wrote: > Hossam Ghorab writes: > > > 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. > > Really? I've posted here 320 times in the last year. > > Note that the syntax `(@foo)` is already used for regular example > lists; `foo` identifies the specific list number, not a list > series. > > > >> 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 > >>> < > https://groups.google.com/d/msgid/pandoc-discuss/bae691bb-767f-4d26-9e6e-21886fea9bd2n%40googlegroups.com?utm_medium=email&utm_source=footer > > > >>> . > >>> > >> > > > > -- > > 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/febfa13f-00aa-4526-875e-5e33c024d02dn%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/f60b6c88-99e5-4d3f-881d-63c5063f47d5n%40googlegroups.com. ------=_Part_17145_1687835277.1640818025017 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry for the bad wording. I really admire your work and didn't mean to und= erestimate your kind efforts.

I'm aware of the  numbered = example list, the thing is if I want to use 2 lists, I intuitively give= them different identifiers e.g '(@foo1)' and '(@foo2)'. However, they are = parsed as a single list. I still can't make make multiple different lists, = it's a single list throughout the document.  Please enumerate us, is i= t possible to have more than a single list of this type in a single documen= t? If yes, is the suggested syntax applicable?



On Wednesday, December= 29, 2021 at 9:36:18 PM UTC+2 John MacFarlane wrote:
Hossam Ghorab <hossamg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Thanks for sharing your idea. Maybe we can post our suggestions so= mewhere=20
> where core Pandoc developers can see? They don't seem very act= ive here.

Really? I've posted here 320 times in the last year.

Note that the syntax `(@foo)` is already used for regular example
lists; `foo` identifies the specific list number, not a list
series.


>> This has come up before, and it wouldn't surprise me if th= ere is already=20
>> an issue for it, although I can't find one at the moment. = (For all that I=20
>> know I might even have opened such an issue myself but don'= ;t remember it.)=20
>> I have a file with a proposal, but I don't remember if I e= ver posted it. My=20
>> idea was to use curly brackets to distinguish counters from ci= tations so=20
>> `(@{foo})` would be the counter named `foo` and then optionall= y a colon and=20
>> a number/letter which gives the numbering type and the start n= umber as for=20
>> regular lists so `@{foo:10}` =3D the counter `foo` starting at= 10 with=20
>> decimal numbers, `@{bar:x}` =3D the counter `bar` starting at = 10 with=20
>> lowercase roman numbers, `@{baz:J}` =3D the counter `baz` star= ting at 10 with=20
>> upper alpha numbers, with the `:N` bit being ignored except at= the first=20
>> occurrence of the counter, or maybe resetting the counter, as = I imagine=20
>> that one of the main usea of this feature might be to have a s= eparate count=20
>> for each chapter, and then resetting the same counter makes se= nse.
>>
>> 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-ex= ample-lists). A problem is=20
>>> that we can only define a single list that gets continued = along the=20
>>> document. Why don't we use `(@x)` where we can simply = call the identifier=20
>>> of this list, x, whenever we want to continue it's num= bering? The list=20
>>> identifier may be any character not just a number. Somethi= ng like:
>>>
>>> ``` (@1) element 1 of list 1 (@1) element 2 of list 1 =20
>>> --interruption---- List 2: (@2) element 1 of list 2 (@2) = element 2 of=20
>>> list 2 ---- interruption---- List 1 continuous: (@1) elem= ent 3 of list 1
>>> (@1) element 4 of list 1
>>> ```
>>> This is a primary suggestion open to all kinds of argument= s. And many=20
>>> thanks to [@cderv](https://= github.com/cderv) who has been a great help=20
>>> regarding Pandoc issues facing Rmarkdown users.=20
>>>
>>> --=20
>>> You received this message because you are subscribed to th= e Google Groups=20
>>> "pandoc-discuss" group.
>>> To unsubscribe from this group and stop receiving emails f= rom it, send an=20
>>> email to pandoc= -discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>>> To view this discussion on the web visit=20
>>> https://g= roups.google.com/d/msgid/pandoc-discuss/bae691bb-767f-4d26-9e6e-21886fea9bd= 2n%40googlegroups.com=20
>>> <https://groups.google.com/d/msgid/pandoc-discuss/bae691bb-767f-4d26-9e6e-= 21886fea9bd2n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter= >
>>> .
>>>
>>
>
> --=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 email to pandoc-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/febf= a13f-00aa-4526-875e-5e33c024d02dn%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/f60b6c88-99e5-4d3f-881d-63c5063f47d5n%40googlegroups.= com.
------=_Part_17145_1687835277.1640818025017-- ------=_Part_17144_1760371466.1640818025017--