Instead of adding another %display option, why not fix the standard %display typeset? If mathjax can't display some object then it just shouldn't display using mathjax in jupyter.
On Tuesday, March 21, 2017 at 12:31:08 AM UTC+1, Travis Scrimshaw wrote: > > Eric Gourgoulhon and I were discussing the possibility of making the > default display for the (Jupyter) notebooks be latex, and we decided that > this might not be a good way forward because not everything has latex that > gives valid mathjax (e.g., Partition([4,3,3,1]) uses \multicol, which is > not supported by mathjax) and it might result in somewhat slower output > response. > > However, for beginners, we were thinking of doing this for things in the > symbolic ring as, say, a Calc 1 student experimenting with derivatives > would like to see something in actual math that matches the textbook rather > than parsing some string representation. So I am proposing a new %display > of "auto" to automatically use latex when the result is an element of SR or > possibly some other "nice" set of objects such as matrices. Does this sound > reasonable? If we are going forward with this, would this be something > implemented on the Sage side? > > Best, > Travis > > -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.