Hi all,

 In older versions of sage/ipython, one could use '%display latex' or 
'%display typeset' to force all output to be formatted in latex. This is 
used by some third party GUIs (such as Cantor [1]) to typeset the output in 
their UI.

 In recent versions of Sage (at least since 9.5), this no longer works. It 
does work on Jupyter, which suggests there is some sort of autodetection 
going on for deciding whether to display latex output or not. I tried 
manually changing the display manager backend to IPythonNotebook with no 
success.

What would be the current way to force latex output in the Sage command 
line? 

[1] 
https://invent.kde.org/education/cantor/-/blob/v23.04.1/src/backends/sage/sagesession.cpp?ref_type=tags#L480
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/0e7db75a-d19d-4a4c-a9ed-79e40f44a63fn%40googlegroups.com.

Reply via email to