1PDFMOM(1) General Commands Manual PDFMOM(1)
2
3
4
6 pdfmom - produce PDF documents using the mom macro package for groff
7
9 pdfmom [-Tpdf] [groff-options] file ...
10
11 pdfmom -Tps [pdfroff-options] [groff-options] file ...
12
13 pdfmom -v
14
16 pdfmom is a wrapper around groff(1) that facilitates the production of
17 PDF documents from files formatted with the mom macros.
18
19 pdfmom prints to the standard output, so output must usually be redi‐
20 rected to a destination file. The size of the final PDF can be reduced
21 by piping the output through ps2pdf(1).
22
23 If called with the -Tpdf option (which is the default), pdfmom pro‐
24 cesses files using groff's native PDF driver, gropdf(1). If -Tps is
25 given, processing is passed over to pdfroff, which uses groff's Post‐
26 Script driver. In either case, multiple runs of the source file are
27 performed in order to satisfy any forward references in the document.
28
29 pdfmom accepts all the same options as groff. If -Tps is given, the
30 options associated with pdfroff are accepted as well. Please note that
31 when pdfmom calls pdfroff, the
32 -mpdfmark -mom --no-toc
33 options are implied and should not be given on the command line.
34 Equally, it is not necessary to supply the -mom or -m mom options when
35 -Tps is absent.
36
37 PDF integration with the mom macros is discussed in full in the manual
38 Producing PDFs with groff and mom, which was itself produced with pdf‐
39 mom.
40
41 If called with the -v option, pdfmom simply displays its version infor‐
42 mation and exits.
43
45 pdfmom sometimes issues warnings of the type
46 ...: can't transparently output node at top level
47 but this is more of an annoyance than a bug, and may safely be ignored.
48
50 pfdmom was written by Deri James ⟨deri@chuzzlewit.demon.co.uk⟩ and
51 Peter Schaffter ⟨peter@schaffter.ca⟩.
52
54 Producing PDFs with groff and mom, by Deri James and Peter Schaffter; a
55 copy is installed at /usr/share/doc/groff/pdf/mom-pdf.pdf.
56
57 groff(1), gropdf(1), pdfroff(1), ps2pdf(1)
58
59
60
61groff 1.22.4 3 November 2020 PDFMOM(1)