[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
macro expansion in makeinfo
From: |
Vladimir Volovich |
Subject: |
macro expansion in makeinfo |
Date: |
Thu, 25 Apr 2002 16:18:17 +0400 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (sparc-sun-solaris2.8) |
Hi,
with makeinfo 4.0, i run
makeinfo --macro-expand=- < test.texi
where test.texi contains these lines:
========================
@macro ovar{varname}
@address@hidden@r{]}
@end macro
@ovar{Testvar}
@defmac TEST (@ovar{bug-report}, @ovar{tarname})
Test
@end defmac
========================
The resulting output of makeinfo is:
========================
@address@hidden@r{]}
@defmac TEST (@ovar{bug-report}, @ovar{tarname})
Test
@end defmac
========================
i.e., the @ovar was expanded when it appeared on its own, but was not
expanded when used in an argument of @defmac.
As a result, texi2dvi does not work - it complains that @ovar is not
defined.
is this a bug or a feature? how can i force expansion of all macros?
Best,
v.
- macro expansion in makeinfo,
Vladimir Volovich <=
- Re: macro expansion in makeinfo, Eli Zaretskii, 2002/04/25
- Re: macro expansion in makeinfo, Vladimir Volovich, 2002/04/25
- Re: macro expansion in makeinfo, Eli Zaretskii, 2002/04/25
- Re: macro expansion in makeinfo, Vladimir Volovich, 2002/04/25
- Re: macro expansion in makeinfo, Eli Zaretskii, 2002/04/26
- Re: macro expansion in makeinfo, Vladimir Volovich, 2002/04/26
- Re: macro expansion in makeinfo, Eli Zaretskii, 2002/04/28
- Re: macro expansion in makeinfo, Vladimir Volovich, 2002/04/28
- Re: macro expansion in makeinfo, Eli Zaretskii, 2002/04/28