different imaxima output in emacs



On 11/28/08, N.A.Beishuizen at ctw.utwente.nl
<N.A.Beishuizen at ctw.utwente.nl> wrote:

>  I noticed the following inconsistent behaviour using imaxima in emacs.
>  It gives a different result depending on if I load the function from a batch file
>  or type the function directly in emacs.

>  (%i4) y[1]*f01();
>  (\%o4) y^{2 }\left(1\right)

Imaxima has its own definitions of some of the TeX output functions,
in particular, TEX-MEXPT (for exponents).
The above behavior has been fixed in Maxima's built-in TeX output
but not in Imaxima.

I;m not sure what's the best way to proceed from here.
Ideally Imaxima and Maxima could share the same TeX functions.
It appears that Imaxima's TeX functions are modified from some
previous version of Maxima. If the modifications are Imaxima-specific,
I guess we should try to figure out a way to change the behavior
only for some expressions, and punt back to built-in TeX otherwise.
For modifications which are not Imaxima-specific, we can consider
merging them into the built-in functions.

best

Robert Dodier