Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.groff.bug > #1696
| From | Dave <INVALID.NOREPLY@gnu.org> |
|---|---|
| Newsgroups | gnu.groff.bug |
| Subject | [bug #57616] explicit hyphenation given in tmac/hyphenex.us violated |
| Date | 2020-01-27 23:28 -0500 |
| Message-ID | <mailman.232.1580185701.2185.bug-groff@gnu.org> (permalink) |
| References | <20200116-231212.sv93119.34933@savannah.gnu.org> <20200118-022209.sv93119.29169@savannah.gnu.org> <20200127-222817.sv93119.6180@savannah.gnu.org> |
Follow-up Comment #2, bug #57616 (project groff):
Now meet the word "freeloaders." hyphenex.us gives exactly one legal
breakpoint for the word:
$ grep '^ free' /usr/share/groff/current/tmac/hyphenex.us
free-loader
free-loaders
But groff gives it more than one:
$ printf ".hy 4\n.ll 1u\n%s\n" freeloaders | nroff 2> /dev/null | sed '/^$/d'
free-
load-
ers
While both of those are reasonable breakpoints, the explicit hyphenation in
hyphenex.us should disallow the second one. (This is arguably a bug in the
hyphenex.us list, but that file originates in TeX, so its bugs must be
addressed there.)
So the "distraughtly" and "freeloaders" examples seem to invoke the same bug
-- in both cases, groff is adding a breakpoint that is not specified in
hyphenex.us -- but they also have some notable differences:
* For "freeloaders," groff breaks the word the same way with .hy values of 1,
4, 8, and 12. As mentioned in comment #1, ".hy 1" and ".hy 4" give different
results for "distraughtly."
* Unlike "distraughtly," groff broke "freeloaders" the same way (for all
relevant .hy values) in 1.22.3, before the fix for bug #53196 (commit
4b299723) was applied. So that fix did not introduce the general bug.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57616>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Back to gnu.groff.bug | Previous | Next | Find similar
[bug #57616] explicit hyphenation given in tmac/hyphenex.us violated Dave <INVALID.NOREPLY@gnu.org> - 2020-01-27 23:28 -0500
csiph-web