[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Macros in @deffn
From: |
Eli Zaretskii |
Subject: |
Re: Macros in @deffn |
Date: |
Sun, 25 Apr 2004 13:33:07 +0200 |
> From: Akim Demaille <address@hidden>
> Date: Tue, 20 Apr 2004 17:48:28 +0200
>
> For some reason, the following macro @acro cannot be used in @deffn,
> while its expansion is.
Sorry, makeinfo doesn't expand macros in @defXX lines. That is
because @defXX directives violate the Texinfo syntax: they allow
unescaped sole braces {} as part of the arguments, which Texinfo
disallows everywhere else. So the normal Texinfo parser, which
expands macros as part of its job, cannot be used to parse @defXX.
I'd be more than happy if the current syntax of @defXX coulod be
thrown away and a new, regular one designed in its stead.