The culprit is the following line in sage.repl.rich_output.backend_base.py:

mathjax = MathJax().eval(obj, mode='plain', combine_all=True)


If combine_all is set to False, then the tuples render as expected. Volker, 
is there a reason for changing this or should I open a ticket?

By the way, it's not easy to find out what %display does. The docstring of 
this magic function tells you to look up a non-existent class 
DisplayHookBase.


Cheers,

Jan

Am Freitag, 17. April 2015 08:42:58 UTC+2 schrieb Eric Gourgoulhon:
>
> Hi,
>
> In Sage 6.6 notebooks (either Sage notebook or IPython notebook), tuples 
> are displayed without parenthesis nor comma (!) when the LaTeX typeset mode 
> is turned on (i.e. with 'typeset' box clicked in the Sage notebook or with 
> %display latex in the IPython notebook):
>
> input: (1,2)
> output: *12*
>
> input: (x,x,x)
> output: *xx*x
>
> Eric.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to