Re: conditional macros problem

Stepan Kasal <[email protected]> Fri, 11 Feb 2005 15:25:37 +0100
Newsgroups gmane.comp.tex.texinfo.pretest
Message-ID <[email protected]>
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 <[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 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
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://ff0.org/mailman/listinfo/texinfo-pretest