[PATCH 12/20] localedef.1: ffix

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

 



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@xxxxxxxxx>
---
 man1/localedef.1 | 4 ----
 1 file changed, 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
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux