bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #66054] [troff] permit special characters as source hyphenation cod


From: G. Branden Robinson
Subject: [bug #66054] [troff] permit special characters as source hyphenation codes
Date: Thu, 1 Aug 2024 18:16:33 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?66054>

                 Summary: [troff] permit special characters as source
hyphenation codes
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Thu 01 Aug 2024 10:16:30 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Feature change
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 01 Aug 2024 10:16:30 PM UTC By: G. Branden Robinson <gbranden>
Spawned off of bug #42870 and bug #66040.  The latter presents the following
test case (slightly tweaked here to change the escape character, for easy use
in a regression test shell script).


$ cat EXPERIMENTS/resume-special.groff 
.ec @
.ll 1n
r@['e]sum@['e]
.hcode @['e] e
r@['e]sum@['e]
.hcode @['E] @['e]
R@['E]SUM@['E]
.pl @n[nl]u
$ ~/groff-stable/bin/nroff -ww -Wbreak EXPERIMENTS/resume-special.groff
troff:EXPERIMENTS/resume-special.groff:6: error: hyphenation code must be
ordinary character
résumé
ré‐
sumé
RÉSUMÉ


The second `hcode` request should copy the hyphenation code assigned to
`\['e]` such that `\['E'` has the same one, so that "RÉSUMÉ" can hyphenate. 







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66054>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]