0% found this document useful (0 votes)
65 views2 pages

Xag

The document discusses various options for the nroff and groff command line programs for formatting and displaying manual pages, including options to specify encodings, disable hyphenation and justification, select preprocessors, output to troff or specific devices, and view output as HTML or graphically. It provides details on each option like implied behaviors, environment variables overridden, and examples of device names for the -T option.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views2 pages

Xag

The document discusses various options for the nroff and groff command line programs for formatting and displaying manual pages, including options to specify encodings, disable hyphenation and justification, select preprocessors, output to troff or specific devices, and view output as HTML or graphically. It provides details on each option like implied behaviors, environment variables overridden, and examples of device names for the -T option.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

rs and this option is not necessary.

If the latin1 and ascii columns are identical, you are reading
this page using this option or man did not format this page us‐
ing the latin1 device description. If the latin1 column is
missing or corrupt, you may need to view manual pages with this
option.

This option is ignored when using options -t, -H, -T, or -Z and
may be useless for nroff other than GNU's.

-E encoding, --encoding=encoding
Generate output for a character encoding other than the default.
For backward compatibility, encoding may be an nroff device such
as ascii, latin1, or utf8 as well as a true character encoding
such as UTF-8.

--no-hyphenation, --nh
Normally, nroff will automatically hyphenate text at line breaks
even in words that do not contain hyphens, if it is necessary to
do so to lay out words on a line without excessive spacing.
This option disables automatic hyphenation, so words will only
be hyphenated if they already contain hyphens.

If you are writing a manual page and simply want to prevent


nroff from hyphenating a word at an inappropriate point, do not
use this option, but consult the nroff documentation instead;
for instance, you can put "\%" inside a word to indicate that it
may be hyphenated at that point, or put "\%" at the start of a
word to prevent it from being hyphenated.

--no-justification, --nj
Normally, nroff will automatically justify text to both margins.
This option disables full justification, leaving justified only
to the left margin, sometimes called "ragged-right" text.

If you are writing a manual page and simply want to prevent


nroff from justifying certain paragraphs, do not use this op‐
tion, but consult the nroff documentation instead; for instance,
you can use the ".na", ".nf", ".fi", and ".ad" requests to tem‐
porarily disable adjusting and filling.

-p string, --preprocessor=string
Specify the sequence of preprocessors to run before nroff or
troff/groff. Not all installations will have a full set of pre‐
processors. Some of the preprocessors and the letters used to
designate them are: eqn (e), grap (g), pic (p), tbl (t), vgrind
(v), refer (r). This option overrides the $MANROFFSEQ environ‐
ment variable. zsoelim is always run as the very first pre‐
processor.

-t, --troff
Use groff -mandoc to format the manual page to stdout. This op‐
tion is not required in conjunction with -H, -T, or -Z.

-T[device], --troff-device[=device]
This option is used to change groff (or possibly troff's) output
to be suitable for a device other than the default. It implies
-t. Examples (provided with Groff-1.17) include dvi, latin1,
ps, utf8, X75 and X100.
-H[browser], --html[=browser]
This option will cause groff to produce HTML output, and will
display that output in a web browser. The choice of browser is
determined by the optional browser argument if one is provided,
by the $BROWSER environment variable, or by a compile-time de‐
fault if that is unset (usually lynx). This option implies -t,
and will only work with GNU troff.

-X[dpi], --gxditview[=dpi]
This option displays the output of groff in a graphical

You might also like