GROFF_MOM(7)GROFF_MOM(7)NAMEgroff_mom - groff `mom' macros
pdfmom [-Tps [pdfroff options]] [groff options] files ...
groff [-mom] files ...
groff [-m mom] files ...
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 pro‐
fessional-looking documents with a minimum of typesetting intervention.
Files processed with pdfmom (man(1) 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 con‐
tain clickable internal and external links.
When -Tps is absent, groff's native PDF driver, gropdf, is used to gen‐
erate 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
mom comes with her own very complete documentation in HTML format. A
separate PDF manual, Producing PDFs with groff and mom, covers full
– the main macro file
– a wrapper file that calls om.tmac directly.
– entry point to the HTML documentation
– the PDF manual, Producing PDFs with groff and mom
– example files using mom
mom was written by Peter Schaffter ⟨email@example.com⟩.
PDF support was provided by Deri James ⟨firstname.lastname@example.org⟩.
Please send bug reports to the groff-bug mailing list ⟨bug-
email@example.com⟩ or directly to the authors.
Groff Version 1.22.2 7 February 2013 GROFF_MOM(7)