[texinfo-pretest] conditional macros problem
Stepan Kasal
kasal at ucw.cz
Wed Feb 9 03:19:50 EST 2005
Hi,
On Wed, Feb 09, 2005 at 05:41:07AM +0100, Werner LEMBERG wrote:
> @tex
> \gdef\LE{$\le$}
> @end tex
>
> @ifnottex
> @macro LE
> <=
> @end macro
> @end ifnottex
for your information, gawk-3.1.4 documentation uses
@iftex
@set LEQ @math{@leq}
@end iftex
@ifnottex
@set LEQ <=
@end ifnottex
and @value{LEQ}.
> Passing --iftex isn't a solution since I get fatal errors.
This is what should be fixed. makeinfo tries to parse contents of @tex,
which is not it's bussiness. Similar issue with @html, I guess.
Interestingly enough, all @ifxxx, @tex and @html sections seems to be
in the output of makeinfo -E. So the only problem is that makeinfo
thinks it might find a @macro definition in a @tex environment, which is
incredible.
So the fix might be fairly straightforward.
Would you volunteer for a patch? (I wouldn't, sorry.)
Have a nice day,
Stepan Kasal
More information about the texinfo-pretest
mailing list