groff
[Top][All Lists]
Advanced

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

Re: [Groff] grog and mom.


From: Bernd Warken
Subject: Re: [Groff] grog and mom.
Date: Thu, 6 Jun 2002 18:57:20 +0200
User-agent: Mutt/1.2.5i

On Thu, Jun 06, 2002 at 12:19:33PM -0400, Peter Schaffter wrote:
> On Thu, Jun 06, 2002, Ralph Corderoy wrote:
> > As for adding -mom detection, that's easy enough by checking for
> > .PRINTSTYLE or .START.
> 
> 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
> 
>     \#MOM
> 
> Not very elegant, I know, but all I'd have to do is add a note in the
> documentation.
> 
Another possibility is

.if !dPRINTSTYLE \
.  mso om.tmac

Bernd Warken


reply via email to

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