[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] mom version 2.0

From: Peter Schaffter
Subject: [Groff] mom version 2.0
Date: Sat, 1 Sep 2012 02:39:52 -0400
User-agent: Mutt/1.5.21 (2010-09-15)


Deri James and I have been working on integrating the mom macros
with the gropdf driver.  The results are now in the repository.

Deri's contributions to om.tmac add key PDF features to mom
documents when they're processed with -Tpdf: internal and external
targets, clickable links, and a PDF outline for document viewers.
In addition, there's automatic, intelligent repositioning of the
Table of Contents to the top of a document (yea!), and the ability
to set page dimensions within a document without the need for a
-P-p<papersize> flag on the command line.

Deri's work encouraged me to attack version 2.0 of mom, which had
been stuck in the pipeline for a while.  Version 2.0 includes
massive code cleanup, improved handling of vertical spacing,
new FLOAT and PDF_IMAGE macros, a typographically improved Table of
Contents, and completely new macros for the management of nested
heads, replacing the now-deprecated HEAD/SUBHEAD/SUBSUBHEAD.

As of version 2.0, the primary thrust of mom will be toward the
generation of PDF documents, a bias that is reflected throughout
the documentation.  Deri has written a flexible wrapper script,
pdfmom (akin to pdfroff), which handles forward references in mom
documents, and is now the preferred way to process mom files.

Version 2.0 changes are covered in full in the html documentation


and in a new manual, _Producing PDFs with groff and mom,_ which
documents mom/pdf usage.  The manual lives at


Peter Schaffter

Author of The Binbrook Caucus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]