Typesets manual pages.
mant [ -M Media ] [ -a ] [ -c ] [ -e ] [ -t ] [ -z ] [ -T Name ] [ troffFlags ] [ File ... | - ]
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.
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:
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:
|-||Forces input to be read from standard input.|
The cw command, eqn command, nroff command, tbl command, tc command, troff command.