[Top][All Lists]
[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
Re: [Groff] grog and mom., Werner LEMBERG, 2002/06/07