Re: [xml2rfc] help request: suggestions for reconstructing the Tao ToC for use in RFC

Niels ten Oever <mail@nielstenoever.net> Fri, 12 January 2024 13:24 UTC

Return-Path: <mail@nielstenoever.net>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B02B1C14F68E for <xml2rfc@ietfa.amsl.com>; Fri, 12 Jan 2024 05:24:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nielstenoever.net
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Omv-Li97X8h for <xml2rfc@ietfa.amsl.com>; Fri, 12 Jan 2024 05:24:38 -0800 (PST)
Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 381CDC14F601 for <xml2rfc@ietf.org>; Fri, 12 Jan 2024 05:24:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nielstenoever.net; s=mail; h=Content-Type:In-Reply-To:From:References:Cc:To :Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UOMQgi0L17JnSob8pBoT3+TA3qbw2RyiPl0tc1Zucow=; b=VCi/1ZW1GvIfu4XnzVID2nXZa EEi/rSAi3Fx8fANrCMEowb8XkLEbvYTUqZuce+UdotvmHfQ7ZxXNoGLqZmDfayQnc38cHpf343n9N oga13+vxBbxuANqArK1kp0jocNfZfs7Cbtv/oDC/1bm0b4lPQzWjhNpg4ecfVdk4CBZEw=;
Message-ID: <afa2487d-3d66-4a40-83c9-9d7acf8a8892@nielstenoever.net>
Date: Fri, 12 Jan 2024 14:24:33 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Kesara Rathnayake <kesara@staff.ietf.org>
Cc: xml2rfc@ietf.org
References: <8b646de5-2609-4127-bc8f-ea285231135a@nielstenoever.net> <a92572b5-c07e-467d-8474-26f0d758e4b0@nielstenoever.net> <CAD2=Z86a3dDzv9Qi7Dv==UuhQNfxuK0bpdUjHDaXNUwtLX6=XA@mail.gmail.com> <6ff20dd5-7293-4178-bb07-5624a22a4186@nielstenoever.net> <CAD2=Z878H_1v39EZVD-tsy6Z+86rwzbPi4dZjAs1X=-+F6ZEuA@mail.gmail.com>
From: Niels ten Oever <mail@nielstenoever.net>
Autocrypt: addr=mail@nielstenoever.net; keydata= xsFNBGO4J2IBEACbC4tVgyJh/cVe8+wqhLOzvMJ95TQfZV4XNvUaXazMOWO0BKxIhMvvHdeQ 3EeC3wogMTZGX+LFRhgdqH3RilpzvQ3ctv/YcoipdTmf4WzwvbfsniwB+inu7toe3hYeqmDm X83UsOZnDE7xPnYx65ySgHT62EVoN55ZAnR1hM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WYBgAAKCRDvrS5JzJDBDEBPD/0TlGhb/SfK5zgy5/NBpfgyLf7k MaOY7/3O7umDIGlpxiV7jPZY3KNVu15pmjyxlnPbLwyF3BuZvgzUYZyiR0qbS2SJBNYZ8DFx aiK4OPBz2b/XVktH7wt46AXBKxh0kwWcrXC0kC7kW31Jwo1ND7AYkjcIUB+L3Bpyifm1YbNi e8tx/1RyQKAlkXokjBxvLqHlq0QlaMSaPQclEG7DOJwsprUtGkciRu1ucfmSBUW9yrKKAVIQ FYqqA57LvReY6BtTplAG/jTT7mf2r2Cd8V5eeIRuPbSksLWyjROUSECNj2bGvZYR1og8kme2 vv4X8ArtT0rPDMC9ajUFOwhk+MiYsgtKPUG0zN9+2RDfeC/PmmNm+Y5RX7k3KCU5Vl8+DXF3 R19JLmJ53hR7RC1QBIQnS91QhfVIlpIqyyC8BppnVzAschZjHtcLk1Gncp5ht0+UDwjYrr2C FUEZIp5ot32CSmCu3OthHJQtgjIDIttrgnU5eb4pBbWQ1lqGpE3p4Tv1SSr98plXcRytsPzj loyi27pQJzXFQuV7MX1Q52Zch/yJoBQ3U4q9sKBtnJP9c85TG/JjmUUKJ8Hg345MPldJoKPQ cq4XZIim8S+5oYY0Mlr58F1itHRqIDK7Cupirw7s4l/+tF1LHPzO5nFH1hWMWKxH6uNurP2L i3sDVZ2OYw==
In-Reply-To: <CAD2=Z878H_1v39EZVD-tsy6Z+86rwzbPi4dZjAs1X=-+F6ZEuA@mail.gmail.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="------------bSBgW9Bfkcu5n6ZYADaO0g00"
X-Authenticated-As-Hash: f1842a279235a42f6aa2a2a81130733515c5a4ec
X-Virus-Scanned: by clamav at smarthost1.greenhost.nl
X-Scan-Signature: 3a52d1843adabd8eff9dab316373a257
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/tD8_P1MdaveTeDYoFbSx8ORRbiQ>
Subject: Re: [xml2rfc] help request: suggestions for reconstructing the Tao ToC for use in RFC
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: XML2RFC discussion list <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jan 2024 13:24:43 -0000


On 11-01-2024 22:47, Kesara Rathnayake wrote:
> On Fri, 12 Jan 2024 at 10:21, Niels ten Oever <mail@nielstenoever.net> wrote:
>>
>> Thanks a lot Kesara,
>>
>> The problem is that we need a ToC _only for the annex_ (which is the last archival version), not the whole document.
>>
>> Any suggestions how we could do that?
>>
> 
> I think this has to be done in the prepped version of the XML.
> So start with markdown without a ToC,
> kramdown-rfc draft-retirement.md > draft-retirement.xml
> xml2rfc --preptool draft-retirement.xml # generate prepped document
> # make ToC changes in draft-retirement.prepped.xml
> xml2rfc --text --html draft-retirement.prepped.xml
> 

Tremendously helpful - thank you!

Best,

Niels

>    --Kesara
> 
>> Best,
>>
>> Niels
>>
>> On 11-01-2024 22:18, Kesara Rathnayake wrote:
>>> Hi Niels,
>>>
>>> Regarding errors with ToC, remove the ToC from markdown file.
>>> xml2rfc automatically generates the ToC for you.
>>>
>>> Cheers,
>>> Kesara
>>>
>>> On Fri, 12 Jan 2024 at 08:22, Niels ten Oever <mail@nielstenoever.net> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I am at a bit of a loss here and would appreciate some guidance.
>>>>
>>>> Greg Wood and I have been working on reverting the html tags that make the ToC work in the current web-version of the Tao, to a ToC that would work in an RFC, but only at the end of an RFC, because we want to create an archival version of the Tao as an annex to a possible Tao tombstone draft.
>>>> But we are a bit at a loss as how to create a working ToC of the headings in the archival version of the Tao?
>>>>
>>>> We are currently working in this document: https://github.com/ietf/tao/blob/main/draft-retirement.md
>>>>
>>>> I am getting a lot of complaints from xml2rfc that <vspace/> is removed, but I am not sure what to replace it with?
>>>>
>>>> All suggestions are very much welcomed!
>>>>
>>>> Thanks in advance,
>>>>
>>>> Niels
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Niels ten Oever, PhD
>>>> Co-Principal Investigator - critical infrastructure lab - University of Amsterdam
>>>> Assistant Professor - Department of European Studies - University of Amsterdam
>>>>
>>>> W: https://criticalinfralab.net
>>>> W: https://nielstenoever.net
>>>> PGP: 4254 ECD5 D4CF F6AF 8B91 0D9F EFAD 2E49 CC90 C10C
>>>> _______________________________________________
>>>> xml2rfc mailing list
>>>> xml2rfc@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/xml2rfc
>>>
>>>
>>>
>>
>> --
>> Niels ten Oever, PhD
>> Co-Principal Investigator - critical infrastructure lab - University of Amsterdam
>> Assistant Professor - Department of European Studies - University of Amsterdam
>>
>> W: https://criticalinfralab.net
>> W: https://nielstenoever.net
>> PGP: 4254 ECD5 D4CF F6AF 8B91 0D9F EFAD 2E49 CC90 C10C
> 
> 
> 

-- 
Niels ten Oever, PhD
Co-Principal Investigator - critical infrastructure lab - University of Amsterdam
Assistant Professor - Department of European Studies - University of Amsterdam

W: https://criticalinfralab.net
W: https://nielstenoever.net
PGP: 4254 ECD5 D4CF F6AF 8B91 0D9F EFAD 2E49 CC90 C10C