Re: Looking for a grammar/spelling tool for XML I-D

Nico Williams <nico@cryptonector.com> Thu, 20 August 2020 18:34 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 47B8C3A129F for <ietf@ietfa.amsl.com>; Thu, 20 Aug 2020 11:34:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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_MSPIKE_H2=-0.001, 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 (1024-bit key) header.d=cryptonector.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kb8Wrc9YJgPh for <ietf@ietfa.amsl.com>; Thu, 20 Aug 2020 11:34:57 -0700 (PDT)
Received: from bonobo.birch.relay.mailchannels.net (bonobo.birch.relay.mailchannels.net [23.83.209.22]) (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 0D3C13A129C for <ietf@ietf.org>; Thu, 20 Aug 2020 11:34:56 -0700 (PDT)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E5A393411B3; Thu, 20 Aug 2020 18:34:54 +0000 (UTC)
Received: from pdx1-sub0-mail-a71.g.dreamhost.com (100-96-12-48.trex.outbound.svc.cluster.local [100.96.12.48]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 798E6340423; Thu, 20 Aug 2020 18:34:54 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from pdx1-sub0-mail-a71.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.8); Thu, 20 Aug 2020 18:34:54 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nico@cryptonector.com
X-MailChannels-Auth-Id: dreamhost
X-Lonely-Desert: 4d0e72943b38a446_1597948494740_571672117
X-MC-Loop-Signature: 1597948494740:3395717849
X-MC-Ingress-Time: 1597948494739
Received: from pdx1-sub0-mail-a71.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a71.g.dreamhost.com (Postfix) with ESMTP id 3BC277F0A7; Thu, 20 Aug 2020 11:34:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=t8L8WOQtZ2xKzB TG9VFTIH8ug1Y=; b=Wt0oUFIwGLF0vvbCWvEGfd7jCAAwLcYfkI1wNgB2sJ3Nq7 EZkuT3BXSDQB+PbRhwO/iwVepJC1TlwfDAV8JKPK5aZgkiP+uStv1MvYCv4InVVW VrF6e05VzHj6h4OQVbhSKeWcMnrfBKBq1YtDUkC4T+CcUYzaix6Xt/7CznsNE=
Received: from localhost (unknown [24.28.108.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by pdx1-sub0-mail-a71.g.dreamhost.com (Postfix) with ESMTPSA id 6A3657F0A5; Thu, 20 Aug 2020 11:34:53 -0700 (PDT)
Date: Thu, 20 Aug 2020 13:34:50 -0500
X-DH-BACKEND: pdx1-sub0-mail-a71
From: Nico Williams <nico@cryptonector.com>
To: "Eric Vyncke (evyncke)" <evyncke=40cisco.com@dmarc.ietf.org>
Cc: "ietf@ietf.org" <ietf@ietf.org>
Subject: Re: Looking for a grammar/spelling tool for XML I-D
Message-ID: <20200820183449.GQ3100@localhost>
References: <27EC28EB-E58F-48EA-ABE0-99E0DF709847@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <27EC28EB-E58F-48EA-ABE0-99E0DF709847@cisco.com>
User-Agent: Mutt/1.9.4 (2018-02-28)
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduiedruddutddgjedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfhfgggtuggjfgesthdtredttdervdenucfhrhhomheppfhitghoucghihhllhhirghmshcuoehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmqeenucggtffrrghtthgvrhhnpefftdektefhueetveeigfefgeejteejvdfhhefgvddtfeeujeehleeguefhgffhgfenucfkphepvdegrddvkedruddtkedrudekfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehlohgtrghlhhhoshhtpdhinhgvthepvdegrddvkedruddtkedrudekfedprhgvthhurhhnqdhprghthheppfhitghoucghihhllhhirghmshcuoehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmqedpmhgrihhlfhhrohhmpehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmpdhnrhgtphhtthhopehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhm
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/LBvsK6Rakln47RZVkL3ahkjtnXs>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Aug 2020 18:34:58 -0000

On Thu, Aug 20, 2020 at 09:38:42AM +0000, Eric Vyncke (evyncke) wrote:
> The IESG believes that the I-D review (in last call, in IESG telechat,
> ...) could be improved for some documents if the grammar was correct
> and typos absent (and I plead guilty to do typos in my documents).
> Easier said than done of course.
> 
> Most modern word processors have this feature but I know about no
> tools able to do this check on .XML or .TXT...

Well, this isn't what you're looking for, but my now-pretty-much-
abandoned lyx2rfc tool lets you edit I-Ds in LyX, which is a WYSIWYM GUI
editor and has spell checking (though maybe not grammar checking, not
that I recall).

lyx2rfc is/was a hack though -- a working and workable hack, but hacky
anyways -- using custom insets (hack) for xml2rfc metadata and a format
converter/exporter that first converts to LyXML and then uses XSLTs to
convert to xml2rfc (v2) and then xml2rfc to do final rendering.  Better
LyX integration would be nice, but I don't think anyone is going to put
the effort into it.  Still, using LyX is very nice, and the only
downside is the lack of VIM keybindings.

If the tools team wanted to do something truly awesome, it should look
for a suitable, cross-platform, at least free-as-in-$ editor that
supports some sort of structured text and can be extended to do the
kinds of things I did with LyX, then build the necessary integration
with xml2rfc.  LyX might be one such suitable editor.

Nico
--