groff
[Top][All Lists]
Advanced

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

mechanism to inhibit adding new hyphens to hyphenated words?


From: Dave Kemper
Subject: mechanism to inhibit adding new hyphens to hyphenated words?
Date: Mon, 17 Aug 2020 16:20:41 -0500

Hi,

If hyphenation is enabled, groff will split a line and add a hyphen to
a word that already contains a hyphen.  The compound adjective
"peculiar-looking," for example, might get split as

pecu-
liar-looking

peculiar-look-
ing

This is subpar style, and I'd like to know if there's a way to tell
groff not to add hyphens to words already containing hyphens, without
inhibiting hyphenation of all other words.  (I haven't tried these
features in Heirloom troff, but it appears its .nhychar and .breakchar
requests enable this restriction.)  Thanks for any ideas.



reply via email to

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