emaxima's problem with latex processing



Valerij Pipin <vpipin@irk.ru> writes:

> Also I found that emaxima was not able to  transform correctly the following 
> expression
> (E40) g[2,2] = 
> (2*A*D*'DIFF(D,x,2)*x-A*('DIFF(D,x,1))^2*x-'DIFF(A,x,1)*D*'DIFF(D,x,1)*x+2*A*D*'DIFF(D,x,1)-2*'DIFF(A,x,1)*D^2)/(4*A^2*D^2*x)
> It gives
> \E44. g_{2,\linebreak[0]2}={{2\*A\*D\*\left({{d^{2}}\over{d\*x^{2}}}
>  \*D\right)\*x-A\*\mathrm{\%DERIVATIVE}^{2}\left(\left(D  [snip]

Does this patch (untested) fix it?

Attached file: emaxima.lisp.diff