-
Notifications
You must be signed in to change notification settings - Fork 949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation on readthedocs fails to show rendered LaTeX #1267
Comments
@SylvainCorlay - do you know what is going on there? |
Nope, but it seems specific to RTD. The problem does not occur on nbviewer: http://nbviewer.jupyter.org/github/ipython/ipywidgets/blob/master/docs/source/examples/Widget%20Styling.ipynb |
MathJax is loaded on the page and typeset is called correctly |
By the way, here is the link for the original issue: http://ipywidgets.readthedocs.io/en/latest/examples/Widget%20Styling.html#Latex |
Looks to me like the issue is that RTD mathjax is configured with the default tex inline delimiters |
(Preferably this, since there are many notebooks that have |
This should be fixed in #1363 - we'll wait until rtd updates to make sure. |
It appears that |
Actually, it looks like it's a setting in the mathjax sphinx extension, but not documented: https://github.com/sphinx-doc/sphinx/blob/0008d576fc82e196c8b7d3c82b7718ffb11b605d/sphinx/ext/mathjax.py#L79 |
Never mind, that config option seems to be for math written in the docs (it wraps with those delimiters), not for configuring mathjax. It seems like there's not a way to adjust the mathjax config easily, so I'll just change the actual docs themselves. |
…s rendering. Changes are a bit more because of some churn thanks to notebook saving. Fixes jupyter-widgets#1267
I would have expected the captions on the attached screenshot to be rendered as equations
The text was updated successfully, but these errors were encountered: