summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-09 12:10:45 -0600
committerAlejandro Colomar <alx@kernel.org>2023-02-10 02:32:33 +0100
commit4a820ce9717704d8c582b30732fd97016605d4f2 (patch)
treee13150b27566f8fd934f4e4b539e438c2c2ad396
parent68635d9323568e9de671d48ad5e57bd008c135b5 (diff)
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>
-rw-r--r--man1/localedef.14
1 files changed, 0 insertions, 4 deletions
diff --git a/man1/localedef.1 b/man1/localedef.1
index 6551a5816..93217bfae 100644
--- a/man1/localedef.1
+++ b/man1/localedef.1
@@ -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