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

Julian Reschke <julian.reschke@gmx.de> Mon, 01 October 2018 13:05 UTC

Return-Path: <julian.reschke@gmx.de>
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 785C7130E69 for <xml2rfc-dev@ietfa.amsl.com>; Mon, 1 Oct 2018 06:05:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, 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 0LscuC3HmOPu for <xml2rfc-dev@ietfa.amsl.com>; Mon, 1 Oct 2018 06:05:50 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E2B8E130E67 for <xml2rfc-dev@ietf.org>; Mon, 1 Oct 2018 06:05:49 -0700 (PDT)
Received: from [192.168.1.34] ([217.91.35.233]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MeLKt-1gNEX10rhX-00QD4n; Mon, 01 Oct 2018 15:05:36 +0200
Received: from [192.168.1.34] ([217.91.35.233]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MeLKt-1gNEX10rhX-00QD4n; Mon, 01 Oct 2018 15:05:36 +0200
To: Henrik Levkowetz <henrik@levkowetz.com>, xml2rfc-dev@ietf.org
References: <E1g6wUz-0002Cp-91@durif.tools.ietf.org> <d1acab8a-6807-5840-50e4-b96d698849dc@gmx.de> <a69fe5d2-8f76-be02-0f9d-c0e926c0b2d2@levkowetz.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <dcd1c704-ae9c-7d5b-69fb-e7e39c6a30bb@gmx.de>
Date: Mon, 01 Oct 2018 15:05:34 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0
MIME-Version: 1.0
In-Reply-To: <a69fe5d2-8f76-be02-0f9d-c0e926c0b2d2@levkowetz.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:d/gAS7YRArkx2je1extMEQNvlligeOlf8EHd1eLXrNwHxyJVuEi UfFwT1BSla+NRS0q9ToCh4VPeXCPsF13z/E4BdkT+sI30v1PJ/iXoRcQfgEW0usali0nbar /jwNeKcxmnX5UtWIFS82JZtgByU8uEMyPlsbgbMobAKS6Dl72KpSRKkB5LRvHy86htWly3o li2Y9URxMQd3fHSvNQ69g==
X-UI-Out-Filterresults: notjunk:1;V01:K0:hcxfBsFCfKI=:aR4VCfOuVoP+x3lUGkJf8Z Y1ZIpbD039F20TptXkaH+tXIFkmwe6HSiw/vtkjhdS5LS2NreWcO7JgVTon1g0fSpq7CH2pg4 7vltMKXfMpmlsuya0ZfdG2/oLY55scDC4eXR2ViwyJ5fissFYiUZEmB8RIPwVNvgBjIbCs42o dQKoLw0si0YUwBvSANfHDyCP7/kPUVecsFslxSh1lyh668HvG6QyZrVI4LJ1CdWZvBi3d50Ni r2eHYXCDK67+D2Zy0v8k2fMkduw1L7MUr/ijWYFlzKntFw9oOrnBC9NVPs1LQqmSKrFeFSy3O QqYgNx4SlBiQYhd9JR+0epr9prCAS1o6vD8SlY7mqtDSUbMM/2gZoKG+baSTtrcZsti77HKoP 6c0bATAfzWh7bZXOTJV6nmC9dEk8qQgNYrBA36Xr/jVj+66YetfNbiQZzA36c7BgwmSZDRqFc QpV97TAwLXu4GS1kVsxOGgCLR6oRNoNko7FTDH+THQra6hlXe1DevsFyPlK96HjW3A3dg8D9x EBtlOsHvsciPXoXfBez0rDYoEtQmL5m6MPkr/T/rxoMP7A3Nj3R1tO54yRtWVfEEHBMDMpwTT PUH/+HtVg3drrqRFP8/7VCsAeOMiI5YzCD/czjpg+dOVZzgZYQtefe0fSPwxO5YIUKI0X/xgQ M/KY/lhN//bO4b1TBuvQzbweT1EF2WqceH9Fn9xFCBsgQrHLMcVrTGB+Vw/ETXXB9GQjvKaN5 6mc7iRUAIWXONLB7jWzgJ5iDlkxQlC4rL+7Tc055Ud5La0/kLGf8DcQghKBFIvls/KdI/A57N ccqWL7FnFL6V6pioDiXQkI7BGQuqFQ0lYS+yEVnRdwL8Y+PKCo=
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/IQeyups_vQgJ1yW_bCu_m7Kb1f8>
Subject: Re: [xml2rfc-dev] 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: Mon, 01 Oct 2018 13:05:53 -0000

On 10/1/2018 2:39 PM, Henrik Levkowetz wrote:
> Hi Julian,
> 
> On 2018-10-01 14:09, Julian Reschke wrote:
>> On 10/1/2018 1:36 PM, henrik@levkowetz.com wrote:
>>> This captures an issue noted during implementation, also described in
>>> https://tools.ietf.org/html/draft-levkowetz-xml2rfc-v3-implementation#section-3.1.4
>>>
>>> ---
>>> New Section 2.20.4, "indent" Attribute
>>>
>>>      The deprecation of the "hangIndent" attribute on <list> leaves no
>>>      opportunity to control the size of the hanging indent.  In some
>>>      definition lists, it is desirable to have a wide indentation, in order
>>>      to clearly show the terms, in other cases it is more important to allow
>>>      for a larger text volume than the width of the terms would allow.
>>>
>>>      Recommendation:  Add an "indent" attribute on <dl> to control the size
>>>                       of the hanging indent.
>>>
>>>      Implementation:  The current version of xml2rfc does not support the
>>>                       attribute, but has all the underlying functions needed
>>>                       to apply such an attribute.  Internally, an indentation
>>>                       is calculated based on length of the <dt> text and the
>>>                       settings of some of the other attributes.
>>> ---
>>> ...
>>
>> I agree that this would be useful - however we'll need to define it in a
>> way that works well with non-monospaced fonts.
> 
> Agreed.
> 
> What about specifying indentation as a number that would indicate characters
> in monospaced output, and en-space otherwise?

Works for me.

Best regards, Julian