localedef.1: ffix
commit4a820ce9717704d8c582b30732fd97016605d4f2
authorG. Branden Robinson <g.branden.robinson@gmail.com>
Thu, 9 Feb 2023 18:10:45 +0000 (9 12:10 -0600)
committerAlejandro Colomar <alx@kernel.org>
Fri, 10 Feb 2023 01:32:33 +0000 (10 02:32 +0100)
treee13150b27566f8fd934f4e4b539e438c2c2ad396
parent68635d9323568e9de671d48ad5e57bd008c135b5
localedef.1: ffix

Stop manipulating adjustment and hyphenation.

Forcibly re-enabling adjustment to both margins after the synopsis does
not respect user configuration of adjustment.  There _is_ a portable way
to save the adjustment mode, via the .j register and a copy of it, but
doing so requires even more usage of low-level requests that are
discouraged in man page writing.

The latter is incorrect for use with groff(1) since '.hy' does not
restore the previous hyphenation mode but sets it to 1, which is not
appropriate for the English-language hyphenation patterns groff uses.
(Also, AT&T man(7) used a hyphenation mode of 14.)

Neither of these requests is respectful of user configuration of
adjustment or hyphenation enablement.  Features in the forthcoming
groff 1.23 will make these easier for users to manipulate to their
preference.

(mandoc(1) does not support configurable adjustment or hyphenation, so
all of these requests are no-ops for it.)

Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man1/localedef.1