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

Martin Thomson <mt@lowentropy.net> Fri, 24 November 2023 07:00 UTC

Return-Path: <mt@lowentropy.net>
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 4C9C3C18FCBE for <rfc-interest@ietfa.amsl.com>; Thu, 23 Nov 2023 23:00:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.806
X-Spam-Level:
X-Spam-Status: No, score=-2.806 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_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=lowentropy.net header.b="0SZzYMHL"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="tx01Zf41"
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 13Q6ULMPC6xz for <rfc-interest@ietfa.amsl.com>; Thu, 23 Nov 2023 23:00:45 -0800 (PST)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AF85C18FCD2 for <rfc-interest@rfc-editor.org>; Thu, 23 Nov 2023 23:00:29 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 21F2B3200A42 for <rfc-interest@rfc-editor.org>; Fri, 24 Nov 2023 02:00:28 -0500 (EST)
Received: from imap41 ([10.202.2.91]) by compute6.internal (MEProxy); Fri, 24 Nov 2023 02:00:28 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1700809227; x=1700895627; bh=H3 i8X1D84EpLcgUe9btpMDyrZfIuxpG43T3tDrgRsrs=; b=0SZzYMHL85B3NjGSfK 7p2a4ypukQFsHqBj8Kr2H5ftfX9uUtMS28Xatpgeau7Q8ogDy+J1qD/9gcCpKmLU fhHR2MPDIBfsmG9wgyWvKC5OL8pVa2F1vnxu7b8MSSCE8vr3CPZ8oSlwDRbkcKXQ DE7rPpvrve+IeA+Ag0QM8Lge7YZdlb7BGJoVJkpUeXRL+Tl7OtMZFivRsxAHooRp 2srjxPIWn3dJSPW3EC2AEITr1k8scxm7l1Rtuy+r+Nahb+UJ/uWGSTfUoKlprqHV 76mGJB9ajJmnvRmr7YG5p6Wjhaf/61uw3JDDgRV0G8rUZhdZ1YI/H6yu4Rgn2nTE BUlw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1700809227; x=1700895627; bh=H3i8X1D84EpLc gUe9btpMDyrZfIuxpG43T3tDrgRsrs=; b=tx01Zf41ZlHEVXryfWfdfB86q5Lcq PmgtAc2T+shAGl1jG98+vyiseGYZiFte3CF5y0yFyxWrtCM0cIklqg0v0Za76TMn PxEVz/GEsV6wxWenZAmzBX5vKWxsThDxgmHwktz8iiT0MxdVREU0r8FoUzRoO/sn sMy+5fwMyLc3M/PhWs3liAdPIACERcdOhKizEDQWw/nFbrIiFhO5c6FpIkSFQ0WI omYtupt47vJGz6KhXz3fVB+1KB5LiuGHUn3QpVB7QQBc94Phmx2dwEhV9r7trjK8 VFfMDSrpdfqmIn1Np8Cir2GBn9e7XbsKtbXGTTK1fUebpQg+nRfqNNbtQ==
X-ME-Sender: <xms:C0pgZa-w4ZPyTcOK4Vx7TxEHicI0SBC1FeYQ1v8dK3LNz2VnVWiskA> <xme:C0pgZauQH6dUbSfNXeQ6Waiayuh1b0XCK-BX4ZdFm7Cno1hptrgGYWqei02ctHA59 NK-7-4uUQ46akih6Kg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudehgedguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesth dtredtreertdenucfhrhhomhepfdforghrthhinhcuvfhhohhmshhonhdfuceomhhtsehl ohifvghnthhrohhphidrnhgvtheqnecuggftrfgrthhtvghrnheptdeghfekgeffhfetfe ejkeevfeetheehleegheehveelfeetfeeikeefgfejvdegnecuffhomhgrihhnpehgihht hhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehmtheslhhofigvnhhtrhhophihrdhnvght
X-ME-Proxy: <xmx:C0pgZQCTbiNgvBxLyWW77PKNgjvq2DaK0F-642zVsAr7o8_LoJyyPw> <xmx:C0pgZScDCjcWmi92eaaS9QEviGKiBQ6q1K7xR7ZSzgUf_rNRmC-YCA> <xmx:C0pgZfMlUGSICRi1iXtVjFZRn0LEQWDVIjdI8FeAQ8eJfSCr71INQw> <xmx:C0pgZVbibwPanIE9Vtz9BJPOFX2Xu2N6qLUQaLv8bQuUcURz46VwXA>
Feedback-ID: ic129442d:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4C98D234007E; Fri, 24 Nov 2023 02:00:27 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.9.0-alpha0-1234-gac66594aae-fm-20231122.001-gac66594a
MIME-Version: 1.0
Message-Id: <d62016f2-8905-4d19-9bcf-8a1847b46649@betaapp.fastmail.com>
In-Reply-To: <fd6bf324-04f5-f4b8-b00e-12eaafc4d93c@gmail.com>
References: <310371.1700735021@dyas> <fd6bf324-04f5-f4b8-b00e-12eaafc4d93c@gmail.com>
Date: Fri, 24 Nov 2023 18:00:08 +1100
From: Martin Thomson <mt@lowentropy.net>
To: rfc-interest@rfc-editor.org
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-interest/soVw-04mtSzaPoF34sTqlKpj1Ro>
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 07:00:51 -0000

Inspired by Brian, here's an addon:

https://github.com/martinthomson/save-svg

This is awaiting approval for distribution on the Firefox addons site, so you can only install it temporarily[1].  
I haven't put the work in to make it work with Chrome either, but I might do so if people find this useful.

[1] In Firefox Nightly and Developer Edition you can go to about:debugging#/runtime/this-firefox and load this as a temporary extension.

On Fri, Nov 24, 2023, at 14:24, Brian E Carpenter wrote:
> Pragmatist here: https://github.com/becarpenter/misc/tree/main/xtsvg