mmroff
Format documents for printing or display
SYNOPSIS
mmroff [options] [file...]
PARAMETERS
-m
Specify additional macro packages to use. For example, `-m me` would include the `me` macro package.
-T
Specify the output device type (e.g., `ps`, `ascii`, `utf8`, `dvi`).
-e
Equate output (makes spaces visible, useful for debugging).
-M
Specify a directory to search for macro files.
-C
Enable compatibility mode.
-U
Disable safe mode.
-h
Display help message.
-v
Display version information.
DESCRIPTION
The `mmroff` command is a shell script that acts as a front-end to the GNU `groff` document formatting system. Specifically, it preprocesses a document containing MM (Memorandum Macros) and then pipes the output to `groff` for final rendering. MM macros provide a higher-level, more structured approach to document formatting compared to basic `roff` commands. This allows for easier creation of consistent and well-formatted documents, particularly technical reports and memoranda. The script handles various aspects of preprocessing, including including necessary macro files and setting up the appropriate groff options. `mmroff` simplifies the use of `groff` by automating the macro loading and processing steps that would otherwise require manual configuration.
USAGE EXAMPLES
Formatting to PostScript:mmroff -T ps mydocument.mm > mydocument.ps
Formatting to ASCII:mmroff -T ascii mydocument.mm > mydocument.txt