[Top][All Lists]

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

Re: [Groff] condition: OR of two string comparisons

From: Werner LEMBERG
Subject: Re: [Groff] condition: OR of two string comparisons
Date: Wed, 19 Nov 2014 08:01:10 +0100 (CET)

>> .if x  versus  .ifx

Having `.if x' instead of a new keyword `.ifx' is appealing to me.
Assuming that we have a global register to activate a novel
interpretation of expressions (as suggested by Colin), we could indeed
simply stay with the currently available keywords.  A similar approach
is already used by Heirloom troff to define various extensions.

Note, however, that it gets tricky if groff tries to execute `modern'
macros in compatibility mode (.cp 0), cf. `.de1' and friends.


reply via email to

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