1. Since LaTex allows TeX syntax as well, there is no need to
change \over to \frac for use by LaTex. The only reason to
do this is if humans are going to read and edit the output.
2. If you insist on preferring \frac to \over, then you do
not need an expert lisp programmer. You are right
to start with the mactex code. You could learn enough
lisp in one week to change it. You should
probably write out your list of rules first.
3. It is absolutely the wrong thing to do to write a
TeX to LaTex translator in a separate step. It would require
writing a parser for TeX!
So far as I know, the only changes are
\over to \frac
$
$$
and perhaps something to do with matrices.
The real problem in matrices is that except for very small ones,
they cannot be displayed this way, and should be reformatted,
perhaps in blocks.
So the changes are not large.
I do not know if everyone uses latex though, so the existing
code should continue to work.
RJF
Paul RIVIER wrote:
> hi there,
> I take this opportunity to ask you if there is a work in progress to
> include a latex export as well.
> Few weeks ago, I went in the code of the current Tex lisp file to have a
> look, and while I am absolutly not a lisp programmer, that seemed me ok
> to start from this file to write a latex exporter. Actually, I find the
> latex syntax is more attractive and widely used. The proprietary CAS
> maple handles latex export as well. So if there is in this area a good
> lisp programmer, I can try to write a short document about how to
> convert tex syntax into latex syntax, in the form for exemple of :
>
> {{a} \over {b}} ---------------> \frac{a}{b}
> and so on ...
>