MMT(1)

NAME
mmt - typeset document with MM macros

SYNOPSIS
mmt [ options []] [ files []]

DESCRIPTION
The mmt command formats input using the troff(1) text formatter and the MM macro package. There are options to specify preprocessing by eqn(1), tbl(1), pic(1), and/or grap(1). The proper pipelines and the required arguments and flags for troff and for the macro package are generated, depending on the options selected.

Options specific to mmt are given below. Any other arguments or flags (e.g., [-o list )] 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 will print a list of its options.

[-e]
invokes
    eqn; also causes eqn to read the file (see eqnchar(5)).
    [-t]
invokes
    tbl.
    [-p]
invokes
    pic.
    [-g]
invokes
    grap, which in turn calls pic.
    [-T type]
creates output for
    troff device type (see troff(1)). Output for a recognized device (post, X97.ti10p, X97.ti12p, i300, pcl) is sent through the appropriate postprocessor for printing. The default device type is post.
    [-D dev]
directs the output to
    device type dev. Supported values for dev are:

    PostScript laser printer Linotronic L200P PostScript-based phototypesetter Imagen 8/300 laser printer Xerox 4050/9700/8700 line printer 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 will read the standard input.

EXAMPLES
To process input with troff and the MM macros, and preview the output on a local PostScript printer:
    mmt -Tpost -Dpost  files
Then, to print that document on the phototypesetter:
    mmt -Tpost -Dlino  files
To process input with tbl, eqn, pic, grap, and troff with the MM macros and send output to an Imagen 8/300 printer via a local spooling command:
    mmt -g -p -t -e -Ti300 -z  files | spool
Note: The [-z] option is needed to allow special postprocessing functions or commands.

DIAGNOSTICS
If none of the arguments is a readable file and the command is not used as a filter.

HINTS
Use the [-o list] option of troff to specify a subset or range of pages to be output. Note, however, that if you call mmt with one or more of the [-e ,] [-t ,] [-p ,] [-g ,] and [-] options together with the [-o list] option of troff, you may cause a harmless ``broken pipe'' diagnostic if the last page of the document is not specified in list.

SEE ALSO
mm(1), mvt(1), troff(1), tbl(1), eqn(1), pic(1), grap(1), eqnchar(5), mm(5)