[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mechanism to inhibit adding new hyphens to hyphenated words?
From: |
Ralph Corderoy |
Subject: |
Re: mechanism to inhibit adding new hyphens to hyphenated words? |
Date: |
Tue, 18 Aug 2020 08:02:53 +0100 |
Hi Dave,
> 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.
Yes, prefix the word with `\%'.
$ nroff
.pl 4
.ll 18n
I I peculiar-looking
.br
I I \%peculiar-looking
^D
I I peculiar‐look‐
ing
I I
peculiar‐looking
$
See:
info groff 'Manipulating Hyphenation' | less
--
Cheers, Ralph.