GROFF_MOM(@MAN7EXT@)

NAME
groff_mom - groff `mom' macros

SYNOPSIS
pdfmom [-Tps [pdfroff options]] [groff options] files ...
groff [-mom] files ...
groff [-m mom] files ...

DESCRIPTION
mom is a macro set for groff, designed primarily to format documents for PDF and PostScript output.

mom provides two categories of macros: macros for typesetting, and macros for document processing. The typesetting macros provide access to groff's typesetting capabilities in ways that are simpler to master than groff's primitives. The document processing macros provide highly customizable markup tags that allow the user to design and output professional-looking documents with a minimum of typesetting intervention.

Files processed with pdfmom (man(@MAN1EXT@) pdfmom ), with or without the -Tps option, produce PDF documents. The documents include a PDF outline that appears in the ‘Contents’ panel of document viewers, and may contain clickable internal and external links.

When -Tps is absent, groff's native PDF driver, gropdf , is used to generate the output. When given, the output is still PDF, but processing is passed over to pdfroff , which uses groff's PostScript driver, grops . Not all PDF features are available when -Tps is given; its primary use is to allow processing of files with embedded PostScript images.

Files processed with groff -mom (or -m mom ) produce PostScript output by default.

mom comes with her own very complete documentation in HTML format. A separate PDF manual, Producing PDFs with groff and mom , covers full mom/PDF usage.

FILES

om.tmac
    – the main macro file
mom.tmac
    – a wrapper file that calls om.tmac directly.

    @HTMLDOCDIR@/mom/toc.html
– entry point to the HTML documentation

@PDFDOCDIR@/mom-pdf.pdf
    – the PDF manual, Producing PDFs with groff and mom

@EXAMPLEDIR@/mom/*.mom
    – example files using mom

AUTHOR
mom was written by Peter Schaffter (peter@schaffter.ca).
PDF support was provided by Deri James (deri@chuzzlewit.demon.co.uk).

Please send bug reports to the groff-bug mailing list (bug-groff@gnu.org) or directly to the authors.