Hi. 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 doc/groff-1.21/html/mom/version-2.html and in a new manual, _Producing PDFs with groff and mom,_ which documents mom/pdf usage. The manual lives at doc/groff-1.21/pdf/mom-pdf.pdf -- Peter Schaffter Author of The Binbrook Caucus http://www.schaffter.ca