[Rfc-markdown] Section references to registries

Carsten Bormann <cabo@tzi.org> Wed, 30 June 2021 20:03 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: rfc-markdown@ietfa.amsl.com
Delivered-To: rfc-markdown@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04DD83A28A3 for <rfc-markdown@ietfa.amsl.com>; Wed, 30 Jun 2021 13:03:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pjs0CGAJ4xYA for <rfc-markdown@ietfa.amsl.com>; Wed, 30 Jun 2021 13:03:46 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [134.102.50.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 718653A28A1 for <rfc-markdown@ietf.org>; Wed, 30 Jun 2021 13:03:46 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GFXNH39d4z2xHS; Wed, 30 Jun 2021 22:03:43 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 646776223.068749-a19dfe7971ba645ae9a388cd03c26816
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Wed, 30 Jun 2021 22:03:43 +0200
Message-Id: <8659795C-0EC6-4774-9AAA-A267FF86BB08@tzi.org>
To: rfc-markdown@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/86nCyp89GNcUSRWyX_l1skde3dA>
Subject: [Rfc-markdown] Section references to registries
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "rfc-markdown is a discussion list for people writing I-Ds and RFCs in Markdown and the authors of the tools used for that." <rfc-markdown.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-markdown/>
List-Post: <mailto:rfc-markdown@ietf.org>
List-Help: <mailto:rfc-markdown-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jun 2021 20:03:51 -0000

Tried:

{{Section senml-features of ?IANA.senml}}{: relative="#senml-features”}

(The relative= needs to be generated automatically in a future kramdown-rfc version, but the example works today as written.)

Result:

[TXT]   Part senml-features of [IANA.senml]

[HTML]  <a href="http://www.iana.org/assignments/senml#senml-features" class="relref">Part senml-features</a> of [<a href="#IANA.senml" class="xref">IANA.senml</a>]

Now

https://trac.ietf.org/trac/xml2rfc/ticket/652#ticket

OK, it’s 80 % useful already, and I plan to use it for registries with subregistries, trusting that the xml2rfc limitation will be fixed once one of my documents hits the RPC.

Grüße, Carsten