From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29865 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane 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 11:36:03 -0800 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="26785"; mail-complaints-to="usenet@ciao.gmane.io" To: Hossam Ghorab , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBMPRWKHAMGQE7NKYRKY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Dec 29 20:36:19 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-io1-f56.google.com ([209.85.166.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n2ekF-0006kV-17 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 29 Dec 2021 20:36:19 +0100 Original-Received: by mail-io1-f56.google.com with SMTP id i12-20020a056602134c00b0060211f8b5b7sf5512329iov.15 for ; Wed, 29 Dec 2021 11:36:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1640806578; cv=pass; d=google.com; s=arc-20160816; b=U/eyLge+hl9X2vjxkfF2T91HzenSfqN6vGPBFg/kZBL8cWtgx9YLDBjBvoLVg6WHHg 5kAm+pVMnZaejRCGMRVqmUHpLuu5kUMZjYlbJ9mQiRjTcV1pNPGWejG12JHgeUkgxab6 GrnTATcnOW5g3KQJzwpSzzApv4Uxm74COKrbTxrtqNu5kCo9XOP6zZUBcWXUR9kmzHYr z1/xd+//FcO38JlIdyQ1g4Ca7IZC9jRLYlScavWSGEemDiz0Kk3BST5FrwmkmAL0pKpp k2YnbIr6vAU/QznyFFf4J7OG3S9dqtA3vyQ+UvMQjNo1JulIq86K2S3eyb1CDgSwgzRG oixg== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=AW8OJxAW64hHuM9UZNx4hHRZQPDAn51Mvr3OONzAM5U=; b=tQXIvaIN6gPlmIK7NezIMJ2DZ3udnvS+1SmorFe+Ktaf7lQYk8p89YqKtC0N8z9bMp 2ed3Hd1fkyg1tEcHROoUoP3TGR0SZn+dgQRY0zx/4USFBBQSS5J3msMb4kvZBGrHY+c0 utO3nN6FmliPvf5xddBtN0wX4GSgmZlgpqsR3aIHP7lVYk0brNZhWunJPC5KBBQduv8W ZxUjfwXnG01FNYgoRf0lda9GsJ+5PWg7BObBwY/Dr3+QRMB7ckeB3LYppW+6lJx3vk9f 1vUcW8eXQPMim4VmVynofEKCqInFgwF6ZgFAeo8KU4Gb43bTYQMRlbPbS87c6qENf4hZ c0fw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=GyrrsonC; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::530 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version: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=AW8OJxAW64hHuM9UZNx4hHRZQPDAn51Mvr3OONzAM5U=; b=I0aCV1/uzy38RmPKmP2Y5m5qZbsFzB3colR4x7qZSqb+1WyMOJF1sB/dojylAJ92wa EqasYYmxVQK+VxF7FRhp2BB+y/w5L0xA+X3+B9S+HHtVCOq5xQ9BSm6qVEZkRcWTpgf4 IZPytx5exGKduor0ZGEjF2D5iY9+1/Tjuk934SLwHSeq/C/np4ntkZlptDhIDDl7mwgC Um/ickAxHxqnw8v19R7iVR+PglD9/aXr9JV0QpAA7Cu+2tx1oKWoeQkKdITgOJeGQZbs QXQzsovN34bILjYclfX7YZoxmWEUbsoA45FG22g4z+2rZC/t4MuGtYFwWwlbldHW4qBK vLDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=AW8OJxAW64hHuM9UZNx4hHRZQPDAn51Mvr3OONzAM5U=; b=nJjwnQzeJBQ9lHjfYrNTXGv4bp4LT/Pnz6MPBzSQBwNGjy9CbwQXkC4iUoae5w5Jlt i7UyxUTbu1ZoOvq6B3N9kAz+EUrfQ5xj1ItT3QMAswU6lyz0SQHVf5dgn9tHB94p86nm HX3CSy0GbTT6hOKDjfBe/uAbUc1YkJKNogXdxMd35jx1FHyMVMss8Tm9GybZ0m176Ocw ap5yOQ6kxxFRawPFovnQaHagw61G3sb9VGKDQ3IKLdCD2lSCaVvK5Wp+WeNFqveWKZbJ iFkAZHtGvVG95z3z3Ph4cz5Al4vNGmQcnS7At9yz1UjMiMY5mTgW9QR4exmS/kHqV6YB JtDg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530JGGa2RbyExRea9fCE8xuhMbulfAnj7rkN7QpjB6NelCRGjCJl JQ+m66C5IaB3bQqKHm3/Q24= X-Google-Smtp-Source: ABdhPJzm3CquioaHP9/2k+52z8W8/XXLp9IWw+aRSZeHqwpbhsRGWN+CRL2DxDV4Nh1gpt95S1CV8w== X-Received: by 2002:a05:6638:11c2:: with SMTP id g2mr13064390jas.36.1640806578049; Wed, 29 Dec 2021 11:36:18 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6e02:f02:: with SMTP id x2ls2889003ilj.10.gmail; Wed, 29 Dec 2021 11:36:16 -0800 (PST) X-Received: by 2002:a92:c24b:: with SMTP id k11mr13724592ilo.198.1640806576834; Wed, 29 Dec 2021 11:36:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1640806576; cv=none; d=google.com; s=arc-20160816; b=OPVdeBPeri2vrXa65lNhlMHLxpdFSx4NenH2DBnBOCZk7U4Vp+pYoSS8aFtLKG0mkc TmBLwwLUp9A8kHZ26WanmAJAiK+jDBfTgNc9keEsj638esO2NNXLIUzVY7cAkSXcVBRS Dqy4RvjM/dI1Lelu1uJ09U8GleCxf7JNJ4QaiY9Il4L+HOW51cc0WNrZMXx/pNkxPfAm QMd4JW3XAEVVKCztxFPLUb6rcYeLxLSh5IQ93/jqeswIdGqcLVN3zJdpKLH6HMQ9p7C5 rW/vEg4Z6HoR0r+aE8NzZnoTlekb+8XEiwKPmTsVh88mNpki5geWBfssPwqENVghIL+b Q3Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=EMB7UMM4Sba4SVdoKiouKiQtYNHQZx2EF7XR0ghdJtM=; b=Vj15pBjPPVY0lvcYARSyjMv2liHfK21u63lEOzex5jwO/a1C7QNy2SKpEY+OMPLcR3 KFUcIp/Rop2Gn2MLgZ9/bqAgHTebUUSIqcgIWUOKfS5bB/m8CcLgEi5NGiylNx58OO8u slpXAK8SdVu7Kq1KVULt1Xm6GuXnoIrndgIOGvRDemrpYZjr2q0I1DDqIBYJqcA8DTRH p7ieQTcCO1bLaCVroDqXIDO4RkRO5kkvc7drNLpP7TRNRQJBJTefOHmqa5PzPp74Mt1k PIosASHMLtCZUjuR4MnjQ7AAc/jYGVtHCNN7jfO/15dqEh0LDHXl81IK/umu64dOlYMb em8g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=GyrrsonC; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::530 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com. [2607:f8b0:4864:20::530]) by gmr-mx.google.com with ESMTPS id 8926c6da1cb9f-2faa6b53fc4si1191386173.5.2021.12.29.11.36.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 11:36:15 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::530 as permitted sender) client-ip=2607:f8b0:4864:20::530; Original-Received: by mail-pg1-x530.google.com with SMTP id v25so19306139pge.2 for ; Wed, 29 Dec 2021 11:36:15 -0800 (PST) X-Received: by 2002:a63:5045:: with SMTP id q5mr24328034pgl.512.1640806574750; Wed, 29 Dec 2021 11:36:14 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id l6sm20094274pjt.54.2021.12.29.11.36.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 11:36:14 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 28616A29D; Wed, 29 Dec 2021 14:36:03 -0500 (EST) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=GyrrsonC; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::530 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:29865 Archived-At: 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 >>> >>> . >>> >> > > -- > 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.