[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 04/04: man pages: Protect env variables from hyphenation.
From: |
G. Branden Robinson |
Subject: |
[groff] 04/04: man pages: Protect env variables from hyphenation. |
Date: |
Tue, 13 Nov 2018 21:59:21 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 2c2a2855ae3b98e0ca9ed4b7254649766929e511
Author: G. Branden Robinson <address@hidden>
Date: Tue Nov 13 18:13:29 2018 -0500
man pages: Protect env variables from hyphenation.
* src/devices/grotty/grotty.1.man:
* src/preproc/preconv/preconv.1.man:
* src/roff/nroff/nroff.1.man:
* src/utils/lkbib/lkbib.1.man:
Suppress hyphenation of environment variables in running prose.
Not necessary in examples (if .EX/.EE are used), when the
variables are .TP or .TQ paragraph tags, or when groff wouldn't
hyphenate them anyway.
(In exciting trivia, none of:
GROFF_BIN_PATH
GROFF_FONT_PATH
GROFF_NO_SGR
GROFF_TMAC_PATH
GROPDF_NOSLIDE
HOME
LANG
LC_ALL
LC_CTYPE
MANOPT
PAGER
PATH
SHOW_PROGRESS
SOURCE_DATE_EPOCH
TEMP
TMP
have hyphenation points according to groff.)
Signed-off-by: G. Branden Robinson <address@hidden>
---
src/devices/grotty/grotty.1.man | 2 +-
src/preproc/preconv/preconv.1.man | 2 +-
src/roff/nroff/nroff.1.man | 2 +-
src/utils/lkbib/lkbib.1.man | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/devices/grotty/grotty.1.man b/src/devices/grotty/grotty.1.man
index 35ec5db..72da2b4 100644
--- a/src/devices/grotty/grotty.1.man
+++ b/src/devices/grotty/grotty.1.man
@@ -164,7 +164,7 @@ in a similar fashion.
Note that with some
.BR man (1)
versions, you have to use the
-.I MANPAGER
+.I \%MANPAGER
environment variable instead.
.
.
diff --git a/src/preproc/preconv/preconv.1.man
b/src/preproc/preconv/preconv.1.man
index ba61af3..457981f 100644
--- a/src/preproc/preconv/preconv.1.man
+++ b/src/preproc/preconv/preconv.1.man
@@ -169,7 +169,7 @@ by the current locale, or \[oq]latin1\[cq] if the locale is
set to
Note that the
.B groff
program supports a
-.I GROFF_ENCODING
+.I \%GROFF_ENCODING
environment variable which is eventually expanded to option
.BR \-k .
.
diff --git a/src/roff/nroff/nroff.1.man b/src/roff/nroff/nroff.1.man
index a6e9c17..6aacd90 100644
--- a/src/roff/nroff/nroff.1.man
+++ b/src/roff/nroff/nroff.1.man
@@ -108,7 +108,7 @@ and
any others are ignored.
.
If neither the
-.I GROFF_TYPESETTER
+.I \%GROFF_TYPESETTER
environment variable nor the
.B \-T
command-line option (which overrides the environment variable)
diff --git a/src/utils/lkbib/lkbib.1.man b/src/utils/lkbib/lkbib.1.man
index d4213a4..566900c 100644
--- a/src/utils/lkbib/lkbib.1.man
+++ b/src/utils/lkbib/lkbib.1.man
@@ -64,7 +64,7 @@ will search any databases given by
options, and then a default database.
.
The default database is taken from the
-.I REFER
+.I \%REFER
environment variable if it is set,
otherwise it is
.IR @DEFAULT_INDEX@ .
@@ -143,7 +143,7 @@ Default database.
.TP
.I @DEFAULT_INDEX@
Default database to be used if the
-.I REFER
+.I \%REFER
environment variable is not set.
.
.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 04/04: man pages: Protect env variables from hyphenation.,
G. Branden Robinson <=