This is a bug then. I can't reproduce it. It's possible that your installation is broken. You can try conda install -f sympy and conda install -f ipython.
This is the code that automatically enables latex in the notebook https://github.com/sympy/sympy/blob/master/sympy/interactive/printing.py#L278. It seems like it should work. What operating system are you on? How are you starting the IPython notebook? Also, what happens if you set use_latex to 'png', 'matplotlib', or 'mathjax'. We should enable debugging here. Aaron Meurer On Tue, Aug 20, 2013 at 3:57 PM, Ricardo Mayer <[email protected]> wrote: > Yes, I'm sure ... or at least 'conda search sympy' says so :-) > > Oh, BTW, I'm using Ipython 1.0.0 (and sympy 0.7.3) > > I tried ipython 0.13.2 with sympy 0.7..2 and the problem does *not* occur > > > > El martes, 20 de agosto de 2013 17:11:09 UTC-4, Aaron Meurer escribió: >> >> That's a bug then. Are you sure you are using SymPy 0.7.3? There were some >> issues with this in the previous version. >> >> Aaron Meurer >> >> >> On Tuesday, August 20, 2013, Ricardo Mayer wrote: >>> >>> Thank you, Aaron. >>> >>> I did tried it ipython (notebook and qt console) and calling >>> init_printing() there does not enable latex (formulas were rendered in ascii >>> characters). I had to pass the argument 'use_latex=True' explicitly. >>> >>> >>> >>> El martes, 20 de agosto de 2013 14:21:02 UTC-4, Aaron Meurer escribió: >>>> >>>> The default is to use latex, but only in environments that support it, >>>> namely the IPython notebook or the ipython qtconsole of you have latex or >>>> matplotlib installed. See the printing section of the tutorial. >>>> >>>> If it's not enabling latex for you in those environments, that's a bug. >>>> >>>> Aaron Meurer >>>> >>>> On Aug 20, 2013, at 8:07 AM, Ricardo Mayer <[email protected]> wrote: >>>> >>>> Dear all, >>>> >>>> is it just me or it seems that init_printing() does NOT invoke >>>> use_latex=True by default? It apparently causes not-so-pretty ascii output >>>> to appear in the documentation, as in >>>> >>>> http://docs.sympy.org/0.7.3/tutorial/intro.html >>>> >>>> Maybe that page should be change to replace calls of init_printing() >>>> with init_printing(use_latex=True) ? (or maybe change the current default >>>> behaviour of init_printing) >>>> >>>> thanks, >>>> R >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "sympy" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/sympy. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "sympy" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/sympy. >>> For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
