summaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-06-22 20:34:13 +0100
committerColin Watson <cjwatson@debian.org>2020-06-22 20:40:28 +0100
commit750beaa58418af12490feb24ec84ca95bcd8f6c1 (patch)
tree02a0fa89ee18430a3cd21963dbcfced7ff7e2c8f /man/man1
parenta9b5df45432044e5dc0457290b3bb8c2855d901e (diff)
Avoid po4a confusion with \c
po4a >= 0.58 (I think) changes its handling of \c slightly, resulting in incorrect output for the admittedly awkward uses of \c in man(1). Rearrange markup to avoid this. * man/man1/man.man1 (OVERVIEW): Recast description of the syntax of locale environment variables using \f[BIR] rather than .B/.RI and \c. (Controlling formatted output): Coalesce markup for the default prompt into a single .BI macro, avoiding the need for \c. Unfuzzy most translations. * NEWS: Document this.
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/man.man118
1 files changed, 5 insertions, 13 deletions
diff --git a/man/man1/man.man1 b/man/man1/man.man1
index f88d9a32..7aafd3d1 100644
--- a/man/man1/man.man1
+++ b/man/man1/man.man1
@@ -316,16 +316,10 @@ locale, usually specified in the
.B POSIX
format:
-.\"
-.\" Need a \c to make sure we don't get a space where we don't want one
-.\"
-.RI < language >[\|\c
-.B _\c
-.RI < territory >\|[\|\c
-.B .\c
-.RI < character-set >\|[\|\c
-.B ,\c
-.RI < version >\|]\|]\|]
+<\fIlanguage\fR>\
+[\|\fB_\fR<\fIterritory\fR>\|\
+[\|\fB.\fR<\fIcharacter-set\fR>\|\
+[\|\fB,\fR<\fIversion\fR>\|]\|]\|]
If the desired page is available in your
.IR locale ,
@@ -775,9 +769,7 @@ is used as the pager,
will attempt to set its prompt and some sensible options.
The default prompt looks like
-.B \ Manual page\c
-.IB \ name ( sec )\c
-.BI \ line \ x
+.BI " Manual page" " name" ( sec ") line" " x"
where
.I name