From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29140 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: William Lupton Newsgroups: gmane.text.pandoc Subject: Re: All numeric heading identifiers Date: Sun, 29 Aug 2021 19:21:22 +0100 Message-ID: References: <70061a93-5913-4668-8bac-3bdaedb9c710n@googlegroups.com> <20210829175628.5vqzpwmdgtcht6h7@komputilacxo.localdomain> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000594a2d05cab6c98e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23342"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBMFAV6EQMGQEHGMFHAI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Aug 29 20:21:39 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f191.google.com ([209.85.208.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mKPR4-0005p6-Sl for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 29 Aug 2021 20:21:38 +0200 Original-Received: by mail-lj1-f191.google.com with SMTP id s15-20020a2eb8cf000000b001cbf358ed4esf5534321ljp.14 for ; Sun, 29 Aug 2021 11:21:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1630261298; cv=pass; d=google.com; s=arc-20160816; b=bwgEnJyP20hyRXm736voJiWWZDmZ6Gwt2eFIpv8EojZ3eud255hUuqxMi+GtJJXDy5 tyIhsWzWEm/nkUnqgMiGaPJY99xS5wQhrCAzqUZPxcwxbOw5MLy7C4uDV05aBnXnNLcL biYN9cJOZGy4kpRX3BDVPsSirWNh5dyL3zdon6l8o+KIu7sLG44TGTjsHhr3jrXBhXr7 UUcfqBt+ES1wapgCX3TFc+xD2sWvBk40nogUBCYQdePEK3SDyN+qwnhhM36hCf5ak2Hj DlggbsqQqcP1DhkCqKN6q2aD6pzSZItTGkXJxOtQ4KWHR6ht/E1LCnQXAkDJ1lFAvfyX 6+/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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature; bh=Y6T5ltsZg5+TzHIwoVlZid6bzZZOAOX4yfbk2ilXYv0=; b=V4Gmn0i3EOzPBwGE/BpO5A6EX07N6KJRr9Y8PjUCCnudawK/PC10HokyexOwOmmnn4 QzYJHYHyg9MCHfaldS6J9eo4Kgeof9GJ01fouZeiExcGKDRB8lXZxlEzsnw+RhOMvbCO 8mVNmWdaV3WeKgR4/EcJwS1bn7k+u36EyuMu7OMwB7XxsL0LCjsfwKBe00IEbuql8JsN JD1NtqnS7U0Fm5chKb33qrsWFf/uua+bTGovJsoO9llBdWiqQmWJST9k6pb8BIJaFMSP 0alHMAfdc9ibD/rKB/e0d8DGc5+zY9sMs4JPKJ/spggmn6xWY0Ik2T7CY9HMBtyVAmvp 2vfA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20150623.gappssmtp.com header.s=20150623 header.b=TckYlntO; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org 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=Y6T5ltsZg5+TzHIwoVlZid6bzZZOAOX4yfbk2ilXYv0=; b=oih3Yd2iG90BN3xPL5XLp2zyC+Pm98Vb3TYvFH7tadw52VuHaTYPAAVKTI5j8fnd/r ewS5Svo4Km4KGTd2JG3C16R1VXne3mFkriH8xMdQnNSbjYKune/1WyZ4OiJxmv0gyq+N tM5uGM0oTwthSlnlBpqwUazyJREWOAN3HdpNIX1Qvliylwz2HypWgWdybRu1Ms/5rjAw +xjg/mbhVoVPh8bgaAU/yZzNOczD+lE0+WTjzdEXFGf5oAAGeWs4X6nqFPyTg4444ZrG dOSdbfx7hme80WXAdrNkN/IgV0J5DpDxxyGBz7Xf5iHUKMz81tvCWAykOD0UUbn5aOPn vnTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=Y6T5ltsZg5+TzHIwoVlZid6bzZZOAOX4yfbk2ilXYv0=; b=r+ffy4T7iLYUi3e6PGMaB9ZolXISMUVpi4bBBUYpL3bO67h/h4jEUyN6JZbpUTigNW +LX13HWzJes48nmdVKVs8JUoUuCt3o0hEFGjQGO4atJZkafWFk/CT5l7ovTkkIdEno3S AUnJkKL81GORvuR7JKMHnMeep9yRG/iH7Xo+FDbrg5IioSAAzJVORsIcvMg7afurm1ww he4hgpynu1Kd95p+9FAjZ6qCnt+HF4YhDveEE4FN+nuuUiYDuusH6S8fKRdLRKYnyk4s bRSVcLqly8UbeZ5dytUuVkv6Bs8lZLhpNyV3iLuK8Kqo1x4yLplucMn/Am4GMMPHyDD9 At6A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530ZrBOVTNAF03abKI4JUQuoOxofuYM8IXIlCloRzZ+Vp9/a1kwh j9t36ffQhu1KkqJ4dtJGuN4= X-Google-Smtp-Source: ABdhPJznjqTuuZZ6/o/sYG8fBMvknChZxJONYs9R8vZbyZqQyKqqlIKiUqg7F5fraPswBc2c/Z/QtA== X-Received: by 2002:a2e:b80f:: with SMTP id u15mr17284710ljo.232.1630261298382; Sun, 29 Aug 2021 11:21:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:8652:: with SMTP id i18ls2639708ljj.1.gmail; Sun, 29 Aug 2021 11:21:35 -0700 (PDT) X-Received: by 2002:a2e:6a03:: with SMTP id f3mr17855621ljc.487.1630261295339; Sun, 29 Aug 2021 11:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630261295; cv=none; d=google.com; s=arc-20160816; b=eGwF8WjvA+eIa2zMCUBekRAuBIP2aVLr9/cu6abfg5+4KI1ccUjM5HtAfKtlvsneqt H0pmOhn41GX+bhjre+ZYhtlcXlimuUGr7xe0d2zBAeo7a85vjU4YEJiGZ5rRwO1K6qem XrtvIZg9skynlDHr6xh9FljdMGub4lAWHPnKPcgZ2gJcEuvsPpw0lk/Yhg2eIcj4u733 iHMOOQNtOmt+l/neX4Bms+C7GQBAc2iQSUN/LWb2SHv7fTJsYcEuICsQwfOUOEVh5N+g 8xCptyR+uW4yVwyX0SWhQg2+EfS8tfaqjIgf5E09CqAHyE0pWIPUMoiZoxzb9s2Jzs6o bxhg== 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=nZWUUXhw872cT93SDh2rVlR5Gcg3FOJgnur5R90F424=; b=ntY0qrwZaqBgjk/ImABVzmGtoavH5agkpLrCMPe99WZc8q2TuL2lcxLgKuHsdwOWlD x6SLQFM+HvD8DQeoUGe0d394NgNhA6cbC363wTZLIaxBsdS40rccbFF03nMDCS+smiga SJiFuRT7EBm5TVfHG/7H59rUoRQwPmNVS2rSbxIqJhYmle+IUZ1oeeWZwTvhq6h17Msv NNlf/n4PlOxp+XyeNHzVeucI7y521Ekd0PmdmU6I2V8bJ/bBCrwu0vG0WW0sG+xV8HER +vm1wAffAx7P/uwEh+jY1YQn+ZRjaxkI2bR23k0QlIX2mwupob/bpSJLM0rVeoGGYKi9 PrTg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20150623.gappssmtp.com header.s=20150623 header.b=TckYlntO; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org Original-Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com. [2a00:1450:4864:20::529]) by gmr-mx.google.com with ESMTPS id j5si388605ljq.0.2021.08.29.11.21.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Aug 2021 11:21:35 -0700 (PDT) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::529 as permitted sender) client-ip=2a00:1450:4864:20::529; Original-Received: by mail-ed1-x529.google.com with SMTP id s25so18241875edw.0 for ; Sun, 29 Aug 2021 11:21:35 -0700 (PDT) X-Received: by 2002:aa7:d351:: with SMTP id m17mr20291261edr.72.1630261294475; Sun, 29 Aug 2021 11:21:34 -0700 (PDT) In-Reply-To: <20210829175628.5vqzpwmdgtcht6h7-8gZB9jwuPzi3bl2xfHZzInzaFgp7qdfK@public.gmane.org> X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20150623.gappssmtp.com header.s=20150623 header.b=TckYlntO; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@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:29140 Archived-At: --000000000000594a2d05cab6c98e Content-Type: text/plain; charset="UTF-8" One of the steps in the auto_identifiers algorithm is: - Remove everything up to the first letter (identifiers may not begin with a number or punctuation mark). On Sun, 29 Aug 2021, 18:56 'Saku Laesvuori' via pandoc-discuss, < pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > > 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"`. > > As a workaround you can write '# 123 {id=123}\n' but not being able to > use the #-syntax seems like a bug to me. > > -- > 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/20210829175628.5vqzpwmdgtcht6h7%40komputilacxo.localdomain > . > -- 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/CAEe_xxiRB5yhHkJ9mn-bkozVOUPW6eW_uOc21oDdicNoYW7%3Djw%40mail.gmail.com. --000000000000594a2d05cab6c98e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
One of the steps in the auto_identifiers algorithm is:
  • Remove = everything up to the first letter (identifiers may not begin with a number = or punctuation mark).

<= div dir=3D"ltr" class=3D"gmail_attr">On Sun, 29 Aug 2021, 18:56 'Saku L= aesvuori' via pandoc-discuss, <pandoc-discuss@googlegro= ups.com> wrote:
> 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"`.

As a workaround you can write '# 123 {id=3D123}\n' but not being ab= le to
use the #-syntax seems like a bug to me.

--
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@go= oglegroups.com.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/20210829175628.5vqzpwmdgtcht6h7= %40komputilacxo.localdomain.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CAEe_xxiRB5yhHkJ9mn-bkozVOUPW6eW_uOc21o= DdicNoYW7%3Djw%40mail.gmail.com.
--000000000000594a2d05cab6c98e--