[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] -me and macroses
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] -me and macroses |
Date: |
Fri, 07 Dec 2001 08:02:20 +0100 (CET) |
> When an escape sequence \*[m a] is met, groff first checks whether
> there is an escape sequence `m a'.
This can't happen since whitespace is not allowed in an identifier.
> If not, it assumes this is a macro call of a macro called `m'
> taking a single argument `a'.
>
> So groff treats `\*[m a]' like `.m a' but without the enclosing
> spaces.
Your idea sounds reasonable. Patches welcome,
> The trailing space can be removed by appending `\c' using `am1'.
> The preceding space might be a problem. Maybe there should be an
> escape similar to `\c' that eats one element from the output queue.
I don't exactly understand what you mean here. Please give examples.
Werner
Re: [Groff] -me and macroses, Ralph Corderoy, 2001/12/03