Re: Project: texi2latex

Torsten Bronger <[email protected]> Sat, 18 Dec 2004 15:57:29 +0100
Newsgroups gmane.comp.tex.texinfo.pretest
Organization Phoenix Foundation
Message-ID <[email protected]>
Hallöchen!

Patrice Dumas <[email protected]> writes:

>>> I came over these latex constructs which aren't TeX:
>>> \begin{equation}, special graphs made in xfig with latex, things
>>> produced with \usepackage[all]{xy} (that was a table with
>>> variations of a function).
>> 
>> However, this is only significant if you convert Texinfo directly
>> to LaTeX with no XML inbetween, isn't it?
>
> Well it should also be available with xml inbetween ? If there are
> features only available in LaTeX, then some LaTeX code could be in
>
> @latex
> latex specific constructs...
> @end latex
>
> [...]
>
> Then the xsl would keep those lines as is.

I think the best way is to regard XML as a "final target" of
makeinfo, in contrast to keeping the conditionals of the Texinfo
source in it.  After all, you can't make assumptions about further
processing of the XML file.  It can be LaTeX, or HTML, or something
completely different.

I agree that the Texinfo-->XML conversion is irreversible then.  The
alternative would be to pass the *all* conditionals 1:1 to XML, and
let the following processor decide what to do.  But I'd prefer the
first variant.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus

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