Re: [rfc-i] getting SVG of RFC diagrams

Julian Reschke <julian.reschke@gmx.de> Fri, 24 November 2023 14:11 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: rfc-interest@ietfa.amsl.com
Delivered-To: rfc-interest@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C8102C1519BB for <rfc-interest@ietfa.amsl.com>; Fri, 24 Nov 2023 06:11:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.104 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (2048-bit key) header.d=gmx.de
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 GqidUwhz-ODx for <rfc-interest@ietfa.amsl.com>; Fri, 24 Nov 2023 06:10:59 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (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 EC92BC15155C for <rfc-interest@rfc-editor.org>; Fri, 24 Nov 2023 06:10:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1700835049; x=1701439849; i=julian.reschke@gmx.de; bh=49fjfWVuej3pZk6sYIKJ2PYkOWSVARX08g8GxI3aQF8=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=GjdxjFvS1C+hYBbCDjjDpD3+QTuw3Tsu3ZxwOFZsMNpUmIHY72Q5qBNAN79GZkeq pW1Xb1v8XAM/Y1poe6UbcpiKrbrpCFVoxxWE82xj4wfnNEqn+yZLxVzi5r7n0JspI Wg94Vd89c9nFd7LBmqoJrJSEM07fnVUVTYxSBOtV/TiitUW7i0mRXwvQ4qBrvgS3h iFZl4Y4uv+eUvHDTCyH+ZpYdGeTivo4UtOBNOBSsdqf/ZN52quTKkhcQ9TI5PKWxW 55YB3RsuHfa9iVvwu1oda0qCacns+q9i/h8UWPmAltaq8nHluiEKu8sLw4MPdU2Ik 7kD1SvL/NO6ZTLa05g==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.178.192] ([84.171.145.12]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXGr8-1qoPuJ3STW-00YfXn; Fri, 24 Nov 2023 15:10:49 +0100
Message-ID: <bc30c90e-9f4e-48c9-8c82-c948b16e27c2@gmx.de>
Date: Fri, 24 Nov 2023 15:10:50 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Carsten Bormann <cabo@tzi.org>
Cc: rfc-interest@rfc-editor.org
References: <310371.1700735021@dyas> <7C81D316-7D04-4941-BEE5-6AE8C96F0DE1@tzi.org> <D1F8F86E-80D7-4FC7-B7B5-32648ACB5D65@tzi.org> <MN2PR11MB3757AF8CCDF388BA5CECFE1AB9B8A@MN2PR11MB3757.namprd11.prod.outlook.com> <153bde12-5773-42ce-bfdf-392e4492c06b@gmx.de> <9D66A3A2-5516-4924-8B1E-420871D862C5@tzi.org>
From: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <9D66A3A2-5516-4924-8B1E-420871D862C5@tzi.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:+ivmSTyXtkobk+Ijo/mwQG1SfrjA93kcdPIe9MgAUkzFdhk5oKf YKTvFMgRnBVPqvWdNHK13W0bh+9zbAjfockVT1KV0VDlxNzNmFk1Kuv27wGMTGVzSaSpUwR tQTqDYVmfVPnbasl3JLzaIGv+RTFNcN6PQkH4E8JTi8DbOWGa84w/tKtjDjOFMLM3ox/uDW 0/DrC7++I2K+a6XOV+GwQ==
UI-OutboundReport: notjunk:1;M01:P0:jru1XyrGXL8=;aP2UApBBSM0XNUw2lBUZTrymvIP kEoRLjL1l9ilK/lLBd6hZ5XTbeHcrWfAM5H9qG7pU/7pNzEMNrrelYZabWeExTWPqcTG+NCxj pi+3s/lWnUuV5LJWBPjhIeIFuu2Z835ZZ6k0YpcxyKGHdPyUSyOxMfFBCNpOiPQ/cKz/hlerb 1ma2/XTaYDakozjAtVwFS1avCLMIkoMWezsn89aEXpMtVdzqUupOXkDd1QylJU78TlmMfksd0 +3cT8Z5GbsKogafuW1p6MgQn+VY+i1yZT8pdw0zh5ra6nckk3QhhNSNhnDZW7e8KkXhKpNGQo vGmoAxTaw6PmIu0Ma+rpt84PF+uvpyaCVW2veEvkwoffP+43u86iJcwpjrpmkQVQ13lL1MnhU PBAzjVbrQqpoR5Cn8iK3I0zMPBdZv1URTEe9iNRlomUs/tY3NgSWJNJx0LezCwWo17kIVkdPr YTDppMvRZhOgkPXOl+ubgPyWkUhcW57Bm3X7tFqnCgAQ7sh9ScAMdfyYUsKhF2xj2bSLVEzcc BGvZ5dqzBbuUHdyGkKvFU3XHKqDLkOD7AFGnN+wIXXMFpjD843U1YbtnpDZMZ9AD/pFAayCVV PFAKPJly1q/1oyvqi2PGR9YKiFzh/rbe3ItYECyVblKzGpmyee+69xDn3rIMiiZrwowJ/tfIm uQr/vhuFW8nIp3DLZ7Mzgpu501TiFJ9lVoL7EO9QnLtv5qEafsE64BkyqNuuQ/qR0CEzK4sJQ UdOLu5RNzsVqh64+J4jJRKCdwon1IekmGE7XN1zShXgZEMOMWLzmfITmqpOtzLUynRjFmr5ud 88GdEJh8wE5O8JjGI+UpJkA3vAXunZJmi4uHtRm26HPb/U8W25OmXI2k/nm3VgoAU/SqUqOR1 /sQE7bCjqW0sv99f2ytPHEI8EY6PglEG+SqYEhyNtukL6DxfCuYwBpaJT++BbcEPKSxcrcVjp dK/spw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-interest/FILd78SteQN9nSvYSn4oaSv9ojM>
Subject: Re: [rfc-i] getting SVG of RFC diagrams
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://mailman.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://mailman.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Nov 2023 14:11:03 -0000

Am 24.11.2023 um 15:06 schrieb Carsten Bormann:
> On 2023-11-24, at 14:56, Julian Reschke <julian.reschke@gmx.de> wrote:
>>
>> include a text file automatically.
>
> All authoring environments have support for that.
> (If not, it is trivial to add a Makefile.)

Right. (But apparently not all authors like "make").

> The more interesting aspect is painlessly retrieving the components (attachments, sourcecode, diagrams) out of the drafts and RFCs, and a URL naming convention would help with that.
>
> I offer the naming convention provided by kramdown-rfc-extract-sourcecode.
> (Which has been extended for the next version by making use of slugified names instead of counting unnamed components.)
>
> This could lead to:
> https://www.rfc-editor.org/rfc/rfc9334/svg/layered-attester.svg
> https://www.rfc-editor.org/rfc/rfc9334/ascii-art/layered-attester.ascii-art
> https://datatracker.ietf.org/doc/draft-ietf-cbor-edn-literal/abnf/cbor-edn.abnf

Correct, both directions are important.

I have
<https://greenbytes.de/tech/webdav/rfc2629xslt/rfc2629xslt.html#extract-artwork>,
but that definitively needs updating (and I'm happy to use the same
naming heuristics).

Best regards, Julian