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

Upgrade MathJax from v2 to v3 #5758

Closed
eeopd opened this issue Sep 17, 2020 · 5 comments
Closed

Upgrade MathJax from v2 to v3 #5758

eeopd opened this issue Sep 17, 2020 · 5 comments
Milestone

Comments

@eeopd
Copy link

eeopd commented Sep 17, 2020

Currently MathJax 2.7.4 is used, but the latest version is 3.1.2. In v3, a complete rewrite of the project, some nice improvements were made, including much faster rendering and some new packages. However, because MathJax 3.0 is a complete rewrite it includes quite a few incompatible changes, so this upgrade would require quite a bit of work to get working, and in the end result in some differing behaviours/broken TeX blocks, and also cause several extensions to break.

Would you be open to a patch? Or would working on integrating KaTeX seem preferable (#3094, #4066)?

@malouke2020
Copy link

Hi,
i am wondering if we can use jupyter whitout Mathjax , my Browser crash all time when Mathjax load page whit safe.js ???
Thanks

@jtpio
Copy link
Member

jtpio commented Jun 5, 2023

FYI the next version of the Jupyter Notebook (Notebook 7) is based on JupyterLab 4 and will use MathJax 3.

For reference this was implemented in #6777 and jupyterlab/jupyterlab#13877.

You can already try the beta with: pip install --pre notebook.

@jtpio jtpio added this to the 7.0 milestone Jun 5, 2023
@jtpio
Copy link
Member

jtpio commented Jun 9, 2023

Closing as this has now been implemented in Notebook 7.

@jtpio jtpio closed this as completed Jun 9, 2023
@jtpio
Copy link
Member

jtpio commented Jun 9, 2023

i am wondering if we can use jupyter whitout Mathjax , my Browser crash all time when Mathjax load page whit safe.js ???

If you are using JupyterLab or Notebook 7, you could look into switching to KaTeX via an extension: https://github.com/jupyterlab/jupyter-renderers

@malouke2020
Copy link

Hi,
I use the folowing version of jupyter notebook
notebook 6.5.4
notebook_shim 0.2.3
-and i try different Browser in Incognito mode and regular mode

  • i have a big data Frame that i can't split in diffrente sub part
  • when i start processing after clear all notebook and restare from scratch two things can Hapen;
  • 1 crash of google chrome or fireforx
  • 2 i lose the connection to my jupyter server (all process are in local no ssh no proy .....)
    i suspect Mathjax and Safe.js to triger that error beceasu the majorty of time i can see the paths to mathjax or safe.js loading when crash happen.
    i can't use jupyterlab for the reason i have to change css to dispaly dataframe side by side and this it's too simple with
    CSS = """
    .output {
    flex-direction: row;
    flex-flow: row wrap;
    font-size: 10pt;
    }
    """
    HTML('<style>{}</style>'.format(CSS))
    But with jupyterlab i found that hard to control all output dispaly ...
    can i ask you advice .
    Thanks

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants