Re: conditional macros problem

Werner LEMBERG <[email protected]> Thu, 10 Feb 2005 06:51:40 +0100 (CET)
Newsgroups gmane.comp.tex.texinfo.pretest
Message-ID <[email protected]>
> > 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 its 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.

What --iftex must do is to `register' macro definitions within @tex
environments, at least if option -E is active.  So it has to somehow
parse the contents of @tex to recognize `\gdef\foo#1{...}' being a macro
definition for @foo{...} which must not be expanded.

> So the fix might be fairly straightforward.

For people who have enough insight, yes -- unfortunately, I don't have
yet.


    Werner
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://ff0.org/mailman/listinfo/texinfo-pretest