]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
localedef.1: ffix
authorG. Branden Robinson <g.branden.robinson@gmail.com>
Thu, 9 Feb 2023 18:10:45 +0000 (12:10 -0600)
committerAlejandro Colomar <alx@kernel.org>
Fri, 10 Feb 2023 01:32:33 +0000 (02:32 +0100)
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

index 6551a581681f6da7af68ba6694d90633c3faf2d9..93217bfae89b3eab95e38263c8978d8544ebe546 100644 (file)
@@ -16,8 +16,6 @@
 .SH NAME
 localedef \- compile locale definition files
 .SH SYNOPSIS
-.ad l
-.nh
 .B localedef
 .RI [ options ]
 .I outputpath
@@ -38,8 +36,6 @@ localedef \- compile locale definition files
 .B "localedef \-\-usage"
 .br
 .B "localedef \-\-version"
-.ad b
-.hy
 .SH DESCRIPTION
 The
 .B localedef