Re: [xml2rfc-dev] [Ext] RFC 7991 issue #39: Schema Issue, RFC 7991, New Section 2.20.4, "indent" Attribute

Henrik Levkowetz <henrik@levkowetz.com> Sun, 07 October 2018 20:33 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: xml2rfc-dev@ietfa.amsl.com
Delivered-To: xml2rfc-dev@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D202F130DEE for <xml2rfc-dev@ietfa.amsl.com>; Sun, 7 Oct 2018 13:33:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 mPvSaA__sphn for <xml2rfc-dev@ietfa.amsl.com>; Sun, 7 Oct 2018 13:33:56 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B62D124D68 for <xml2rfc-dev@ietf.org>; Sun, 7 Oct 2018 13:33:56 -0700 (PDT)
Received: from h-37-140.a357.priv.bahnhof.se ([94.254.37.140]:58402 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1g9FkR-0004mU-VQ; Sun, 07 Oct 2018 13:33:56 -0700
To: Paul Hoffman <paul.hoffman@icann.org>
References: <E1g6wUz-0002Cp-91@durif.tools.ietf.org> <d1acab8a-6807-5840-50e4-b96d698849dc@gmx.de> <a69fe5d2-8f76-be02-0f9d-c0e926c0b2d2@levkowetz.com> <d70281e8-fb0a-fbe8-62f6-7498d95eaf3d@levkowetz.com> <055101d45e4f$eab33f30$c019bd90$@augustcellars.com> <bd96436d-d64d-2945-7ea7-7313a0270317@levkowetz.com> <735A937F-1464-464C-908F-2A107D981364@icann.org>
Cc: XML Developer List <xml2rfc-dev@ietf.org>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <ceb6bbe7-c99f-edff-d3a6-355638a61560@levkowetz.com>
Date: Sun, 07 Oct 2018 22:33:48 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <735A937F-1464-464C-908F-2A107D981364@icann.org>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="MDx7pxEN1NBQCgBHE1sHOVOcIKfxxapEO"
X-SA-Exim-Connect-IP: 94.254.37.140
X-SA-Exim-Rcpt-To: xml2rfc-dev@ietf.org, paul.hoffman@icann.org
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/i8PC1FsFzUtzmH_u0YNxJ0zZ134>
Subject: Re: [xml2rfc-dev] [Ext] RFC 7991 issue #39: Schema Issue, RFC 7991, New Section 2.20.4, "indent" Attribute
X-BeenThere: xml2rfc-dev@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion about particulars of xml2rfc V3 design, development and code." <xml2rfc-dev.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc-dev/>
List-Post: <mailto:xml2rfc-dev@ietf.org>
List-Help: <mailto:xml2rfc-dev-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Oct 2018 20:33:58 -0000

On 2018-10-07 22:20, Paul Hoffman wrote:
> On Oct 7, 2018, at 8:18 AM, Henrik Levkowetz <henrik@levkowetz.com> wrote:
>> The reason I expressed this in en-space is that as a rule of thumb, the
>> average character width in a proportional font is 1 en.  If we apply the
>> indent figure as number of em-spaces, the visual impression will be a
>> much larger indentation when using proportional fonts than for monospaced
>> fonts.
> 
> This makes sense, but the reason I proposed using the em unit earlier
> is that em is defined in CSS, but (I'm pretty sure) en is not. This
> would make the HTML much easier to render directly, I think.

I understand, but I think I covered this in both my first (and second,
just now) proposal.  

---
2.20.4.  "indent" Attribute

   Indicates the indentation to be used for the second and following
   lines of item rendering (the first line starts with the term, and
   is not indented).  The indentation is to be interpreted as characters
   in text/plain rendering, and en-space units when using renderings
   with richer typographic support, such as html or pdf.  One en-space is
   assumed to be the length of 0.5 em-space in CSS units.
---

The reason to use en-space is to get a comparable rendering.  Equating
one character step with an em-space results in very different renderings.
Using steps of 0.5em in CSS is trivial.

If it makes you happier, we could change the text above to say

   ... the length 0.5em in CSS units.



	Henrik