mmt(1M) mmt(1M)
NAME
mmt, mvt - typeset document with mm/mv macros
SYNOPSIS
mmt [options] files
mvt [options] files
DESCRIPTION
The mmt and mvt commands are identical and both format their input
using the troff(1M) text formatter. However, the mmt commands uses the
mm(5) macro package, while the mvt commands uses the mv(5) macro pack-
age. There are options to specify preprocessing by eqn(1M) and/or
tbl(1M) and/or pic(1M) and/or grap(1M). The proper pipelines and the
required arguments and flags for troff and for the macro package are
generated, depending on the options selected.
OPTIONS
options specific to mmt and mvt are given below. Any other arguments
or flags (e.g. -olist) are passed to troff. You can put options in any
order, but they must appear before any files. If you give no arguments
or files, mmt and mvt will print a list of its options.
-e invokes eqn; also causes eqn to read the /usr/pub/eqnchar
file [see eqnchar(5)].
-t invokes tbl.
-p invokes pic.
-g invokes grap, which in turn calls pic.
-Ttype creates output for troff device type [see troff(1M)]. Output
for a recognized device (post, X97.ti10p, X97.ti12p, i300,
i10, pcl) is sent through the appropriate postprocessor for
printing. The default device type is post.
-Ddev directs the output to device type dev. Supported values for
dev are:
post PostScript laser printer
lino Linotronic L200P PostScript-based phototypesetter at
MH
i10 Imagen Imprint-10 laser printer
i300 Imagen 8/300 laser printer
xrx Xerox 4050/8700/9700 printer
hp Hewlett-Packard LaserJet printer
-z invokes no output filter to process or redirect the output
of troff.
When you specify - instead of any files, mmt and mvt will read the
Page 1 Reliant UNIX 5.44 Printed 11/98
mmt(1M) mmt(1M)
standard input.
NOTE
Use the -olist option of troff to specify a subset or range of pages
to be output. Note, however, that if you call mmt or mvt with one or
more of the -e, -t, -p, -g, and - options together with the -olist
option of troff, you may cause a harmless "broken pipe" diagnostic if
the last page of the document is not specified in list.
EXAMPLES
To process input with troff and the mm macros, and preview the output
on a local PostScript printer:
mmt -Tpost -Dpost filename
Then, to print that document on the phototypesetter:
mmt -Tpost -Dlino filename
To process input with troff and the mv macros, and generate view graph
copies on a local PostScript printer:
mvt -Tpost -Dpost filename
To process input with tbl, eqn, pic, grap, and troff with the mm mac-
ros with a base point size of 10 and send output to the centralized
Xerox 4050 printer at your location:
mmt -g -p -t -e -TX97.ti10p -Dxrx filename
To process input with tbl and troff using the mv macros and generate
view graph copies on your Imagen 8/300 printer via a local spooling
command:
mvt -t -Ti300 -z | spool -dhoney
Note: The -z option is needed to allow special postprocessing func-
tions or commands.
DIAGNOSTICS
"mmt: no input file" or "mvt: no input file"
if none of the arguments is a readable file and the command is
not used as a filter.
SEE ALSO
mm(1M), troff(1M), mm(5), mv(5).
Page 2 Reliant UNIX 5.44 Printed 11/98