Re: [rfc-i] Inserting SVG graphics into an IETF draft

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 24 May 2022 23:11 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A8E6C2D7353 for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Tue, 24 May 2022 16:11:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1653433878; bh=FOnQyM9DHZHWQqneUgaRdoCaKlglR/u2MPFnnSPjAYE=; h=To:Cc:References:From:Date:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe; b=mFFliDmyn55ysrt4EyB2h7JiYaHxQpJ1MUVitC/uuf3IFpACMMfcS+tiVkrRvALiN 1Ohr0o+11FEiEdKfDg6seaSOPCQ9vqibPUtYU861Ino29hokWWA1vGhsk9WVFY+8yh 96OQ2+DC9eOiEfZNqv236YyPoD8HPIPR+68ACjnQ=
X-Mailbox-Line: From rfc-interest-bounces@rfc-editor.org Tue May 24 16:11:18 2022
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 32966C2D55AC; Tue, 24 May 2022 16:11:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1653433878; bh=FOnQyM9DHZHWQqneUgaRdoCaKlglR/u2MPFnnSPjAYE=; h=To:Cc:References:From:Date:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe; b=mFFliDmyn55ysrt4EyB2h7JiYaHxQpJ1MUVitC/uuf3IFpACMMfcS+tiVkrRvALiN 1Ohr0o+11FEiEdKfDg6seaSOPCQ9vqibPUtYU861Ino29hokWWA1vGhsk9WVFY+8yh 96OQ2+DC9eOiEfZNqv236YyPoD8HPIPR+68ACjnQ=
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 C896EC2D7340 for <rfc-interest@ietfa.amsl.com>; Tue, 24 May 2022 16:11:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.955
X-Spam-Level:
X-Spam-Status: No, score=-3.955 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, NICE_REPLY_A=-1.857, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 dWZufzbPnpzF for <rfc-interest@ietfa.amsl.com>; Tue, 24 May 2022 16:11:12 -0700 (PDT)
Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 6D818C2D55AC for <rfc-interest@rfc-editor.org>; Tue, 24 May 2022 16:11:12 -0700 (PDT)
Received: by mail-pj1-x102c.google.com with SMTP id l20-20020a17090a409400b001dd2a9d555bso3543248pjg.0 for <rfc-interest@rfc-editor.org>; Tue, 24 May 2022 16:11:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=mNf3NdxDdjKLROVRlHoVRW37JVqkq7Mocp2bD+zXcM8=; b=M5qvsQpwhX/+LVGuXqyHTgOu+ns9l9EtDrm+6DX3zBY3aPIfr3QvOjpx4CIlYo3h0X wPLcDAVII/XoJ7pxgpriV73sFjEcTK4dKldyN2zX4tN/YtMbi83AbTmJy0jhxc5v7kZm 9aWt5ASbKjvD2j2S1rsF1DMnWkjdQZtIEoZPLzCzfF4WMIaRpXN41Y3SeO2WPatE6+Sn GXiOktumIPOwqN4tlmtHs/J+SXV+NNJMmjg8QfETkcz/V0EgsWEBlzFFYBKguqHrck00 ZSQ441nSK23DbhAj2HiQBjkBVu3tqYPtxpH9VtzM2j+bKOYQ0TpfobY4i4juuCUbuywj 2ppA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=mNf3NdxDdjKLROVRlHoVRW37JVqkq7Mocp2bD+zXcM8=; b=wQ8Q5zmiaeX1u25u0pqtoO3JqsOCbQQnDdCI92MaiWAkb/ivrppwBGy0AXFv9kuNn2 CN1y02oBD8pO+PgYsPmfSxIsAiWNHWv4roJ0cU992msgh9APi7NJL75kWXisW9lziAzC wRxtxsbm9JuFnIc0sBRgmiuSrNVFTKI41wZMcOySmpG75GdJodMn20tZfm1I0TNwE9WU AemPehLDZRcaLuArVtteWXsFRh1+T48ZvVXP/AaSZdoCyh4yGaXnClnK4IKluDloWF6W 4I0wh/c9FGHMvdsxfshA+tmUZEwzkB+TAwfql5wCBIlyBTManXFQUPqdVpQYdJtRD8KG C87Q==
X-Gm-Message-State: AOAM533wF4Jelv4/lnAo+fyY4TUplEN8azgUhSnI9QLgMwubt5hfvhEl FiiJVwdcCvLuh2lsFUPco03l1kvkyEXOxg==
X-Google-Smtp-Source: ABdhPJyDOJyKOKlCjMk50gkWEKN9XQoi5l/42gjPUcUplztPBEFtqgq9Id4HxPgsr5QwWdk792XG8Q==
X-Received: by 2002:a17:902:f551:b0:162:de7f:76b6 with SMTP id h17-20020a170902f55100b00162de7f76b6mr2534857plf.77.1653433871521; Tue, 24 May 2022 16:11:11 -0700 (PDT)
Received: from ?IPv6:2406:e003:1005:b501:80b2:5c79:2266:e431? ([2406:e003:1005:b501:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id v17-20020a62c311000000b0050dc76281a6sm9786683pfg.128.2022.05.24.16.11.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 May 2022 16:11:10 -0700 (PDT)
To: Alice Russo <arusso@amsl.com>, "Paul Duffy (paduffy)" <paduffy=40cisco.com@dmarc.ietf.org>
Cc: Jay Daley <exec-director@ietf.org>, RFC Interest <rfc-interest@rfc-editor.org>
References: <MN2PR11MB375770AEBE5A992CC01156ACB9D79@MN2PR11MB3757.namprd11.prod.outlook.com> <A2C534F3-3162-4779-A637-BA42C5C44215@ietf.org> <MN2PR11MB37570AF809E4FA14CB3DFE3AB9D79@MN2PR11MB3757.namprd11.prod.outlook.com> <6031EEDF-C648-4492-97CC-CB0EDAB475D7@amsl.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <a8987247-ccd9-6dfb-d89c-95245366b9b1@gmail.com>
Date: Wed, 25 May 2022 11:11:08 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <6031EEDF-C648-4492-97CC-CB0EDAB475D7@amsl.com>
Content-Type: multipart/mixed; boundary="------------CF85A9661DDF70DBC0BBCEE5"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-interest/SLF_zjPt51H6KhmeFjg3A91ankQ>
Subject: Re: [rfc-i] Inserting SVG graphics into an IETF draft
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.34
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>
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

In my experience, dia is just about the only tool that gets close to meeting RFC7996 requirements. Whatever tool Paul used generates constructs that RFC7996 disallows, and svgcheck therefore removes.

Even Alice's version doesn't scale properly. My personal fixup tool produced the attached from Alice's, which does allow scaling.

Major surgery is needed rather than fixup tools.

Regards
    Brian

On 25-May-22 05:02, Alice Russo wrote:
> Hi Paul,
> 
> I ran your file through svgcheck [1] w/ the -r repair option, edited the output in Dia bc it had removed all the text, ran svgcheck -r again to get a file for which it says 'File conforms to SVG requirements.' Here's the file in case it's useful:
> https://www.rfc-editor.org/v3test/AliceBobSample_alt.svg
> 
> Alice
> 
> [1] https://github.com/ietf-tools/RfcEditor/tree/master/svgcheck
> 
>> On May 24, 2022, at 9:21 AM, Paul Duffy (paduffy) <paduffy=40cisco.com@dmarc.ietf.org> wrote:
>>
>> Thanks Jay, but I've already been there.
>>
>> The SVG generated by my production tool is not accepted by the IETF validators (despite the fact it is fine with any other SVG viewer I have tried).
>>
>>
>> -----Original Message-----
>> From: Jay Daley <exec-director@ietf.org>
>> Sent: Tuesday, May 24, 2022 12:14 PM
>> To: Paul Duffy (paduffy) <paduffy@cisco.com>
>> Cc: RFC Interest <rfc-interest@rfc-editor.org>
>> Subject: Re: [rfc-i] Inserting SVG graphics into an IETF draft
>>
>> Hi Paul
>>
>>> On 24 May 2022, at 17:01, Paul Duffy (paduffy) <paduffy=40cisco.com@dmarc.ietf.org> wrote:
>>>
>>> Greetings all
>>>
>>> After much material review and head scratching, I have an intentionally open-ended question to ask.
>>>
>>> Please find attached a sample Kramdown draft and related SVG graphic.  This SVG displays corrected on all of the 12 or so viewers I have tried.
>>>
>>> How do I incorporate this SVG into the RFC draft?
>>
>>
>> See the documentation at https://authors.ietf.org/en/diagrams
>>
>> kind regards
>> Jay
>>
>>
>>>
>>> Cheers
>>>
>>>
>>>
>>> <AliceBobSample.svg><AliceAndBob.md>_______________________________________________
>>> rfc-interest mailing list
>>> rfc-interest@rfc-editor.org
>>> https://mailman.rfc-editor.org/mailman/listinfo/rfc-interest
>>
>> -- 
>> Jay Daley
>> IETF Executive Director
>> exec-director@ietf.org
>>
>> _______________________________________________
>> rfc-interest mailing list
>> rfc-interest@rfc-editor.org
>> https://mailman.rfc-editor.org/mailman/listinfo/rfc-interest
>>
> 
> _______________________________________________
> rfc-interest mailing list
> rfc-interest@rfc-editor.org
> https://mailman.rfc-editor.org/mailman/listinfo/rfc-interest
> .
> 
_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://mailman.rfc-editor.org/mailman/listinfo/rfc-interest