Hi,
with makeinfo 4.0, i run
makeinfo --macro-expand=- < test.texi
where test.texi contains these lines:
========================
@macro ovar{varname}
@r{[}@var{\varname\}@r{]}
@end macro
@ovar{Testvar}
@defmac TEST (@ovar{bug-report}, @ovar{tarname})
Test
@end defmac
========================
The resulting output of makeinfo is:
========================
@r{[}@var{Testvar}@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.
_______________________________________________
Bug-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-texinfo