Hello,
I wanted to report what seemed like a bug in Maxima.
With the option simp:false
the following command returns some unusual TeX markup:
tex('diff(x^2));
The command is supposed to return the unevaluated TeX version of the derivative of x^2. Ideally it should be:
\frac{d}{dx}\,x^{2}
The actual TeX output is:
$${{d^{{\it mplus}\left(\right)}}\over{{\it mtimes}\left(\right)}}\,x
^2$$
which doesn't render too nicely in MathJax or LaTex Math Mode.
I'm using
Maxima 5.32.1 using Lisp SBCL 1.1.14.debian
Thank you!
Parag Magunia
A couple points: you don't need to set simp to false; and you want
not
Here is what I get when I leave simp unchanged and specify the independent variable from an uncustomized session:
Which, aside from the tex-ism, is what you want.
Thank you for clarifying that. I tested on the command line and confirm the results. By adding the wrt variable I got the TeX expression I was after.
I would close this ticket but I don't think I have sufficient privileges.
OK, I'm closing this as wont-fix since the problem was resolved and wasn't a bug in Maxima.