I have opened https://trac.sagemath.org/ticket/29136 
<https://trac.sagemath.org/ticket/29136> proposing to change the default text 
display preference to "plain" for the text-based backends.


> Am 30.01.2020 um 22:17 schrieb Nils Bruin <[email protected]>:
> 
> I do not think that's an issue at all. Presently, on the command line we 
> *literally* get
> 
> sage: pretty_print({1:2})
> \newcommand{\Bold}[1]{\mathbf{#1}}\left\{1 : 2\right\}
> 
> I don't think that satisfies anybody's idea of "pretty" printing. If you do 
> the same thing in the notebook, you get a nicely mathjax typeset expression. 
> We can't replicate that behaviour on the command line anyway, so going with 
> "plain" wouldn't break anything: commandline and notebook already behave very 
> differently.
> 
> It is the case that
> 
>   get_display_manager().preferences.text is None
> 
> holds in both at the moment, but we have that 
> 
>   get_display_manager()
> 
> prints as 'The Sage display manager using the IPython command line backend' 
> and 'The Sage display manager using the IPython notebook backend' 
> respectively, so they're already distinguishable. Setting different defaults 
> in these different cases doesn't seem like a problem to me.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/F6865780-C57D-40C2-A633-93AA90F5668A%40gmail.com.

Reply via email to