Probably the best way to use this with SymPy would be to create a
custom printer that sends the output of latex() through the TeX
command. You can play around with this. I'll take a look at it later
to see if I can get it to work.
We also have a function preview(), which I think can be modified to
work with the qtconsole (again, I need to play with it).
Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
>
>
Aaron Meurer
On Thu, Aug 25, 2011 at 4:12 PM, Aaron Meurer <asme...@gmail.com> wrote:
> Actually, the author and I are currently discussing off list ways to
> get this to work by default (perhaps it should be brought on list).
Yes, please do. I can definitely point in the right direction on the
IPython side of things. To see how the printing works and how to get
an image back to the frontend, have a look in
IPython.extensions.sympyprinting.
Cheers,
Brian
> Aaron Meurer
>
> On Thu, Aug 25, 2011 at 8:52 AM, Hans Moser <hans.m...@gmx.at> wrote:
>> Hi
>> Thank you for the answer. Meanwhile I had a conversation with the author who fed me with hopes but discouraged me from changing any core code.
>> H.Moser
>> --
>> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
>> Jetzt informieren: http://www.gmx.net/de/go/freephone
>>
>> --
>> You received this message because you are subscribed to the Google Groups "sympy" group.
>> To post to this group, send email to sy...@googlegroups.com.
>> To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
>
>
--
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgra...@calpoly.edu and elli...@gmail.com
Thanks. This doesn't exactly tell me how to make the SymPy pretty
printer return a png, but I'll look into it.
I noticed that you are doing some replacements for things like
\operatorname that mathtext doesn't support. We should fix some of
this stuff upstream, so you can just do latex(mode="matplotlib") and
it will give you a suitable form.
Aaron Meurer