groff
[Top][All Lists]
Advanced

[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 09:39:39 +0100

Hi Dave,

> - preserves the breakability at the hyphen already in the word (\%
> inhibits this)
> - doesn't require locating and adorning every such word in the
> document

Turn hyphenation off?

    $ nroff
    .hy 0
    .pl 4
    .ll 18n
    I I peculiar-looking
    .br
    I I \%peculiar-looking
    ^D
    I    I   peculiar‐
    looking
    I                I
    peculiar‐looking
    $

See CSTR 54, §13.  https://troff.org/54.pdf

    Words that contain hyphens (minus), em-dashes (\(em), or hyphenation
    indicator characters are always subject to splitting after those
    characters, whether automatic hyphenation is on or off.

Or do you want hyphenation on elsewhere?

-- 
Cheers, Ralph.



reply via email to

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