Re: [abnf-discuss] ABNF syntax highlighting in rfc2629.xslt

Paul Kyzivat <paul.kyzivat@comcast.net> Wed, 16 May 2018 15:37 UTC

Return-Path: <paul.kyzivat@comcast.net>
X-Original-To: abnf-discuss@ietfa.amsl.com
Delivered-To: abnf-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65F0C129C6E for <abnf-discuss@ietfa.amsl.com>; Wed, 16 May 2018 08:37:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net
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 qjFJpi6ZL0MA for <abnf-discuss@ietfa.amsl.com>; Wed, 16 May 2018 08:37:46 -0700 (PDT)
Received: from resqmta-ch2-09v.sys.comcast.net (resqmta-ch2-09v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:41]) (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 7667812785F for <abnf-discuss@ietf.org>; Wed, 16 May 2018 08:37:46 -0700 (PDT)
Received: from resomta-ch2-11v.sys.comcast.net ([69.252.207.107]) by resqmta-ch2-09v.sys.comcast.net with ESMTP id ItbdfoUfRnAKgIyUrfQZaJ; Wed, 16 May 2018 15:37:45 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1526485065; bh=JR1nRlYAH+rZNOXlu4My178nMErPgZGkuCZI+/4qkMI=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=mGgUdoGEFIzgvOhsxGhoL+mfTppHUnHn+u6omDb8f+dgHeQ16+b8nV4tv94g/7TiI e70Qsr2xuviufpoWcpuVFBswrigQb3DcZvZ8OPKX5RuXy1GuHPmsVqUm/U/8JubZcw NROuAp9X3Y//gxUOMUSuqqYfHvrhlSwVkD54RPpKhKkWDdAq8XpyaIDdgk9fJzanrJ dPBlqL35bA0fr5CIZtYhj3cFTh8J+HRWLJwzS4rp0ex0Hlf7KArLKbLt6ikvUOr/jl W3EOQhenuBByUoeIF48iYMoUIU/idBk2zkJRnjZvejg9T4aZX0PJikr1LcOTLVo16D dCkmFB93AXtxw==
Received: from PaulKyzivatsMBP.localdomain ([24.62.227.142]) by resomta-ch2-11v.sys.comcast.net with ESMTPA id IyUqfkUjDfE4yIyUqfh1Cv; Wed, 16 May 2018 15:37:45 +0000
To: abnf-discuss@ietf.org
References: <a290baa2-9a8a-9ede-b498-e3bc86411d9d@gmx.de>
From: Paul Kyzivat <paul.kyzivat@comcast.net>
Message-ID: <f0cf6d23-fcb3-5f80-e497-f28f16b2455d@comcast.net>
Date: Wed, 16 May 2018 11:37:44 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <a290baa2-9a8a-9ede-b498-e3bc86411d9d@gmx.de>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4wfPYn3figmU7y1BkYIIwPrHzCsWUF/93Ot8J+u8ik9GsShDr30K51xOxSTBsToHWgEsp2+mx7DaAD5DNfRyJX8D+OcCgxUqUYaE4KufhgFjJmXupPdHZA 23tti3BZnS0BejKEJHmjrApQWe3QbJR4Q5rE3uXMtvwym5rXYqLK96shrpYbem02aXr09ke2uD9nLdVArferCUvthMbXtnXdHg4=
Archived-At: <https://mailarchive.ietf.org/arch/msg/abnf-discuss/M8NCo0LOs_2X3rN1WG8_2p08e_I>
Subject: Re: [abnf-discuss] ABNF syntax highlighting in rfc2629.xslt
X-BeenThere: abnf-discuss@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "General discussion about tools, activities and capabilities involving the ABNF meta-language" <abnf-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/abnf-discuss>, <mailto:abnf-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/abnf-discuss/>
List-Post: <mailto:abnf-discuss@ietf.org>
List-Help: <mailto:abnf-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/abnf-discuss>, <mailto:abnf-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 May 2018 15:37:49 -0000

On 5/16/18 9:13 AM, Julian Reschke wrote:
> FYI: I recently added support for ABNF syntax highlighting to my xml2rfc 
> formatter.
> 
> Example output:
> 
>    <https://greenbytes.de/tech/webdav/rfc5234.html#rfc.section.4>
> 
> This uses Google's "prettify", with an extension for IETF ABNF 
> (<https://github.com/google/code-prettify/pull/542>).
> 
> Feedback appreciated.

Maybe its just my eyes. I can barely discern the color differences. If I 
really strain I can see that the comments are "red" and the quoted 
strings are perhaps "green". But the differences are subtle - not 
sufficient to help in reading the abnf.

Could you choose colors that have more contrast?

	Thanks,
	Paul