O'Reilly logo

Linux in a Nutshell, Fourth Edition by Aaron Weber, Stephen Figgins, Ellen Siever

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

groff

Synopsis

                  groff [options] [files]
troff [options] [files]

Frontend to the groff document-formatting system, which normally runs troff along with a postprocessor appropriate for the selected output device. Options without arguments can be grouped after a single dash (-). A filename of - denotes standard input.

Options

-a

Generate an ASCII approximation of the typeset output.

-b

Print a backtrace.

-C

Enable compatibility mode.

-d cs, -d name = s

Define the character c or string name to be the string s.

-e

Preprocess with eqn, the equation formatter.

-E

Don’t print any error messages.

-f fam

Use fam as the default font family.

-F dir

Search dir for subdirectories with DESC and font files before the default /usr/lib/groff/font.

-h

Print a help message.

-i

Read standard input after all files have been processed.

-l

Send the output to a print spooler (as specified by the print command in the device description file).

-L arg

Pass arg to the spooler. Each argument should be passed with a separate -L option.

-m name

Read the macro file tmac.name.

-M dir

Search directory dir for macro files before the default directory /usr/lib/groff/tmac.

-n num

Set the first page number to num.

-N

Don’t allow newlines with eqn delimiters; equivalent to eqn’s -N option.

-o list

Output only pages specified in list, a comma-separated list of page ranges.

-p

Preprocess with pic.

-P arg

Pass arg to the postprocessor. Each argument should be passed with a separate -P option.

-r cn, - name = n

Set the number ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required