MM(1) DOMAIN/IX Reference Manual (SYS5) MM(1)
NAME
mm - print out documents formatted with the MM macros
USAGE
mm [ options ] [ files ]
DESCRIPTION
Mm can be used to type out documents using nroff (1) and the
MM text-formatting macro package. It has options to specify
preprocessing by tbl (1) and/or neqn (1) and postprocessing
by various terminal-oriented output filters. The proper
pipelines and the required arguments and flags for nroff (1)
and the MM macros are generated, depending on the options
selected.
The valid options are given below. Any other arguments or
flags (e.g., -rC3) are passed to nroff (1) or to the MM
macro package as appropriate. Such options can occur in any
order, but they must appear before the files arguments. If
no arguments are given, mm prints a list of its options.
Mm reads the standard input when a dash (-) is specified
instead of any filenames. This option allows mm to be used
as a filter, e.g.:
cat dws | mm -
OPTIONS
-Tterm Specify the type of output terminal. For a
list of recognized values for term, type help
term2. If this option is not used, mm uses
the value of the Shell variable $TERM from
the environment as the value of term if $TERM
is set. Refer to profile (5) and environ (5)
for more information. Otherwise, mm uses 450
as the value of term. If several terminal
types are specified, the last one takes pre-
cedence.
-12 Produce the document in 12 pitch. This
option may be used when $TERM is set to one
of the following: 300, 300s, 450, and 1620.
(The pitch switch on the DASI 300 and 300s
terminals must be manually set to 12 if this
option is used.)
-c Invoke col (1). This is done automatically,
unless term is one of the following: 300,
300s, 450, 37, 4000A, 382, 4014, tek, 1620,
and X.
-e Invoke neqn (1).
Printed 6/10/85 MM-1
MM(1) DOMAIN/IX Reference Manual (SYS5) MM(1)
-t Invoke tbl (1).
-E Invokes the -e option of nroff (1).
-y Use the non-compacted version of the macros.
EXAMPLES
Assuming that the Shell variable $TERM is set in the
environment to 450, the two command lines below are
equivalent:
mm -t -rC3 -12 ghh*
tbl ghh* | nroff -cm -T450-12
CAUTIONS
Mentioning other files along with the dash (-) that denotes
standard input produces unfavorable results.
Mm invokes nroff (1) with the -h flag. With this flag,
nroff (1) assumes that the terminal has tabs set every eight
character positions.
Use the -olist option of nroff (1) to specify ranges of
pages to be output. Note, however, that invoking mm with
one or more of the -e, -t, and - options, together with the
-olist option of nroff (1), may cause a harmless ``broken
pipe'' diagnostic if the last page of the document is not
specified in list.
If you use the -s option of nroff (1) to stop between pages
of output, use line-feed rather than return or newline to
restart the output. The -s option of nroff (1) does not
operate properly with the -c option of mm, or if mm automat-
ically invokes col (1).
If you do not correctly specify the type of terminal on
which the output of mm is to be printed, you will probably
get a garbage message back. However, if you are redirecting
output into a file, use the -T37 option, and then use the
appropriate terminal filter when you actually print that
file.
DIAGNOSTICS
``mm: no input file''
None of the arguments is a readable file and
mm is not used as a filter
RELATED INFORMATION
col (1), env (1), eqn (1), mmt (1), nroff (1), tbl (1).
DOMAIN/IX Text Processing Guide.
MM-2 Printed 6/10/85