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

John R Levine <johnl@taugh.com> Thu, 03 June 2021 17:41 UTC

Return-Path: <johnl@taugh.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 3ED9F3A1107 for <xml-sg-cmt@ietfa.amsl.com>; Thu, 3 Jun 2021 10:41:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b=4LbC91dM; dkim=pass (2048-bit key) header.d=taugh.com header.b=CpWTefck
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 sodFMzbfOhQc for <xml-sg-cmt@ietfa.amsl.com>; Thu, 3 Jun 2021 10:41:03 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 681173A1101 for <xml-sg-cmt@ietf.org>; Thu, 3 Jun 2021 10:41:03 -0700 (PDT)
Received: (qmail 69185 invoked from network); 3 Jun 2021 17:41:00 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type; s=10e3f.60b9142c.k2106; bh=HzEfe4z4hG8kkNEjviTSUL9oF6BkVjIh1uLS6LDUFNs=; b=4LbC91dMCiY2O0KNWtu0RGabX18GoZhHro2P5YdXb5qmLGmcYRQsPLpjMWPkBSOlNmq1Bmf310r3oPeuT/OxDABmatCcDqOLW3akgH00hmc/BSuuwocDNH2JwYae+j7ud7xG02q82tEcxBprL0GnhGoY0vzjVToB1bDZQtTYoJ1ttCMpMqhHV9+lv3EekYePLC/ohB5KZUCHXm5SqC63A5u9YaVub5EfvB5pGbNf8emEW5w5Jy9qnirt4rbnJqr3zQqQ3zjt3Ng/qQ2UFzcw5STHQDauS+tnDHAHomYeEE1Q01hG6Uhq4dmKmVNcOgaRVTqCFae2G0E6gbBBoiQBcQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type; s=10e3f.60b9142c.k2106; bh=HzEfe4z4hG8kkNEjviTSUL9oF6BkVjIh1uLS6LDUFNs=; b=CpWTefckyOrgm49KgmiwKTkxeqyYL9xBR8nj4bmsGVct6SlIihSQgPXrfdgxqZhDEwWS3Rgl9FLCHMPvLhlUeOwAJnbMxiXHKkp3GcwLS8IRNLLwDB1Xc5QIc8kk1vcs9FIY1RWdI63iqTbI4CGP/zSWgSgKWC6DoMmINLYwpnkm3AkOTpXZUsVpoXTwmDHTpi4lkTLVWPSh5FU3Rcwjj4Sh3MjDBnejDZNc6KB/jzwLO6tgHtqlznx8wuGPwOx4htXgoryUpHnXhd8n/AsfqYRh6YlBteoIZGjvzqA2GnJfVuYowiD3GkMURpfH4ANdiy+xoE0l2Rb1SnQzUSRHHw==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 03 Jun 2021 17:40:59 -0000
Received: by ary.qy (Postfix, from userid 501) id 15B51B3DACE; Thu, 3 Jun 2021 13:40:58 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1]) by ary.qy (Postfix) with ESMTP id D67D5B3DAAF; Thu, 3 Jun 2021 13:40:58 -0400 (EDT)
Date: Thu, 03 Jun 2021 13:40:58 -0400
Message-ID: <74195f49-67e2-40a5-66f9-dcf9da1d38c0@taugh.com>
From: John R Levine <johnl@taugh.com>
To: Alice Russo <arusso@amsl.com>, "xml-sg-cmt@ietf.org" <xml-sg-cmt@ietf.org>
X-X-Sender: johnl@ary.qy
In-Reply-To: <6999AA6B-3244-4AA9-8924-FB63D8BB7701@amsl.com>
References: <6999AA6B-3244-4AA9-8924-FB63D8BB7701@amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml-sg-cmt/DWmm7Vfl-7bN-ndNnY8yszS4XaU>
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: Thu, 03 Jun 2021 17:41:09 -0000

> 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