Unrendered Latex When Using Plotly

18 views
Skip to first unread message

Safwan Ahmad

unread,
Jan 26, 2018, 2:17:43 PM1/26/18
to Project Jupyter
Plotly seems to break Latex rendering via MathJax in Nbconvert's HTML output. See for example https://github.com/plotly/plotly.py/issues/515 and https://github.com/plotly/plotly.js/issues/1937 NbConvert appears to rely on Mathjax configuration option skipStartupTypeset: false (the default) for Latex rendering and it doesn't call MathJax.Hub.Queue() or MathJax.Hub.Typeset() explicitly. I did some analysis:

Plotly sets the option to false:
MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0

And then uses the MathJax.Hub.Queue() to render only a particular DIV element, effectively disabling MathJax from other parts of a document. Can NbConvert() be made to call one of the typesetting methods from MathJax?
Reply all
Reply to author
Forward
0 new messages