groff
[Top][All Lists]
Advanced

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

Re: documentation of hyphenation


From: John Gardner
Subject: Re: documentation of hyphenation
Date: Sun, 14 Jun 2020 14:40:44 +1000

Why are we using Info, again? Was it because of GNU policy? Or is there a
more compelling reason as to why we're maintaining two different versions
of the same documentation?

On Sun, 14 Jun 2020 5:42 am Doug McIlroy <doug@cs.dartmouth.edu> wrote:

> groff(7) doesn't tell what the hyphenation modes are.
> It directs you to info for the "gory details".
> But info doesn't tell everything either. It omits .hy 0ยท
>
> Mode bits 2, 4, and 8 turn off certain hyphenations.
> A literal reading of info would have .hy 0 turn them on.
>
> Since groff(7) is otherwise so complete, I'd love to see
> it fixed. That can be done succinctly, and more accurately
> than info, as follows
>
> .hy     same as .hy 1
> .hy 0   turn hyphenation off
> .hy N   turn hyphenation on, modified by some bits of N:
>         2 don't hyphenate across page boundaries
>         4 don't hyphenate first two letters of a word
>         8 don't hyphenate last two letters of a word
>
> Doug
>
>


reply via email to

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