From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29137 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "andreas....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: All numeric heading identifiers Date: Sun, 29 Aug 2021 10:49:29 -0700 (PDT) Message-ID: <70061a93-5913-4668-8bac-3bdaedb9c710n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7954_1845631073.1630259369509" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34195"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDA75RFKZQBRBKURV6EQMGQEYGQSRNA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Aug 29 19:49:32 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f57.google.com ([209.85.210.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mKOw0-0008fz-Ga for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 29 Aug 2021 19:49:32 +0200 Original-Received: by mail-ot1-f57.google.com with SMTP id 8-20020a9d0588000000b0051defe13038sf6121265otd.9 for ; Sun, 29 Aug 2021 10:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=EnZg5Jm3VmzkV3VGBxX85FRwt9hCitQ3BopklhEFZ7o=; b=OuOudmSv/YxoVY9S9ewlgOpHwbt/qs2O7ZmYUZ+efkoIHRJvYxZ2fHjUkJnPOY2p7K PtpRRhQvEhGh33R8Hp8s/7YF3he7Cloex6Ghoy672MpQ1IeVg/GZccQHDFO05YB9Rjss cOi4DGCoI/pQZEcFVKh7rxzCHy1+7w5+WvHn3xx+E0KMKOTvbNkCvJDQL3Xj3b97BUQr Q65YKuiXzNlSl/CGgm8WOELpPjw0HFX9+6LdYpjRfE0JVoDfp313m7Cp5a9PDIjImKxJ jLzBRhADaZhwzl1viIt5eesxy4A9ZUnM6UK0cTzYvwWe9zuq2F0scjBnIub5HZfxE9sB GPcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=EnZg5Jm3VmzkV3VGBxX85FRwt9hCitQ3BopklhEFZ7o=; b=WKvX9xC8jaT4KENzThjCHxBcg76TaUz8jStpvSl1T1IwM3pvIbiJmFksXQ/FUJUOSw jropKuTcTwk2CMYjcP+VR0D4i25JIYUgzXamRjEUEjafsCpBqSQGMhKea8db7tl93odH dWLcnLuVJG6dYB+ahlKy92OSf7aOyXcW94K9EyQgxlKI1dXjmmYNKotOkaT0pHnuSdk5 OHmJAFttJK7BQ/iXXZZc7v3sG7EB+brrMGy9WVi+AIMWeZ0NQ0Ixaw5aVsx5UfkCBLia VipJyIIxr9pI//ixVm4WkqcJpiBBV1rJrbWXnK/475odNek2wQFsEaxiau4p++3t0q95 VMHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id: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=EnZg5Jm3VmzkV3VGBxX85FRwt9hCitQ3BopklhEFZ7o=; b=PPdePdipK8kRWgWzB+uf9KsXn8/N1bzYghoVAFZ1Wc6wM1VT5vqKn+c586maFMZiZm rZwUlL31V7xuk567HPABsqkPUKBuaPdiyuxP1J3TI2XdfMvgdVwuZGsPUpkcQqvTpAdN nx0DJxbO3mbINcLAlMAMWpFFOa+HHDTSpjsLZ5//fb94HO6AN4GnRx5Lc4RMz1kMHzAk t1AVtuTW4gVtnCuQwjuauoKMpsmCoZrkJkhfcvlsnrjk5ff8QmNhSadWdu8eUpB42B9W GDFDluoFbuSu2CCT4qos4bcpzOtc+D3CUQ/IFwJjU0J81cb2YUoNauVHC968dzZy6jqa sbig== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530bSTCnqjCKPpcKoq001znPZyC6r0RsaC+b9gf0JC7AJ65FDhZ6 e5Ayq/dKHR39/aMokKfPIZg= X-Google-Smtp-Source: ABdhPJy+S6E9k/a94w53kRF0ESK/FTQdkAaf49+lNFrI2aVZnBa+RCn5wgFNksJF7RVuHtCrwdYAiA== X-Received: by 2002:a4a:966d:: with SMTP id r42mr7351636ooi.11.1630259371510; Sun, 29 Aug 2021 10:49:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:5904:: with SMTP id t4ls1453343oth.1.gmail; Sun, 29 Aug 2021 10:49:30 -0700 (PDT) X-Received: by 2002:a9d:450b:: with SMTP id w11mr16443303ote.254.1630259370019; Sun, 29 Aug 2021 10:49:30 -0700 (PDT) X-Original-Sender: Andreas.Schamanek-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:29137 Archived-At: ------=_Part_7954_1845631073.1630259369509 Content-Type: multipart/alternative; boundary="----=_Part_7955_1917349075.1630259369509" ------=_Part_7955_1917349075.1630259369509 Content-Type: text/plain; charset="UTF-8" I read the sections Heading Identifiers and Extension: auto_identifiers in the manual. So, I think I understand why the following produces `id="section"` $ printf '# 47\n' | pandoc

47

But why is it that I cannot make Pandoc use a specific identifier like in $ printf '# 47 {#47}\n' | pandoc

47 {#47}

I expected Pandoc to produce `id="47"`. BTW, I came upon this because I was wondering how to reference ISO dates in headers, like ## 2021-08-29 because ## 2021-08-29 {#2021-08-29} produces `id="section"` too. -- 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/70061a93-5913-4668-8bac-3bdaedb9c710n%40googlegroups.com. ------=_Part_7955_1917349075.1630259369509 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I read the sections Heading Identifiers and Extension: auto_identifiers= in the manual. So, I think I understand why the following produces `id=3D"= section"`

$ printf '# 47\n' | pandoc
<h1 id=3D"section">47</h1><= br>

But why is it that I cannot make Pandoc= use a specific identifier like in

= $ printf '# 47 {#47}\n' | pandoc
<h1 id=3D"section">47 {#47}</h1>

I expected Pandoc to produce `id=3D"47"`.

<= /div>
BTW, I came upon this because I was wondering how to reference IS= O dates in headers, like

## 2021-08-29

because<= /div>

## 2021-= 08-29 {#2021-08-29}

produces `id=3D"section= "` too.

--
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/70061a93-5913-4668-8bac-3bdaedb9c710n%40googlegroups.= com.
------=_Part_7955_1917349075.1630259369509-- ------=_Part_7954_1845631073.1630259369509--