[texinfo-pretest] Re: Project: texi2latex

Torsten Bronger bronger at physik.rwth-aachen.de
Sat Dec 18 09:57:29 EST 2004


Hallöchen!

Patrice Dumas <pertusus at free.fr> 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



More information about the texinfo-pretest mailing list