[Top][All Lists]

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

Re: [Groff] grog and mom.

From: Werner LEMBERG
Subject: Re: [Groff] grog and mom.
Date: Fri, 07 Jun 2002 14:22:10 +0200 (CEST)

> > 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.

An even better solution would be to remove .PS and .TS completely --
most troff users would be quite irritated to see them without its
normal meaning.

Here an incomplete list of reserved keywords used by preprocessors
(not all are available for groff obviously):

  .EQ (eqn)

  .GS (grn)

  .PS (pic)

  .R1 (refer)

  .TS (tbl)

  .G1 (grap)

  .IS (ideal)

  .cstart (chem)

As mentioned earlier already, no macros should start with .[ and .]
at all since `refer' don't use whitespace between .[ and its argument.


reply via email to

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