Hi, mathjax will be loaded only when document contains any math elements. How about make plotly objects subclasses of math node? Then mathjax extension will recognize them as math elements.
As a workaround, you can modify "has_equations" attribute of math domain. But I don't think not a good way because it is internal attribute. Thanks, Takeshi KOMIYA 2020年1月1日(水) 21:32 Moritz Beber <[email protected]>: > > This is somewhat related to issue > https://github.com/sphinx-doc/sphinx/issues/5497. I have a plotly figure that > includes some math and only renders correctly when MathJax is present. You > can see what I mean in this nbsphinx issue > (https://github.com/spatialaudio/nbsphinx/issues/369). This is not detected > by Sphinx and thus MathJax is not automatically included. > > So I'm wondering if there is a way for me to force the inclusion of MathJax > or, alternatively, for Sphinx to detect math in plotly objects? > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" 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/sphinx-users/83b41c7f-c527-426a-9f5d-ff168182589e%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sphinx-users" 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/sphinx-users/CAFmkQAOjk2soLuW0B-Ku%3DYX2ugXHohNLRpm7ZwwYX1vb%3DAJ51w%40mail.gmail.com.
