From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31816 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: Auto-number list continuations Date: Tue, 29 Nov 2022 08:03:59 +0100 Message-ID: <87cz96nryb.fsf@zeitkraut.de> References: <87pmd7nuub.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29206"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRBQ7HS2OAMGQEVEIDTBI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 29 08:24:57 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f58.google.com ([209.85.167.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ozuzA-0007SN-V5 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 29 Nov 2022 08:24:56 +0100 Original-Received: by mail-lf1-f58.google.com with SMTP id k19-20020ac24f13000000b004a49391ef9esf4920293lfr.9 for ; Mon, 28 Nov 2022 23:24:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669706696; cv=pass; d=google.com; s=arc-20160816; b=ZWTFy0VZVAeLH4e3+Qj/RquUYvmAv8zbdLZd3mP3V5HXMg4yOvDcKQeWNlmkMGQnrf ckObqmb8ljt18fgUYdrTxh34HgNRxUeGx/sFzqbt0TuX1TTWxObnXUCtHZeFkjU19oKA 7/cDTbcrwelddHBbwFMol98bUAyAaSjMON5vxn7HpN7i4LCckKS6mXjbt1vfEij96Qpv FczErtMG3UsWiOvjN+4uL1x2gdscmWIVPWjTsOPtZs3gwzgi3+XE0feQR0i5FExnTNAn gX5bm3Pw4eZJ07ZQ6+/PYMBIvitVz4i03UoX5V2bVLZtU4NIKMBCGOA3vmUhk1kEc1Hv 8v+w== 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:content-transfer-encoding :mime-version:message-id:in-reply-to:date:subject:to:from:references :sender:dkim-signature; bh=GipZiASDuJ6yzrUvMF5+Eit37FVcia/uDq+1vd8ndAo=; b=E8mlKwV6bs/VcUQXm8L3QMSFLkCV4spvc3COKalE0LQv/Dc2U4hcUGbo+QUzGrpYgy S3fSv/q/vq80aNNpccCeNGgz1Y4TFfAYppSAAe2hojFm485m+xMi7m2e9Puu4POJviAh 6VKNsl3ETnXcvFIG1xcjrlEdd7/46r6gSZ4XJMz6QNmJ7+CDyBDi6q+X4hXG2PvJSygG BI3lflGbq8DNRz697ZgjbFGzNEYtrPhd+oOtAtERPWBGWLJgNy3uGRnRmZBXYHSHIiyz 8qpXY2a5xHwxtwzMUS6X+GOfaCLnb6GjkTgOsLfZdsbliwIYaIBlVDs6GmMemLH2YfbZ f2Lg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.171 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:to:from:references:sender:from:to:cc:subject:date :message-id:reply-to; bh=GipZiASDuJ6yzrUvMF5+Eit37FVcia/uDq+1vd8ndAo=; b=s/91xWgrIbfLFQZCNoMJxhf+Sr9Ylaqzu80wAOcBKSUJDAEN+JmOrSLNFCT/G/2SzS /AIa+3jqfHcl3j6oZ7/rnwPySzeOGa6Ok+SDC3ONoOhFsjt0UZunTS8+4jEGHroGjr2+ ZauEbDjvjOGnhG/X73aIlBFfH6eRvMtCDTk8FdnF5Sb76kgaRdj+CJf6quJKVELknV/V SDWTES3hNY8ZEFWXKc3r30tplQLzalAOn3NiwBO1IJOA71EeIYKqNWn4Y/xxhUQcOtSJ Y8rFVB6f3+69Nng6zjKXRtrMAkx3sqZen0q8RphPlHJrVvoohiaGmQSY8Oek70YPl X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:to:from:references:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=GipZiASDuJ6yzrUvMF5+Eit37FVcia/uDq+1vd8ndAo=; b=B5mVME8CFZOf8wF+jQW4zTTq+RsiXHK89cbjojln6NbR9AqT4E0N4waxFMNKVI/Fnx VMfpVX6yArQJKRD+KQ4r0pds4eUt6+/txYZ0eUijL08MQIRkWKml9HzpmcLw8gReRylT 7chJTGx094Wztzj0BxdPTxem0cCGeC71pWhlrt20DLD4lvkm++iF6Fye+LGk8a3kZpD4 9mWe4AE1txgEdGxDFmM1rrsthvCPZZAAt6EgvbVirwY0S4gXpi7MY7CX5r0r7aYtcIzw rbn4dAkIPeVrNh8HlzSa Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ANoB5plOMF/PcTozxKrEFBdUHh+q/7U9sAwBTKcoyzotH/8xuC4jOFLC ciVK3kOxQI02yRgMOKyBo4k= X-Google-Smtp-Source: AA0mqf5PTP16ZKMXeM1v8rtYPunoHhdCqYQzYdhk3SgH+58Af+j7DmVFG/B9f2ImWdmRbtuIEnK1lg== X-Received: by 2002:a2e:bc81:0:b0:277:5c6b:7653 with SMTP id h1-20020a2ebc81000000b002775c6b7653mr18123582ljf.398.1669706696454; Mon, 28 Nov 2022 23:24:56 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:bf27:0:b0:26b:db66:8dd4 with SMTP id c39-20020a2ebf27000000b0026bdb668dd4ls2085755ljr.8.-pod-prod-gmail; Mon, 28 Nov 2022 23:24:49 -0800 (PST) X-Received: by 2002:a2e:54c:0:b0:279:8b55:7f7a with SMTP id 73-20020a2e054c000000b002798b557f7amr7046463ljf.149.1669706689881; Mon, 28 Nov 2022 23:24:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669706689; cv=none; d=google.com; s=arc-20160816; b=iBZxInExWklQGCX/xxDpezIa4o7LSgb1whrsUXpjriOz0IHiPqTd3Tq5kUwiRyy+UX M8YW6tGcRepdCoX7OypM18HbzAVF83PDCZg8Nu4DxN5IlpuhiV3ZYSXkI1FByx8VdznS 8Deoaf3L4BrO9is1GXstGZucUw+kI9Kxo5bReFQf9LX9bBqjd85qloypqi+NOXLhc/AO pqnygyowv0tbGIXBKjT2Kt04qW7TbmOQGM4Z/yKUj/vovr5HJwJjppIS2q7rL1ChHOW4 pM/eJQbETs7tNbRUaxpfAT6YzFFx/fcwpL10J4E6QWv7Qygn/DT4m19JaAX9Bwi2VR5T HV+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:to:from:references; bh=pjE0ogQfH7H0EEziQx9weERpCsi6zDYXeZLqDyadiGM=; b=rjkU8cvgp7D/KEK0uvpMrhEjbBuhjyx3ELsPu9O5W7kACXmWNrbBmqKuM0djQoIxQ3 ZBpiNrZBMUiX/wBs7jP1oNAQPb6UE7Rhtr9Sux2cpXiFmYZ2hW1+3gtUx+kM7GE/7M/f oNdliO6jQXPIwreZCgTCMQfoA/PN5XuHIyXkX7xaGF7PZAenXt+d/SIfwvVA49e10NU5 bHa8+u/ptZiecniWWetsxziPxacDbPayPLu+hVCduuvw1sdB5Qp1MbLBvj9qdxdc0vlI OtC6EC3h485ftTN6nMyhQyJ9NLmzzqV37QFv81erzTtxZ2XzC0wk/HWEVCqd3otaXEZF 2aGQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.171 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org. [80.241.56.171]) by gmr-mx.google.com with ESMTPS id g8-20020a2ea4a8000000b00278f552596bsi601598ljm.2.2022.11.28.23.24.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 23:24:49 -0800 (PST) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.171 as permitted sender) client-ip=80.241.56.171; Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4NLv3z19hHz9sT1 for ; Tue, 29 Nov 2022 08:24:47 +0100 (CET) In-reply-to: X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.171 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@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:31816 Archived-At: BPJ writes: > Den m=C3=A5n 28 nov. 2022 13:10Albert Krewinkel skrev: > >> Just want to share a little filter that I wrote to automate item >> counting in continued lists. E.g. > > I would have expected that you would need `topdown=3Dtrue` for this to > work. Why not? Funny, I expected that too. I guess the answer is that the default traversal order is sufficient because nodes at the same level are processed sequentially either way. Also, nested lists of the same style will lead to weird behavior with both methods, just in slightly different circumstances: ``` markdown 1. Bad results with default traversal 99. Should be numbered as 2. 1. one 2. two ``` and ``` markdown 1. Bad results with `traverse=3D'topdown'` 1. one 2. two 99. Should be numbered as 2. ``` --=20 Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 --=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 e= mail 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/87cz96nryb.fsf%40zeitkraut.de.