1pdfmom(1)                   General Commands Manual                  pdfmom(1)
2
3
4

Name

6       pdfmom - produce PDF documents using the mom macro package for groff
7

Synopsis

9       pdfmom [-Tpdf] [groff-options] [file ...]
10
11       pdfmom -Tps [pdfroff-options] [groff-options] [file ...]
12
13       pdfmom -v
14       pdfmom --version
15

Description

17       pdfmom  is a wrapper around groff(1) that facilitates the production of
18       PDF documents from files formatted with the mom macros.
19
20       pdfmom prints to the standard output, so output must usually  be  redi‐
21       rected to a destination file.  The size of the final PDF can be reduced
22       by piping the output through ps2pdf(1).
23
24       If called with the -Tpdf option (which is  the  default),  pdfmom  pro‐
25       cesses  files  using  groff's native PDF driver, gropdf(1).  If -Tps is
26       given, processing is passed over to pdfroff, which uses  groff's  Post‐
27       Script  driver.   In  either case, multiple runs of the source file are
28       performed in order to satisfy any forward references in the document.
29
30       pdfmom accepts all the same options as groff.  If -Tps  is  given,  the
31       options  associated  with  pdfroff  are  accepted as well.  When pdfmom
32       calls pdfroff, the options “-mpdfmark -mom --no-toc”  options  are  im‐
33       plied  and should not be given on the command line.  Equally, it is not
34       necessary to supply the -mom or -m mom options when -Tps is absent.
35
36       PDF integration with the mom macros is discussed in full in the  manual
37       “Producing  PDFs  with  groff  and mom”, which was itself produced with
38       pdfmom.
39
40       If called with the -v or --version options, pdfmom displays its version
41       information and exits.
42

Authors

44       pdfmom  was  written  by  Deri  James ⟨deri@chuzzlewit.myzen.co.uk⟩ and
45       Peter Schaffter ⟨peter@schaffter.ca⟩, and is maintained by James.
46

See also

48       /usr/share/doc/groff/pdf/mom-pdf.pdf
49              “Producing PDFs with groff and mom”, by  Deri  James  and  Peter
50              Schaffter.  This file, together with its source, mom-pdf.mom, is
51              part of the groff distribution.
52
53       groff(1), gropdf(1), pdfroff(1), ps2pdf(1)
54
55
56
57groff 1.23.0                    2 November 2023                      pdfmom(1)
Impressum