mmt [ -M Media ] [ -a ] [ -c ] [ -e ] [ -g ] [ -p ] [ -t ] [ -z ] [ -TName | -DDestination ] [ File | - ]
Similar to the mm command, the mmt command typesets its input using the troff command, rather than formatting it with the nroff command. The mmt command uses the mm macro package. There are flags to specify preprocessing by the tbl, pic, eqn, and grap commands. The proper pipelines, required parameters, and flags for the troff command and the mm macro package are generated, depending on the flags selected.
There are several flags that are specific to the mmt command. Any other parameters or flags (for instance, -rANumber or -a) that you give the mmt command are passed to the troff command. You can put flags in any order, but they must be listed before any input files. File specifies the file that the mmt command formats. If you do not give File parameters or other flag variables, the mmt command prints a list of its flags.
The mmt command, unlike the troff command, automatically pipes its output to a postprocessor, unless specifically requested not to do so. The user should not specify a postprocessor when using the mmt command. The precedence is as follows:
The mmt command reads standard input when you specify a - (minus sign) instead of any File parameters.
Use the -oList flag of the troff command to specify ranges of pages to be output.
Note: If you call the mmt command with one or more of the -e, -c, -t, -p, -g, and - (minus sign) flags together with the -oList flag of the troff command, you may receive a broken pipe message if the last page of the document is not specified by the List variable. This broken pipe message is not an indication of any problem and can be ignored.
|-M Media||Specifies a paper size in order to determine the amount of imageable area
on the paper. Valid values for the Media variable are:
Note: The Media variable is not case sensitive.
|-a||Displays readable troff output to the terminal.|
|-c||Preprocesses the input files with the cw command.|
|-e||Calls the eqn command; also causes the eqn command to read the /usr/share/lib/pub/eqnchar file (see the eqnchar file format).|
|-g||Calls the grap command, which in turn calls the pic command.|
|-p||Calls the pic command.|
|-t||Calls the tbl command.|
|-z||Starts no output filter to process or redirect the output of the troff command.|
|-DDestination||Directs the output to a device specified by the Destination variable. Supported destination devices for English-language output is 4014, which is the Tektronix 4014 terminal by way of the tc command.|
|-TName||Creates output for a troff device as specified by the Name variable. The output is sent through the appropriate postprocessor.. The default value is ibm3816. Possible Name variables are:|
|-||Forces input to be read from standard input.|
The cw command, eqn command, grap command, mm command, mvt command, pic command, tbl command, tc command, troff command.
The eqnchar file format contains special character definitions for the eqn and neqn commands.
The article "mm Macro Package for the mm, mmt, nroff, and troff Commands" in the troff Command.