Re: conditional macros problem

"Eli Zaretskii" <[email protected]> Fri, 11 Feb 2005 16:58:11 +0200
Newsgroups gmane.comp.tex.texinfo.pretest
Message-ID <[email protected]>
> Date: Fri, 11 Feb 2005 00:50:44 +0100 (CET)
> From: Werner LEMBERG <[email protected]>
> Cc: [email protected], [email protected]
> 
> >     parse the contents of @tex to recognize `\gdef\foo#1{...}' being
> >     a macro definition for @foo{...} which must not be expanded.
> > 
> > It's obviously not going to do that.
> 
> Why not?  Where's the problem?

The problem is that what you suggested requires to teach makeinfo
about a large chunk of the TeX language.  That is not going to happen.

> Currently, --iftex fails for most code in @tex environments.

Only if you use something inside @tex that causes trouble.

> We can impose restrictions how raw TeX macros
> must look like to make them easily parseable by makeinfo.

You will be the first to complain about such limitations ;-)
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://ff0.org/mailman/listinfo/texinfo-pretest