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

Commands Reference, Volume 3


mant Command

Purpose

Typesets manual pages.

Syntax

mant [ -M Media ] [ -a ] [ -c ] [ -e ] [ -t ] [ -z ] [ -T Name ] [ troffFlags ] [ File ... | - ]

Description

The mant command uses the manual page macros (man macro package) to typeset manual pages. The File parameter specifies the files to be processed by the mant command. Files must be displayed after all flags. If no file name is specified, the mant command prints a list of its flags. If a - (minus sign) is specified for the File parameter, standard input is read.

The mant command has flags to specify preprocessing by the tbl command, cw command, or eqn command. Flags from the troff command can be specified with the troffFlags parameter.

If the input contains a troff command comment line consisting solely of the string '\" x (single quotation mark, backslash, double quotation mark, x), where x is any combination of the three letters c, e, and t, and where there is exactly one character space between the double quotation mark and x, then the input is processed through the appropriate combination of the cw command, eqn command, and tbl command, respectively, regardless of the command-line options.

Note: Use the -oList flag of the troff command to specify ranges of pages to be output. Calling the mant command with one or more of the -c flag, -e flag, -t flag, and - (minus) flags together with the -oList flag of the troff command, give 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.

The mant command, unlike the troff command, automatically pipes its output to a specific postprocessor, according to the following flags, environment variable, or default setting unless specifically requested not to do so:

-z Indicates that no postprocessors are used.
-TName Prepares the output for the printing device specified by the Name variable.
TYPESETTER Specifies a particular printing device for the system environment.
default Sends to ibm3816.

Flags, other than the ones in the following list, are passed to the troff command or to the macro package, as appropriate. All flags must be displayed before the specified file names.

Flags

All flags must appear before the specified file names.

-a Calls the -a flag of the troff command.
-c Preprocesses the input files with the cw command.
-e Preprocesses the input files with the eqn command.
-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.3 X 11.7 inches (210 X 297 mm).

A5
Specifies a paper size of 5.83 X 8.27 inches (148 X 210 mm).

B5
Specifies a paper size of 6.9 X 9.8 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.
-t Preprocesses the input files with the tbl command.
-z Prepares the output without the postprocessor.
-TName Prepares the output for the specified printing device. 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, nroff command, tbl command, tc command, troff command.


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