-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
upgrade to MathJax 3 [with git history] #13877
Conversation
Left align math in cell outputs for KaTeX and MathJax3 extensions.
Compat with jlab 0.34
From the update-dependency script in @jupyterlab/buildutils: update-dependency.js --lerna --minimal --regex '^@jupyterlab/' ^next
Update for JupyterLab 0.35
CI failures all seem to be related to
Other CI failures are due to upstream issues, e.g. server error from pre-commit.ci and failing visual regression tests on latest version of master. |
Normally the package should already be published on npm (from the last time): https://www.npmjs.com/package/@jupyterlab/mathjax-extension |
@jtpio The latest version published is |
Right, I'll have a look and report here. |
@dlqqq I just published a newer version and restarted the CI checks. |
bot please update snapshots |
Documentation snapshots updated. |
Galata snapshots updated. |
59b8588
to
3b7de77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dlqqq
Merging as is to reduce burden - but we should solve the remaining points/issues before 4.0.0 final
|
Can anyone help me understand how to call MathJax methods now? Background: My Python+Javascript library JupyterQuiz generates interactive quizzes that can include LaTeX, but I need to call the appropriate method to tell MathJax to typeset the LaTeX code, because it is loaded by Javascript. For MathJax 3, the usual way to do this to to pass the element to MathJax.typeset(), but the MathJax global object in JupyterLab 4+ does not have the appropriate methods -- it still looks like the pre-loading version of the MathJax object. Reference: From the MathJax 3 docs: "The global variable MathJax is used to store the configuration for MathJax. Once MathJax is loaded, however, MathJax changes the MathJax variable to contain the various methods needed to control MathJax." It seems that the MathJax variable never gets updated in JupyterLab 4. Any help would be greatly appreciated! |
@jmshea folks usually don't look at comments on closed PRs so I would suggest that you open a new issue instead, please. |
References
Code changes
jupyter-renderers/mathjax3-extension
while preserving git history.packages/mathjax2{,-extension}
and addspackages/mathjax-extension
.User-facing changes
mathjax3-extension
Bugs
Backwards-incompatible changes
None known.