On 06/05/2012 08:51 AM, Sergiu Ivanov wrote:
On Tue, Jun 5, 2012 at 2:43 PM, [email protected]
<[email protected]>  wrote:
There was a comment about the need of separate latex viewer. I was not
sure what was meant by that.
I guess the comment was about the fact that one still has to use
something besides a Unicode terminal to have LaTeX working.

Thus, just so we are clear on this,
ipython qtconsole and ipython notebook (which are part of the standard
installation of python) support seamless latex printing. You enter
`integrate(blah blah)` and the output that you see is not the latex
code, but the already the nicely compiled images (how much of the
image is a raster blob and how much is editable is a magic that I was
not interested in). Anyway, this is why I said that getting fancier
pretty_printing does not seem very important.
I haven't tried IPython notebooks on my own computer, but do I
understand it right that it's something similar to what one sees on
live.sympy.org and www.sagenb.org?  Those are cool things and I agree
that, having them, pretty printing on the console is becoming
considerably less important.  (Slightly like ASCII plots vs. graphical
plots.)

Sergiu

I find having the console is useful for debugging python scripts. The problem with using LaTeX in a script programming environment (not Ipython) is in tracing errors. With latex you need to post process with the LaTeX compiler to see the output and sometimes the error is in you sympy code and sometimes the LaTeX you generate gives an error and if you are trying to run LaTeX transparently you don't know where the error is. I usually get something debugged using the console and then generate LaTeX output for clarity.

In my rewrite of the GA code I have the console setup to print the multivector bases in bold, function coefficients in red, and derivative operators in green.

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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/sympy?hl=en.

Reply via email to