интерфейс для системы форматирования документов GNU roff (front end to the GNU roff document formatting system)
Окружение (Environment)
Normally, the path separator in the following environment
variables is the colon; this may vary depending on the operating
system. For example, DOS and Windows use a semicolon instead.
GROFF_BIN_PATH
This search path, followed by PATH, is used for commands
that are executed by groff. If it is not set then the
directory where the groff binaries were installed is
prepended to PATH.
GROFF_COMMAND_PREFIX
When there is a need to run different roff implementations
at the same time groff provides the facility to prepend a
prefix to most of its programs that could provoke name
clashings at run time (default is to have none).
Historically, this prefix was the character g
, but it can
be anything. For example, gtroff stood for groff's troff,
gtbl for the groff version of tbl. By setting
GROFF_COMMAND_PREFIX to different values, the different
roff installations can be addressed. More exactly, if it
is set to prefix xxx then groff as a wrapper program
internally calls xxxtroff
instead of troff. This also
applies to the preprocessors eqn, grn, pic, refer, tbl,
soelim, and to the utilities indxbib and lookbib. This
feature does not apply to any programs different from the
ones above (most notably groff itself) since they are
unique to the groff package.
GROFF_ENCODING
The value of this environment value is passed to the
preconv preprocessor to select the encoding of input
files. Setting this option implies groff's command-line
option -k
(this is, groff actually always calls preconv).
If set without a value, groff calls preconv without
arguments. An explicit -K
command-line option overrides
the value of GROFF_ENCODING. See preconv(1) for details.
GROFF_FONT_PATH
A list of directories in which to seek the selected output
device's directory of device and font description files.
See troff(1) and groff_font(5).
GROFF_TMAC_PATH
A list of directories in which to seek macro files. See
troff(1) and groff_tmac(5).
GROFF_TMPDIR
The directory in which temporary files are created. If
not set, but the environment variable TMPDIR is set,
temporary files are created there instead. On MS-DOS and
Windows platforms, if neither of the foregoing are set,
the environment variables TMP and TEMP (in that order) are
checked also. Otherwise, temporary files are created in
/tmp. The refer(1), grohtml(1), and grops(1) commands use
temporary files.
GROFF_TYPESETTER
Set the default output device. If empty or not set, 'ps
'
is used. The -T
option overrides GROFF_TYPESETTER.
SOURCE_DATE_EPOCH
A timestamp (expressed as seconds since the Unix epoch) to
use as the creation timestamp in place of the current
time. The time is converted to human-readable form using
ctime(3) when the formatter starts up and stored in
registers usable by documents and macro packages.
TZ The time zone to use when converting the current time (or
value of SOURCE_DATE_EPOCH) to human-readable form; see
tzset(3).