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

Jim Schaad <ietf@augustcellars.com> Wed, 03 October 2018 03:14 UTC

Return-Path: <ietf@augustcellars.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 C5E4213118E for <xml2rfc-dev@ietfa.amsl.com>; Tue, 2 Oct 2018 20:14:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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 nKgamxHwMPtO for <xml2rfc-dev@ietfa.amsl.com>; Tue, 2 Oct 2018 20:14:27 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CCD68130FBD for <xml2rfc-dev@ietf.org>; Tue, 2 Oct 2018 20:14:26 -0700 (PDT)
Received: from Jude (192.168.0.11) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 2 Oct 2018 20:09:46 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Julian Reschke' <julian.reschke@gmx.de>, '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> <dcd1c704-ae9c-7d5b-69fb-e7e39c6a30bb@gmx.de>
In-Reply-To: <dcd1c704-ae9c-7d5b-69fb-e7e39c6a30bb@gmx.de>
Date: Tue, 02 Oct 2018 20:14:19 -0700
Message-ID: <02be01d45ac7$2e4088c0$8ac19a40$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQE/60/iC0oW5uFeRsGOaCY9EO+4sAJMfbGjAKtuqJsBsjziCqYQZmNg
Content-Language: en-us
X-Originating-IP: [192.168.0.11]
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/WP2L9kuVbL_s9njfJ-W0ZXBUVUo>
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: Wed, 03 Oct 2018 03:14:29 -0000


> -----Original Message-----
> From: xml2rfc-dev <xml2rfc-dev-bounces@ietf.org> On Behalf Of Julian
> Reschke
> Sent: Monday, October 1, 2018 6:06 AM
> To: Henrik Levkowetz <henrik@levkowetz.com>; xml2rfc-dev@ietf.org
> Subject: Re: [xml2rfc-dev] RFC 7991 issue #39: Schema Issue, RFC 7991, New
> Section 2.20.4, "indent" Attribute
> 
> 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-implementatio
> >>> n#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.

+1
Jim

> 
> Best regards, Julian
> 
> _______________________________________________
> xml2rfc-dev mailing list
> xml2rfc-dev@ietf.org
> https://www.ietf.org/mailman/listinfo/xml2rfc-dev