[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3

mmt Command

Purpose

Typesets documents.

Syntax

mmt [ -M Media ] [ -a ] [ -c ] [ -e ] [ -g ] [ -p ] [ -t ] [ -z ] [ -TName | -DDestination ] [ File | - ]

Description

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:

  1. The -z flag; no postprocessor is used.
  2. The -TName flag.
  3. The TYPESETTER environment variable is read.
  4. The default is set to ibm3816.

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.

Flags

-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:
A4
Specifies a paper size of 8.27 X 11.69 inches (210 X 297 mm).
A5
Specifies a paper size of 5.83 X8.27 inches (148 X 210 mm).
B5
Specifies a paper size of 6.93 X 9.84 inches (176 X 250 mm).
EXEC
Specifies a paper size of 7.25 X 10.5 inches (184.2 X 266.7 mm).
LEGAL
Specifies a paper size of 8.5 X 14 inches (215.9 X 355.6 mm).
LETTER
Specifies a paper size of 8.5 X 11 inches (215.9 X 279.4 mm). This is the default value.

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:
ibm3812
3812 Pageprinter II.
ibm3816
3816 Pageprinter.
hplj
Hewlett-Packard LaserJet II.
ibm5587G
5587-G01 Kanji Printer multi-byte language support.
psc
PostScript printer.
X100
AIXwindows display.
- Forces input to be read from standard input.

Related Information

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.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]