> (2) There's the view command which I just mentioned.

I'll try it, thanks.

> > My idea is to work from a regular python and use some kind of a
> > console for the graphic stuff.
>
> Do you mean ASCII art, e.g., which will look good or not depending
> on what your email client does to mangle this message:
>
> sage: f = sin(x^2)
> sage: print f.integral(x)        # this is SAGE-2.5 !!
>                                              (sqrt(2)  I + sqrt(2)) x
>        sqrt( Pi) ((sqrt(2)  I + sqrt(2)) erf(------------------------)
>                                                         2
>                                                    (sqrt(2)  I - sqrt(2)) x
>                       + (sqrt(2)  I - sqrt(2)) 
> erf(------------------------))/8
>                                                               2

We also have and ascii art, written in python directly. We however
decided that the sympy.core (probably the same as your sage.calculus)
should only know a "linear mess" and a mathml, and all the other
formats should be converted from mathml. And we didn't yet write a
mathml -> ascii art conversion.

f you want to look at our ascii art printer:

http://code.google.com/p/sympy/issues/detail?id=53

it's not yet integrated into the newest sympy, but if you look at the
attached file, it should work - it contains an old version of sympy,
that should work with the pretty printer. And the pretty printing code
was contributed by Jurjen Bos and is is written in a general way, thus
it can easily be used in sage as well.

But I meant a graphic console. I think the view(x) is just what I want
- I'll install sage and try it. I think it's better to show a xdvi (or
evince) with the latex dvi/ps file, rather than my pygame window.

Do you have some standard for exchanging expressions? I think the
mathml is just for it. But I didn't try it with maple/mathematica, we
only tried the SymPy's generated mathml with a mathml -> latex
conversion using a xsl, that can be found on the web, and that works
fine.

Thanks,
Ondrej

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to