groff
[Top][All Lists]
Advanced

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

Re: *roff hyphenation trivia challenge


From: Tadziu Hoffmann
Subject: Re: *roff hyphenation trivia challenge
Date: Tue, 2 Apr 2024 21:24:14 +0200
User-agent: Mutt/1.11.4 (2019-03-13)

> I prefer groff's behaviour because I don't ever want correct
> hyphenation points to be ignored. Using \% is almost always a
> correction to the hyphenation logic.

Groff's current behavior is weirdly inconsistent.
It already *does* ignore correct hyphenation points,
namely before the first "\%" (but allows them afterward).
Except if the word *starts* with "\%" and does not contain
any other "\%", in which case hyphenation is entirely
suppressed in the whole word.

My concern is that if "\%" only allows specifying
*additional* hyphenation points, then we have no method
of forbidding hyphenation points that the patterns
incorrectly allow.  (Unless you count weird tricks like
inserting "\h'0p'" that could mess with the kerning.)





reply via email to

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