[Rfc-markdown] 1.6.25: revived "kdrfc -r" feature

Carsten Bormann <cabo@tzi.org> Mon, 27 February 2023 16:01 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 2C64AC151B04 for <rfc-markdown@ietfa.amsl.com>; Mon, 27 Feb 2023 08:01:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001] 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 RGpL7ONugDqj for <rfc-markdown@ietfa.amsl.com>; Mon, 27 Feb 2023 08:01:32 -0800 (PST)
Received: from smtp.zfn.uni-bremen.de (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 0338DC14F744 for <rfc-markdown@ietf.org>; Mon, 27 Feb 2023 08:01:29 -0800 (PST)
Received: from [192.168.217.124] (p548dc9a4.dip0.t-ipconnect.de [84.141.201.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4PQQGZ62WCzDCdg; Mon, 27 Feb 2023 17:01:26 +0100 (CET)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 699206486.354019-4bc0c790b029534ff02ac7a7913ea294
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Mon, 27 Feb 2023 17:01:26 +0100
Message-Id: <95B02EBD-BAA2-4649-ABB4-5F8F5DBBC8B0@tzi.org>
To: rfc-markdown@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/_7lahXx8iCWLaNac53PyJDfcG5c>
Subject: [Rfc-markdown] 1.6.25: revived "kdrfc -r" feature
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: Mon, 27 Feb 2023 16:01:36 -0000

For a long time, kdrfc has been able to use a web service provided by the IETF to run the xml2rfc processing.  This was broken since we moved to author-tools.ietf.org, and I have now revived the feature.

If your xml2rfc acts up or you cannot install it (e.g., because of a weird interaction with weasyprint), just add the -r flag to kdrfc:

    kdrfc -r foo.md

(…to get .txt)

    kdrfc -rh foo.md

(…to get .txt and .html)
etc.

Feedback welcome.

The performance of the xml2rfc web service is not that great for very short drafts (4 seconds or so), but quite reasonable for longer ones.

There also is a web service for idnits (kdrfc -i); this is not yet covered by -r.
In a future revision...

Grüße, Carsten