Skip to content
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

MathJax improvements #399

Merged
merged 2 commits into from
Sep 15, 2021
Merged

MathJax improvements #399

merged 2 commits into from
Sep 15, 2021

Conversation

alisonrclarke
Copy link
Contributor

  • Move MathJax initialisation to javascript file for consistency
  • Use tex-chtml-full component to include extensions at startup rather than autoloading
  • Only typeset new/updated elements rather than the full page

hepdata webpack buildall should be run in dev environments to build/include the new javascript file.

Fixes #395

 * Move MathJax initialisation to javascript file for consistency
 * Use `tex-chtml-full` component to include extensions at startup rather than autoloading
 * Only typeset new/updated elements rather than the full page
@coveralls
Copy link

coveralls commented Sep 14, 2021

Coverage Status

Coverage remained the same at 87.789% when pulling 1da98d8 on fix-mathjax into 7bf83c2 on master.

* Fixes broken Read the Docs build until jsmin v3.0.0 is released.
* Pin to a commit made in tikitu/jsmin#34
@GraemeWatt
Copy link
Member

Thanks a lot. I've tested and this works well. The Read the Docs build was failing, so I fixed it by pinning jsmin to a GitHub commit made in tikitu/jsmin#34. I've opened an issue #400 to upgrade to jsmin==3.0.0 after the release is made.

@GraemeWatt GraemeWatt merged commit cf33290 into master Sep 15, 2021
@GraemeWatt GraemeWatt deleted the fix-mathjax branch September 15, 2021 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

records: fix extension loading in MathJax
3 participants