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:
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.
The cw command, eqn command, nroff command, tbl command, tc command, troff command.