[Top][All Lists]

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

[bug #57616] explicit hyphenation given in tmac/hyphenex.us violated

From: Dave
Subject: [bug #57616] explicit hyphenation given in tmac/hyphenex.us violated
Date: Fri, 17 Jan 2020 00:12:14 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0


                 Summary: explicit hyphenation given in tmac/hyphenex.us
                 Project: GNU troff
            Submitted by: barx
            Submitted on: Thu 16 Jan 2020 11:12:12 PM CST
                Category: Core
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



In US English, my understanding is that a hyphenation expressly provided in
tmac/hyphenex.us overrules whatever other hyphenation points may be generated
by the general patterns in tmac/hyphen.us.  The hyphenex.us entries may be
subject to further restrictions, of course: different .hy values may inhibit
breakpoints that a word in hyphenex.us has.  But groff should never break a
word in hyphenex.us at a point _other_ than the ones it provides.

Meet the word "distraughtly."  hyphenex.us gives it two legal breakpoints:

$ fgrep traugh /usr/share/groff/current/tmac/hyphenex.us

But with ".hy 4" set, the trick from
http://lists.gnu.org/archive/html/groff/2018-11/msg00023.html to find where
groff hyphenates a word gives:

$ printf ".hy 4\n.ll 1u\n%s\n" distraughtly | nroff 2> /dev/null | sed

The latter is clearly not a reasonable breakpoint.

Interestingly, before the fix for bug #53196 was applied, this unwanted
breakpoint did not happen.  I don't yet know whether the fix for that bug
introduced this problem, or something else did.


Reply to this item at:


  Message sent via Savannah

reply via email to

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