Skip to content

printing unevaluated integrals, limits, etc. broken #7955

@burcin

Description

@burcin

From the sage-devel thread here:

http://groups.google.com/group/sage-devel/t/592ce36b210c2fbe

On Mon, 11 Jan 2010 23:58:54 -0800 (PST)
"[email protected]" <[email protected]> wrote:

> Dear sage-devel
> 
> 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?

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 reported above.

Component: symbolics

Author: Burcin Erocal

Reviewer: Dan Drake

Merged: sage-4.3.3.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/7955

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions