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

Paul Kyzivat <pkyzivat@alum.mit.edu> Fri, 24 November 2023 17:05 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 89201C151097 for <rfc-interest@ietfa.amsl.com>; Fri, 24 Nov 2023 09:05:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.007
X-Spam-Level:
X-Spam-Status: No, score=-2.007 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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=alum.mit.edu
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 oQoelpo4Ys1J for <rfc-interest@ietfa.amsl.com>; Fri, 24 Nov 2023 09:05:20 -0800 (PST)
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2062b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::62b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB424C14F73F for <rfc-interest@rfc-editor.org>; Fri, 24 Nov 2023 09:05:20 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+9NLP1Llg2BirD3kvfgzl59JR0gcs+9rMG4CVaCmfL6vwiRmTabVKYfcMowJMp7x67g4/Aeg2w6ij4ATR3AQrp4PLDpSyEyAzbRbYtmn2xg5kE7L6aaZ1hBGE12tCOu13G/RfUL3B+lb1UiofoYOBjZKlIR+Up5DDydV9+ICpDUZq8eYtf0rCz3mAnwl3sWpZoJe0r9PMkNYYEHZhCqWOOL3bpLrw2gAm59p7fFgTU3EKkF19c6kil4uW7JthXsUru14UNXnBSaxrpz1e1Pp7ViVDvpjCTJtqidkALoNuSM0OwX1BTzJHdYRfhmIHClI0IW+vaJ5ygscfDzJyLuWQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tDxHD/GpnMvWmbotcHzVjvZCu//htsyzAU6CxexyBCM=; b=M/tViUptorCv57gRLovggp4FTzkRtvBf0ZDSLzN+yzXWBzsPjamQMC54h1px3OhpVcawBQGwUm9T1jtjee3cA2wdqeqjdscBUA5VimX3JdnVwmg7i3pccjKPCEfv/33aFHyrZJ05Zp8z0Po+0NQfibEsJtRoIAkSPp87NOqqYNcs6O3oRsqQduAemWuaQoc5yj6KKobpp2cnQBmW/j7wk5yhoW6diLU2qo7LAGqtAeJNBn40BHqqnLaj+6dYRlSDXAjLH3Gkex21LnhWrScqPEfNY+NgBD6YxvcO/Nun6t0e7VO8Pa237q7Fbg+fWnf8UattiUa77B4MnEaYVrjoOQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 18.7.68.33) smtp.rcpttodomain=rfc-editor.org smtp.mailfrom=alum.mit.edu; dmarc=pass (p=none sp=none pct=100) action=none header.from=alum.mit.edu; dkim=none (message not signed); arc=none (0)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alum.mit.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tDxHD/GpnMvWmbotcHzVjvZCu//htsyzAU6CxexyBCM=; b=Xqz8/Eme5IuXvL1OWZhFe9wgDn+9QYqD/OUnJvaemn7hm9fo3QxbNCpt0iP18ShM5u3rQg03qr6ni5f1g9PQZX94NqBBNoxF9vscuN5+3jmMnDWWLIvg97YtRMt4Shx/iAm5MEhGErYBNRm7eKGZs0+dF0NoDzRBAMiH0zCnVow=
Received: from CH0PR13CA0006.namprd13.prod.outlook.com (2603:10b6:610:b1::11) by MN0PR12MB6200.namprd12.prod.outlook.com (2603:10b6:208:3c3::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.22; Fri, 24 Nov 2023 17:05:18 +0000
Received: from DS3PEPF000099E1.namprd04.prod.outlook.com (2603:10b6:610:b1:cafe::a5) by CH0PR13CA0006.outlook.office365.com (2603:10b6:610:b1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.12 via Frontend Transport; Fri, 24 Nov 2023 17:05:18 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 18.7.68.33) smtp.mailfrom=alum.mit.edu; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=alum.mit.edu;
Received-SPF: Pass (protection.outlook.com: domain of alum.mit.edu designates 18.7.68.33 as permitted sender) receiver=protection.outlook.com; client-ip=18.7.68.33; helo=outgoing-alum.mit.edu; pr=C
Received: from outgoing-alum.mit.edu (18.7.68.33) by DS3PEPF000099E1.mail.protection.outlook.com (10.167.17.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.12 via Frontend Transport; Fri, 24 Nov 2023 17:05:17 +0000
Received: from [192.168.1.52] (c-73-143-251-114.hsd1.ma.comcast.net [73.143.251.114]) (authenticated bits=0) (User authenticated as pkyzivat@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.14.7/8.12.4) with ESMTP id 3AOH5FfU031609 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <rfc-interest@rfc-editor.org>; Fri, 24 Nov 2023 12:05:16 -0500
Message-ID: <5ac4237f-f910-4dec-8e85-db3465b0d5c9@alum.mit.edu>
Date: Fri, 24 Nov 2023 12:05:15 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: 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> <8373b6b5-4a0a-4abb-8880-d618154b2f81@alum.mit.edu>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
In-Reply-To: <8373b6b5-4a0a-4abb-8880-d618154b2f81@alum.mit.edu>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-EOPAttributedMessage: 0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: DS3PEPF000099E1:EE_|MN0PR12MB6200:EE_
X-MS-Office365-Filtering-Correlation-Id: cfcce588-dc29-4347-d572-08dbed0f88d2
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: dEzSCku8NJmgtytanUosRWDs8x9Rqe30yxyrt3VMTAXS9srzP5FNcUTmLsVMuu5CoWcvnBrCrB2Ch71j++DBr77Q3U7e3lVuApPAmMSOtK/voiPhZRP60oTYU0oTurtHQP0tqg3Y4lmfb/FZgZtvmH8Kl1VlGLF/keR420LnroLWvnbvkPjp2HpaBDRH0WhUVs2Ltu2elBCh1U6diq80z7cYmwu/BMKy1KzI0S9ZCJz79P9K2LJx/uo7IoUeyvC9yK+5/1/rrSc7G/en1DsbOBg9TseAsXjCLFiFmLmgp9fn3xUOZOO4qBOwMOSq2S3BWwExMQkwGvhaHhkV3FWdJue/O4Vt1ecUPxtEPOFuVVSbC7ENcotJ3o+VbulK9DAwkk3BT+cilaTd2Uad78dzAllKD+R4IFlsF2N88aeZqGGlpLLpCZaSVP1jHsKrpjvfBX4V3epOrkaqipYMgBPyDpL+fkuA7flrtZhVvZ/iIhyn817EC6Ja7fifNCQE2bhhLCNCMrWoDqAxadpT7guVUshadwpcuCfuY6H3vyrMzE/C5mfF0l/8O+CgG7l8E/12O9JLMONNqJZ9DtjECy6PBT2ZJNaFH+sVZSpMJh4Il5kiDLyI52hYuAC+kh2tl1gHtRbC5ravKQ2gNxQ7DDjCcn6BhKYtG72eV+NnL9TwLIQZJN5MiwQYzRq986x6jkKaKR77x6g5ilXAbqcASa5rdWjly+STE6S+kOpphnl99Ec=
X-Forefront-Antispam-Report: CIP:18.7.68.33; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:outgoing-alum.mit.edu; PTR:outgoing-alum.mit.edu; CAT:NONE; SFS:(13230031)(376002)(396003)(346002)(39860400002)(136003)(230922051799003)(64100799003)(451199024)(186009)(82310400011)(1800799012)(36840700001)(46966006)(2906002)(5660300002)(53546011)(478600001)(75432002)(966005)(8676002)(8936002)(86362001)(31696002)(786003)(6916009)(316002)(41320700001)(70206006)(70586007)(36860700001)(83380400001)(7596003)(47076005)(356005)(41300700001)(82740400003)(26005)(336012)(31686004)(40480700001)(2616005)(956004)(43740500002); DIR:OUT; SFP:1101;
X-OriginatorOrg: alum.mit.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2023 17:05:17.5274 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: cfcce588-dc29-4347-d572-08dbed0f88d2
X-MS-Exchange-CrossTenant-Id: 3326b102-c043-408b-a990-b89e477d582f
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3326b102-c043-408b-a990-b89e477d582f; Ip=[18.7.68.33]; Helo=[outgoing-alum.mit.edu]
X-MS-Exchange-CrossTenant-AuthSource: DS3PEPF000099E1.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6200
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-interest/4OjzFR_oExjpp3MKfUBmcsaKV2c>
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 17:05:24 -0000

One more thing ...

On 11/24/23 11:47 AM, Paul Kyzivat wrote:

...

> There remains the issue of discovering what parts are available for a 
> given document. It has been suggested that hovering over the part in the 
> html rendering could show the name. Another possibility (not mutually 
> exclusive) is to have the datatracker and the info page for the document:
> 
> https://www.rfc-editor.org/info/rfcNNNN
> 
> list the available components alongside the list of file formats. So, in 
> addition to: html, txt, pdf, xml there could be: figures, abnf, ...
> where clicking on "abnf" would show a list of named abnf sources; 
> clicking on figures would give a list of figures. Clicking on a figure 
> would give available representations, including svg, etc.

A feature of this approach is that it can be extended back to RFCs 
predating the submission of xml. When worth the trouble artifacts like 
abnf could be manually extracted from the txt form of the rfc and stored 
separately in the data tracker. They could then be accessed using the 
same URL forms.