pdfmom
Section: User Commands (1)
Updated: 2 July 2023
Index
Return to Main Contents
Name
pdfmom - produce PDF documents using the
mom
macro package for
groff
.nr d-fallback 1
.nr d-fallback 1
Synopsis
[
-Tpdf]
[
grof-options]
[
file~...]
-Tps
[
pdfrof-options]
[
grof-options]
[
file~...]
-v
--version
Description
pdfmom
is a wrapper around
that facilitates the production of PDF documents from files
formatted with the
mom
macros.
pdfmom
prints to the standard output,
so output must usually be redirected to a destination file.
The size of the final PDF can be reduced by piping the output
through
If called with the
-Tpdf
option (which is the default),
pdfmom
processes files using
groff's
native PDF driver,
If
-Tps
is given,
processing is passed over to
pdfroff,
which uses
groff's
PostScript driver.
In either case,
multiple runs of the source file are performed in order to satisfy any
forward references in the document.
pdfmom
accepts all the same options as
groff.
If
-Tps
is given,
the options associated with
pdfroff
are accepted as well.
When
pdfmom
calls
pdfroff,
the options
[lq]
-mpdfmark -mom --no-toc[rq]
options are implied and should not be given on the command line.
Equally,
it is not necessary to supply the
-mom
or
-m~mom
options when
-Tps
is absent.
PDF integration with the
mom
macros is discussed in full in the manual
[lq]Producing PDFs with
groff
and
mom[rq],
which was itself produced with
pdfmom.
If called with the
-v
or
--version
options,
pdfmom
displays its version information and exits.
Authors
pdfmom
was written by
Deri James
and
Peter Schaffter
and is maintained by James.
See also
- /usr/:share/:doc/:groff-1.23.0/:pdf/:mom-pdf.pdf
-
[lq]Producing PDFs with
groff
and
mom[rq],
by Deri James and Peter Schaffter.
This file,
together with its source,
mom-pdf.mom,
is part of the
groff
distribution.
Index
- Name
-
- Synopsis
-
- Description
-
- Authors
-
- See also
-