[texinfo-pretest] conditional macros problem
Stepan Kasal
kasal at ucw.cz
Fri Feb 11 09:25:37 EST 2005
Hi,
On Wed, Feb 09, 2005 at 08:25:10PM +0200, Eli Zaretskii wrote:
> > Date: Wed, 9 Feb 2005 09:19:50 +0100
> > From: Stepan Kasal <kasal at ucw.cz>
> >
> > > 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.
>
> I don't see why this should be considered a bug. The Texinfo manual
> clearly says that using the --ifFORMAT switch processes @ifFORMAT and
> @FORMAT, so --iftex should indeed process @tex.
>
> In other words, it's a feature.
Well, it's an unimplemented feature...
makeinfo parses the content of @tex as if it were written in the Texinfo
language. But the code is written in the TeX language.
To meet the documentation makeinfo would have to be able to interpret the
TeX language, ie. contain most of TeX embedded.
As this is not reasonably doable, we have to fix both the documentation
and the code. We can throw the @tex blocks away under some circumstances,
or we can pass them to the output, but in all cases we have to take them
as black boxes.
Yours,
Stepan
More information about the texinfo-pretest
mailing list