Re: [Rfc-markdown] SVG diagrams for slides

Carsten Bormann <cabo@tzi.org> Sun, 24 July 2022 15:12 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 EE096C13C201 for <rfc-markdown@ietfa.amsl.com>; Sun, 24 Jul 2022 08:12:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
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 unK-znLDGcUF for <rfc-markdown@ietfa.amsl.com>; Sun, 24 Jul 2022 08:12:15 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (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 7AFDEC157B4C for <rfc-markdown@ietf.org>; Sun, 24 Jul 2022 08:12:15 -0700 (PDT)
Received: from [192.168.217.136] (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4LrRVN6pJVzDCc9; Sun, 24 Jul 2022 17:12:12 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <9063.1658672312@dooku>
Date: Sun, 24 Jul 2022 17:12:12 +0200
Cc: rfc-markdown@ietf.org
X-Mao-Original-Outgoing-Id: 680368332.4805599-5ad0d364753979dc77069d6e22435668
Content-Transfer-Encoding: quoted-printable
Message-Id: <DAFD0CFE-843B-4ADD-B2CF-D0F8753C0B66@tzi.org>
References: <63259.1658625940@dooku> <2E0491A4-C4C2-456D-B566-17BC440ADE00@tzi.org> <9063.1658672312@dooku>
To: Michael Richardson <mcr@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/l_n-H0crX5YCS7k0_3a_KnQtYtU>
Subject: Re: [Rfc-markdown] SVG diagrams for slides
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.39
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: Sun, 24 Jul 2022 15:12:20 -0000

On 2022-07-24, at 16:18, Michael Richardson <mcr@sandelman.ca> wrote:
> 
> I could put that into the makefile.

Try this.

https://gist.github.com/cabo/c3927cafa495c6995973d9cc7653f5cb

It is a bit stupid, as it doesn’t use name= attributes of ancestor artwork elements, but just numbers to create:

svg-fig-01.pdf
svg-fig-02.pdf

etc.  Should be good enough for manual slide making.
(Oh, and you need to have rsvg-convert installed.)

Grüße, Carsten