1GROFF_MOM(7) Miscellaneous Information Manual GROFF_MOM(7)
2
3
4
6 groff_mom - groff `mom' macros
7
9 pdfmom [-Tps [pdfroff options]] [groff options] files ...
10
11 groff [-mom] files ...
12
13 groff [-m mom] files ...
14
16 mom is a macro set for groff, designed primarily to format documents
17 for PDF and PostScript output.
18
19 mom provides two categories of macros: macros for typesetting, and
20 macros for document processing. The typesetting macros provide access
21 to groff's typesetting capabilities in ways that are simpler to master
22 than groff's primitives. The document processing macros provide highly
23 customizable markup tags that allow the user to design and output pro‐
24 fessional-looking documents with a minimum of typesetting intervention.
25
26 Files processed with pdfmom (man(1) pdfmom), with or without the -Tps
27 option, produce PDF documents. The documents include a PDF outline
28 that appears in the ‘Contents’ panel of document viewers, and may con‐
29 tain clickable internal and external links.
30
31 When -Tps is absent, groff's native PDF driver, gropdf, is used to gen‐
32 erate the output. When given, the output is still PDF, but processing
33 is passed over to pdfroff, which uses groff's PostScript driver, grops.
34 Not all PDF features are available when -Tps is given; its primary use
35 is to allow processing of files with embedded PostScript images.
36
37 Files processed with groff -mom (or -m mom ) produce PostScript output
38 by default.
39
40 mom comes with her own very complete documentation in HTML format. A
41 separate PDF manual, Producing PDFs with groff and mom, covers full
42 mom/PDF usage.
43
45 om.tmac
46 – the main macro file
47 mom.tmac
48 – a wrapper file that calls om.tmac directly.
49
50 ⟨/usr/share/doc/groff-1.22.2/html/mom/toc.html⟩
51 – entry point to the HTML documentation
52
53 /usr/share/doc/groff-1.22.2/pdf/mom-pdf.pdf
54 – the PDF manual, Producing PDFs with groff and mom
55
56 /usr/share/doc/groff-1.22.2/examples/mom/*.mom
57 – example files using mom
58
60 mom was written by Peter Schaffter ⟨peter@schaffter.ca⟩.
61 PDF support was provided by Deri James ⟨deri@chuzzlewit.demon.co.uk⟩.
62
63 Please send bug reports to the groff-bug mailing list ⟨bug-
64 groff@gnu.org⟩ or directly to the authors.
65
66
67
68Groff Version 1.22.2 7 February 2013 GROFF_MOM(7)