Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.groff.bug > #1696
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Dave <INVALID.NOREPLY@gnu.org> |
| Newsgroups | gnu.groff.bug |
| Subject | [bug #57616] explicit hyphenation given in tmac/hyphenex.us violated |
| Date | Mon, 27 Jan 2020 23:28:17 -0500 (EST) |
| Lines | 47 |
| Approved | bug-groff@gnu.org |
| 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> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain;charset=UTF-8 |
| X-Trace | usenet.stanford.edu 1580185701 14602 209.51.188.17 (28 Jan 2020 04:28:21 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | Dave <saint.snit@gmail.com>, bug-groff@gnu.org |
| Envelope-to | bug-groff@gnu.org |
| X-PHP-Originating-Script | 1001:sendmail.php |
| X-Savane-Server | savannah.gnu.org:443 [2001:470:142:5::79] |
| X-Savane-Project | groff |
| X-Savane-Tracker | bugs |
| X-Savane-Item-ID | 57616 |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 |
| X-Apparently-From | 2605:a601:aac3:e300:55b7:e0e9:96ca:b482 (Savane authenticated user barx) |
| In-Reply-To | <20200118-022209.sv93119.29169@savannah.gnu.org> |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] |
| X-Received-From | 209.51.188.79 |
| X-BeenThere | bug-groff@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | "Bug reports for the GNU version of nroff, troff et al" <bug-groff.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-groff> |
| List-Post | <mailto:bug-groff@gnu.org> |
| List-Help | <mailto:bug-groff-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20200127-222817.sv93119.6180@savannah.gnu.org> |
| X-Mailman-Original-References | <20200116-231212.sv93119.34933@savannah.gnu.org> <20200118-022209.sv93119.29169@savannah.gnu.org> |
| Xref | csiph.com gnu.groff.bug:1696 |
Show key headers only | View raw
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