[texinfo-pretest] conditional macros problem

Eli Zaretskii eliz at gnu.org
Fri Feb 11 09:58:11 EST 2005


> Date: Fri, 11 Feb 2005 00:50:44 +0100 (CET)
> From: Werner LEMBERG <wl at gnu.org>
> Cc: kasal at ucw.cz, texinfo-pretest at texinfo.org
> 
> >     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 ;-)


More information about the texinfo-pretest mailing list