-
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
MathJax3 in Jupyterlab4 #3829
Comments
See also the Label and HTMLMath widgets currently don't render correctly. https://ipywidgets.readthedocs.io/en/stable/examples/Widget%20List.html#label |
Hello, i am struggling with for some time now, happy to see that someone identified the problem, |
As i said, i probably cant contribute much do the solution, but i would be very happy if that gets fixed so what i found is the update manual from mathjax at: maybe that helps someone who knows how to read this ;) |
…jax' into jupyter-widgetsgh-3829-lab4-mathjax
Try to use manager's latexTypesetter if window.MathJax is not defined
hello there, https://ipywidgets.readthedocs.io/en/8.1.3/examples/Widget%20Layout.html#latex and it is still also broken there. Is there any way of going around this? |
I think it has been resolved by this PR, but as you say still doesn't render in the documentation. Have you tried with the latest version of jupyterlab_widgets?
|
Thanks for the reply i will have to try the newest version then! |
It looks like JupyterLab 4 switched to using MathJax3 (jupyterlab/jupyterlab#13877).
Looking in the source for ipywidgets
ipywidgets/packages/controls/src/utils.ts
the functiontypeset
hasn't been upgraded to work with MathJax3. source here and copied below.The MathJax upgrade notes here explain that
Mathjax.Hub
has" been removed entirely" which results in an attribute error in the code snippet above Mathjax content is not empty.The issue was observed in the package
ipylab
which subclasses a VBox to create new classesPanel
andSplitPanel
. The issue is reported here: jtpio/ipylab#129 (comment)The text was updated successfully, but these errors were encountered: