the following (definite) integral is not evaluated by maxima and show
() command should return the same unevaluated integral in TeX
notation. I think this was the case in previous versions. On Sage 4.3.
I get th following
input: integrate(1/(1+sqrt(x)),x,0,1).show()
output: \int integrate\,{d \frac{1}{\sqrt{x} + 1}}
expected output: \int_0^1 \frac{..}{...} dx
What has changed?
Robert
After #7490, we give the function object as the first argument to
custom methods of symbolic functions. The function that prints integrals
is _integrate_latex_() on line 1556 of sage/calculus/calculus.py. It
gets the function integrate as a first argument, and prints the
nonsense you report above.
Here is a ticket:
http://trac.sagemath.org/sage_trac/ticket/7955
It should be easy to fix. We should add better error checking and
doctests to the functions though. If no one beats me to it, I can fix
this in the next few days.
Thank you.
Burcin