[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macro expansion in makeinfo
From: |
Eli Zaretskii |
Subject: |
Re: macro expansion in makeinfo |
Date: |
Fri, 26 Apr 2002 11:33:07 +0300 |
> From: Vladimir Volovich <address@hidden>
> Date: Thu, 25 Apr 2002 23:24:58 +0400
>
> it's not me who was using this - i tried to make PDF from autoconf
> manual (autoconf.texi) using texi2pdf, and without the hack i used to
> expand macros in @defmac, it did not work. :)
I don't know what is texi2pdf. Can't you use "texi2dvi --pdf" instead?
Anyway, the problem is that macros shouldn't be used inside @defmac
at all. It's not specific to texi2pdf.
> so as you write that "All the @def... commands are implemented as a
> gross hack" - why not make macros expand everywhere (including @defmac
> - as they do outside @defmac)
Because makeinfo will fail with 100% probability if we expand macros
in @defmac: the unescaped {} braces will cause the reader loop to
barf.
Can you explain the actual reason for using that macro in @defmac? If
I understand the reason, I might be able to suggest a work-around.
- 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/25
- Re: macro expansion in makeinfo, Vladimir Volovich, 2002/04/25
- Re: macro expansion in makeinfo,
Eli Zaretskii <=
- 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