[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] How to show all hyphenation points?
From: |
Ralph Corderoy |
Subject: |
Re: [groff] How to show all hyphenation points? |
Date: |
Thu, 08 Nov 2018 15:16:34 +0000 |
Hi Doug,
> That is trivially handled by
> groff -a
> .ll 1u
> recapitulation
> The result is marrred with "can't break line" diagnostics,
> but it's quick and intelligible.
The warnings can be turned off.
$ printf '%s\n' '.ll 1u' recapitulation |
> nroff -Wbreak |
> sed 'H; $! d; g; s/\n//g'
re‐ca‐pit‐u‐la‐tion
$
I dislike's groff's `-a' approximation of a hyphen, and it telling me a
page is starting.
$ printf '%s\n' '.ll 1u' recapitulation |
> groff -Wbreak -a |
> sed 'H; $! d; g; s/\n//g'
<beginning of page>re<hy>ca<hy>pit<hy>u<hy>la<hy>tion
$
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
Re: [groff] How to show all hyphenation points?, G. Branden Robinson, 2018/11/08