bug-groff
[Top][All Lists]
Advanced

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

[bug #59397] [troff] want English hyphenation codes for Latin-1 Suppleme


From: G. Branden Robinson
Subject: [bug #59397] [troff] want English hyphenation codes for Latin-1 Supplement characters
Date: Wed, 31 Jul 2024 20:15:29 -0400 (EDT)

Update of bug #59397 (group groff):

                  Status:               Need Info => None                   
                 Summary: Assign default .hcode values to alphabetic
characters in groff's default character set => [troff] want English
hyphenation codes for Latin-1 Supplement characters

    _______________________________________________________

Follow-up Comment #6:

Retitling.

The following specimen works the same on _groff_ 1.22.3, 1.22.4, 1.23.0, and
Git HEAD.


$ cat EXPERIMENTS/hw-with-special-characters.groff
.ll 1n
r\['e]sum\['e]
.hcode \['e]e
r\['e]sum\['e]
.pl \n[nl]u
$ ~/groff-1.22.3/bin/groff -ww -W break -T utf8
EXPERIMENTS/hw-with-special-characters.groff
résumé
ré‐
sumé


This is good fodder for a future regression test (in order words, it works
*now*, but could conceivably break in future refactorings).  So I'll probably
add a test based the foregoing.

My plan for _groff_ 1.24 had been to _not_ load "latin1.tmac" by default
anymore, to get _groff_ users shifted to ISO 646/"ASCII" by default so that we
can compatibly change the input character encoding to UTF-8 for groff 1.25. 
I'm not sure how that plan interacts with the above; maybe it doesn't.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
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]