troff(1M) troff(1M)
NAME
troff - text formatting and typesetting
SYNOPSIS
troff [option ...] [file ...]
DESCRIPTION
troff formats text in the named file for printing on a laser printer
or phototypesetter.
If no file argument is present, the standard input is read. An argu-
ment consisting of a single minus (-) is taken to be a file name cor-
responding to the standard input.
OPTIONS
The options, which may appear in any order so long as they appear
before the files, are:
-olist Prints pages in the comma-separated list of numbers and
ranges. A range N - M means N through M; initial -M means up
to M; final N- means from N to the end.
-nN Number first generated page N.
-mname Prepends the macro file /usr/lib/tmac/tmac.name to the input
files.
-raN Sets register a (one character name) to N.
-i Reads standard input after the input files are exhausted.
-q Invokes the simultaneous input-output mode of the .rd request.
-z Produces no output: diagnostics and .tm messages only.
-a Sends a printable ASCII approximation of the results to the
standard output.
-Tname Prepares output for typesetter name. The default name is post.
FILES
/usr/lib/tmac/tmac.* standard macro files
/usr/lib/font/dev*/* font width tables
/usr/tmp/trtmp* temporary file
Page 1 Reliant UNIX 5.44 Printed 11/98
troff(1M) troff(1M)
SEE ALSO
dpost(1M), eqn(1M), grap(1M), nroff(1M), pic(1M), tbl(1M), font(5),
troff(5).
REFERENCES
J. F. Ossanna, Nroff/Troff User's Guide
B. W. Kernighan, A Typesetter-Independent Troff
B. W. Kernighan, A Troff Tutorial
D. Dougherty, T. O'Reilly, UNIX TEXT PROCESSING, Hayden Books, Indi-
anapolis, Indiana 46268 USA, ISBN 0-672-46291-5
Page 2 Reliant UNIX 5.44 Printed 11/98