# [Maxima] different imaxima output in emacs

Yasuaki Honda yhonda at mac.com
Fri Nov 28 09:28:46 CST 2008

Robert, Nijso,

I had similar reports while ago on the mailing list. My next plan is to
look at all the tex related code in imaxima.lisp and compare them with
mactex.lisp code.

This may take some time, but I hope I can figure out the best
way to merge things.

Yasuaki Honda, Chiba, Japan

On 2008/11/29, at 0:07, Robert Dodier wrote:

> 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
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima