Skip to contentSkip to conversation

localedef.1: ffix

PATCH In review G. Branden Robinson 1 participant 1 message Feb 9, 2023 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 12/20 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.)

---
 man1/localedef.1 | 4 ----
 1 file changed, 4 deletions(-)
man1/localedef.1 +0 -4
index 6551a5816..93217bfae 100644
@@ -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
Signature · 1 line
2.30.2