[Top][All Lists]

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

Re: [Groff] grog and mom.

From: Peter Schaffter
Subject: Re: [Groff] grog and mom.
Date: Thu, 6 Jun 2002 12:19:33 -0400
User-agent: Mutt/1.3.28i

On Thu, Jun 06, 2002, Ralph Corderoy wrote:
> As for adding -mom detection, that's easy enough by checking for

This works for mom documents that are, in fact, fully
document-processed using mom.  However, mom also has standalone
typesetting capabilities (see typesetting.html in the docs) that don't
require .PRINTSTYLE or .START.  That could make detecting mom
difficult.  A simple fix would be requiring that all mom documents
start with a commented out keyword, say


Not very elegant, I know, but all I'd have to do is add a note in the

> But -mom documents use .PS and .TS so that
> triggers pic and tbl command line options.

If that's really a problem, the solution is simple -- aliases.  .TS
is already an alias of .TAB_SET.  .PS could be changed in om.tmac to
.PT_SIZE, with a built-in alias, .PS, for user convenience.  Users
wishing to use pic and tbl in conjunction with mom would then simply
have use the long names for .TS and .PS, or create their own aliases.

I could add notes in the documentation for any macros whose names
conflict with preprocessor tags, and possibly write a short section
on preprocessor compatibility.

Peter Schaffter
31, Curé-André-Préseault
Appt. 22
Gatineau (Québec)

A confirmed GNU/Linuxer. Sorry, I don't do Windows.

reply via email to

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