[texinfo-pretest] Re: Project: texi2latex

vale.it at tiscali.it vale.it at tiscali.it
Sat Dec 18 14:57:03 EST 2004


the best would be the bidirectional conversion texinfo <-> xml.

regarding equations and maths and info: well, the trick would be just to describe the math info cannot represent... as a matter of fact the latex math conventions are complex but quite easy to understand.

\fract{1}{2+3} in Latex would be 
1/(2+3) in info...

and so on...

the real advantages latex would give is the possibility to pass commands regarding the hardcopy layout as well as input and font encodings, etc. if we could find the minimum common denominator of latex and texinfo lexical structures it would be a good leap frog.

cheers,

valentino
vale.it at tiscali.it

On Sat, 18 Dec 2004 15:57:29 +0100
Torsten Bronger <bronger at physik.rwth-aachen.de> wrote:

> 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
> 
> _______________________________________________
> Texinfo home page: http://www.gnu.org/software/texinfo/
> texinfo-pretest at texinfo.org
> http://ff0.org/mailman/listinfo/texinfo-pretest


More information about the texinfo-pretest mailing list