From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29837 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ 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:13:56 +0100 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000bdb50c05d3cd7fcd" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11156"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRB4MXSGHAMGQE4OQQOPY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 23 11:14:12 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 1n0L6y-0002iw-Hg for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 23 Dec 2021 11:14:12 +0100 Original-Received: by mail-lj1-f188.google.com with SMTP id bn28-20020a05651c179c00b002222b4cc6d8sf1258329ljb.0 for ; Thu, 23 Dec 2021 02:14:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1640254451; cv=pass; d=google.com; s=arc-20160816; b=g1u/G9oeVYDGETu1ADc+Ua0wfqIfzskHWoMymnXpyukvOj8/AsXxFu+7O0hVnsiUsf wgKMGskeYSxOv/RPMFSujjOCaG8gKQ+uTnbUTvu5VwDp2DrYTvE5xPVNOmmMAsbzYXar 1P+l9yZlAy1PquvVf/d9RadrYFg1tt/4QJCk/jkBHLctVFqZbyw3SIc68ZVp7DsOZzfw VW0/d1DyhMHICc/D+Z4F9xcErSGMRLwYgq1/oGU3ZU6u0MO6bKGVEQ5HHWliH7vnqHZl XejhGQcUdrUVenAWFMECd9L0Rnuxh0y72p6/Ld1K2MGvgD3GzHK/i+4xDdB9ocXt8DTX aSCA== 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=di7Lrd0TesHzSwvvm39CZAOjvRk1hYEc0vYWnA57bkE=; b=BSjJBwE4OAaok6YwxyETXIFxSwWkJEgDfwSPow5r/lvFZ3Mt7l4c78YcvGnpfmrFTP 6H/ZU2Owmokrz3KWHyZVcMx3GVqb+QpO+kbpyu1f6XDs4GWII1jpS/IsYKyeuW8hMwT1 rc7unxTVKTVkJ2frqkyNhXsfI4iavkNz/s+63s2wNkeuxZdyPVjQobzVOApouCkrKZPM LywqBB5f2k+tJSB+3YFylAGyOm/4rf04kymAtZXCgRFekW4Di0vrPeINsmNcmoHR5IXy ZMDtMI2Uot38DgLYpeHUQy2GTRSRXV+Iw9Sk6ArJftLf5JJ16PzkZloKMeEl3e7VhHRm ykWg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MAQdddSW; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::234 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=20210112; 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=di7Lrd0TesHzSwvvm39CZAOjvRk1hYEc0vYWnA57bkE=; b=b032ruBZH6T4+K6IcUdr4xbSXS0DE9cI+qh7TtSNEKyxd/L2gvXYVAqUJJffmDfbi4 jcQ2V/wqT1yujn5eVjOF4LxFp0+hDpn+iIHwIw/zjFGaTL6n7HpfYrDrjlRayprUiiNs SA40ITGcXxlz9b5oWe3wIlRRLb5xOOON9DRynITVBAGtv+ZnGtmh3r2OPuBxeaoHbqVE CGZUcX1/5kVp8cdt7LkIO3T5zCr80ZGz8y9Svlf6goS59IYPG+q33gAYCgpz1jHuqqzE 78jh8aUQk64I2sUj73m6lpD4X9UMyP6K5coMlaWBe9uSYNWjWYI7PCQqGbZ0gG6jXYEz xjcQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=di7Lrd0TesHzSwvvm39CZAOjvRk1hYEc0vYWnA57bkE=; b=TThMVgNcsqatg4PMVfzmWcP14Co6XbVUeD/WLKQPhYBI0+uzbZ/6/STWv6M+gSd/2x eBVZubtdA43K5yzawXNWYoJ46/xT7xkLXwAuSoaYrz6/vQB3/opjeDq4i1zj08kk9vHM 9pQGB6DC6KXBQAivZqP9KLh3+Khq7KgA0dWnWzQE0uyfpjow2h6ldPfiwl8CrEBPM1jE KSrou9H17PN/RNXxT0c6zz/Uq3BpwVOxQ8/x5/zAQTtPp0aYrhbyWpEg0H0wk/Xcrsve ULTj77HuoYbfiXQX4PV/xkEHbcIJxSbuIJVsiehobeCxDWUmewg7/yTGqn+jCc1X48Gh /FFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=di7Lrd0TesHzSwvvm39CZAOjvRk1hYEc0vYWnA57bkE=; b=SHbSCgXSMxImwRzPccuUOwaoZlhx3f1YokWVk6d/0HhF9RD2cR+5MziSheNx4brkiy sRZTld71MKhDzarrj2xlHz4qNqeHg1j/cF9V/ufBPD4svmdUcZr4zQkBdWP9e8eCqzUI B39SlaAhSNl4KddNSa0xmr+XDfhatDtoMJx2phUJlHrkvVLoOf2rDHXjZtsoCLLXFjdv hxEv8f7p9cQC/DAxa+7iXOFqHOtvfLFbwWntJV8Ack1VefpJ3syktIbHULdHK+2mxrrr dZ1uYmjX83P+dnQoDalPpKMFs2v4lSrwJHxbwrnt9SNwUMK26zfT7UvWmLdM5CkdLWoO a/Jw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531/mVHIn3Lm2RV/8vPZQPXaLHpRtZtAY20OBAzRZOtEIPA2iGYU idd/UsGtqaXue/KaKJGKFEk= X-Google-Smtp-Source: ABdhPJx2DbL2EhizmZxyPID8PMLIHcHlIPOol1cvEp9IcwPROFXcYYYj7/fs+7BXQh6ItoP9ysfEUw== X-Received: by 2002:a2e:9605:: with SMTP id v5mr1251668ljh.177.1640254451458; Thu, 23 Dec 2021 02:14:11 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac2:5304:: with SMTP id c4ls3115892lfh.3.gmail; Thu, 23 Dec 2021 02:14:08 -0800 (PST) X-Received: by 2002:a05:6512:10d0:: with SMTP id k16mr1426505lfg.97.1640254448821; Thu, 23 Dec 2021 02:14:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1640254448; cv=none; d=google.com; s=arc-20160816; b=iIdu4wmGmnSjD4QU4GgdKAmrUm0zKUOJAVHD7eK7PYvCcWzxNdLth/NrlQ7l3fvixl xzeVKMVCVd3/DcvBCguHXhKEA43IcNavDnccJcqeCaNgORNnQy8pnoYMxaxYUQ3HWURX sbhgKy5KqrQFprDDiYWjRxw5uvLcJYiV9A7oVr61LSigHDITm+ZAqx4ShtbR2C3yV9ta uo8GlTfFbgn9HNtnau9GPCRyk8FoJVEu1e38m35+bob67gGebC6agHolOOT3/YDLTGCD Mz59tZeJBzi2bR8sLdUrQa6m3cCBYO070NEY2yiPNeHGKy3PMwtM1nBf+o0yN1Znhe/v R1Zg== 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=2AuKQSI+ieM5o+PalYN65QXp0An1VS8va6X8pCQLYfo=; b=knN6eZiDZ5YiF4KeuWFooifOhFQSL5uOit2lW+TnPOVrAVB8eAxdpAlX+1y62xG5XQ BdsPb9/3F2StcgtywWelnN9IAb/i9sIsVmG+cnWg29T/Q+UyPj+Meb5NjxEQvHM7GGkY 0Tf/DTOIlicnFiOBtnh8T5QP5K3vruTtnK5NWOovzckHShFXUt727jrcm7KNDj0KM8dd NVKRkxqDFxCB/5gjwFjV78bw97Nt3fg0TaHNNdoDjmSEg5wYQjHdxmj6cqmEewHL76ir SB7m97qirMueOnq+FyVfO4nI/oben+iHSJAWVTu/bbU9287Ukf02SRWKk8yvFq62RlZd W/JA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MAQdddSW; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::234 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-lj1-x234.google.com (mail-lj1-x234.google.com. [2a00:1450:4864:20::234]) by gmr-mx.google.com with ESMTPS id b29si253600ljf.6.2021.12.23.02.14.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Dec 2021 02:14:08 -0800 (PST) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::234 as permitted sender) client-ip=2a00:1450:4864:20::234; Original-Received: by mail-lj1-x234.google.com with SMTP id m12so8283689ljj.6 for ; Thu, 23 Dec 2021 02:14:08 -0800 (PST) X-Received: by 2002:a2e:a26b:: with SMTP id k11mr1185000ljm.313.1640254448447; Thu, 23 Dec 2021 02:14:08 -0800 (PST) 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=20210112 header.b=MAQdddSW; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::234 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:29837 Archived-At: --000000000000bdb50c05d3cd7fcd Content-Type: text/plain; charset="UTF-8" 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-discuss+unsubscribe-/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/CADAJKhCMDSvHQNesFWoZyZ5OKXsv1hsBc44PBHBPZKX3zsAadw%40mail.gmail.com. --000000000000bdb50c05d3cd7fcd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 m= oment. (For all that I know I might even have opened such an issue myself b= ut don't remember it.) I have a file with a proposal, but I don't r= emember if I ever posted it. My idea was to use curly brackets to distingui= sh counters from citations so `(@{foo})` would be the counter named `foo` a= nd then optionally a colon and a number/letter which gives the numbering ty= pe and the start number as for regular lists so `@{foo:10}` =3D the counter= `foo` starting at 10 with decimal 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 alpha numbers, with the `:N` bit being ignor= ed except at the first occurrence of the counter, or maybe resetting the co= unter, as I imagine that one of the main usea of this feature might be to h= ave a separate count for each chapter, and then resetting the same counter = makes sense.

Den ons 22 dec. 2021 21:17Hossam Ghorab <hossamghorab404-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
Dear all,

Regarding the [continued n= umbered example lists](https://pandoc.org/MANUA= L.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 w= ant to continue it's numbering? The list identifier may be any characte= r 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-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/bae691bb-7= 67f-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/CADAJKhCMDSvHQNesFWoZyZ5OKXsv1hsBc44PBHBP= ZKX3zsAadw%40mail.gmail.com.
--000000000000bdb50c05d3cd7fcd--