Re: [Xml-sg-cmt] question: using entities to control line breaks

Henrik Levkowetz <henrik@levkowetz.com> Mon, 07 June 2021 15:57 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: xml-sg-cmt@ietfa.amsl.com
Delivered-To: xml-sg-cmt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FEC93A1A49 for <xml-sg-cmt@ietfa.amsl.com>; Mon, 7 Jun 2021 08:57:39 -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, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, 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 QbfC5ijYNktD for <xml-sg-cmt@ietfa.amsl.com>; Mon, 7 Jun 2021 08:57:34 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [64.170.98.42]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2C7503A1B7E for <xml-sg-cmt@ietf.org>; Mon, 7 Jun 2021 08:57:34 -0700 (PDT)
Received: from h-158-174-202-242.a357.priv.bahnhof.se ([158.174.202.242]:65514 helo=tannat.local) 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 1lqHd7-0002Ta-By; Mon, 07 Jun 2021 08:57:33 -0700
To: Sandy Ginoza <sginoza@amsl.com>, John R Levine <johnl@taugh.com>
References: <6999AA6B-3244-4AA9-8924-FB63D8BB7701@amsl.com> <74195f49-67e2-40a5-66f9-dcf9da1d38c0@taugh.com> <BD2C0EE5-3614-45C9-B8B0-39AE43D93F30@amsl.com>
Cc: "xml-sg-cmt@ietf.org" <xml-sg-cmt@ietf.org>, Alice Russo <arusso@amsl.com>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <5280e8ad-91b1-5a03-6bdd-1cf32ce43b6f@levkowetz.com>
Date: Mon, 07 Jun 2021 17:57:25 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <BD2C0EE5-3614-45C9-B8B0-39AE43D93F30@amsl.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="ND5cF9Glitd62lVsuH90sgEedTlGtsxEk"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: arusso@amsl.com, xml-sg-cmt@ietf.org, johnl@taugh.com, sginoza@amsl.com
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/xml-sg-cmt/8K57zFlzFJUmBHLjJhGRAs1i-wE>
Subject: Re: [Xml-sg-cmt] question: using entities to control line breaks
X-BeenThere: xml-sg-cmt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Working list for the xml and style guide change management team <xml-sg-cmt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml-sg-cmt/>
List-Post: <mailto:xml-sg-cmt@ietf.org>
List-Help: <mailto:xml-sg-cmt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Jun 2021 15:57:39 -0000

Relying on the layout engine to always be so good that no human judgement
will be needed has proved to not hold in general.  I think there will
be occasional exceptions requiring tweaks, and we shouldn't prohibit
the use of things like &nbhy; if they can make things better.

	Henrik

On 2021-06-04 07:23, Sandy Ginoza wrote:
> Hi all,
> 
> Just checking to see if there are any further thoughts on this before we publish RFC 9023 (see https://www.rfc-editor.org/authors/rfc9023.txt). 
> 
> Thanks,
> Sandy 
> 
> 
> 
>> On Jun 3, 2021, at 10:40 AM, John R Levine <johnl@taugh.com> wrote:
>> 
>>> Re: using entities in titles to control placement of line breaks in specific rendered files. Is it accurate that we should not be using entities in this manner?
>> 
>> My inclination is to say that if this is an issue, the layout angine in xml2rfc should address it rather than hand-tweaks, but I'm also interested in what other people have to say.
>> 
>>> 
>>> Example: to prevent a line break after hyphen in the text output
>>> 
>>> -- Before:
>>> 
>>> Deterministic Networking (DetNet) Data Plane: MPLS over IEEE 802.1 Time-
>>>                      Sensitive Networking (TSN)
>>> 
>>> -- After (if &nbhy; is used in the XML):
>>> 
>>>  Deterministic Networking (DetNet) Data Plane: MPLS over IEEE 802.1
>>>                      Time-Sensitive Networking (TSN)
>>> 
>>> -- Or, even better (if &nbsp; is used as well):
>>> 
>>>            Deterministic Networking (DetNet) Data Plane:
>>>         MPLS over IEEE 802.1 Time-Sensitive Networking (TSN)
>>> 
>>> [This would also yield the desired result in the PDF file.]
>>> 
>>> Background: This is something the RPC did commonly in v2 era, but our understanding is that we're not supposed to do this in the v3 era.   If that's accurate, then we'll add this to the list of 'guidance received'.
>> 
>> Regards,
>> John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
>> Please consider the environment before reading this e-mail. https://jl.ly
>> 
>> -- 
>> Xml-sg-cmt mailing list
>> Xml-sg-cmt@ietf.org
>> https://www.ietf.org/mailman/listinfo/xml-sg-cmt
>> 
>