Skip to content

first pass at adding mathjax #683

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

Closed
wants to merge 1 commit into from
Closed

first pass at adding mathjax #683

wants to merge 1 commit into from

Conversation

chriddyp
Copy link
Member

@chriddyp chriddyp commented Feb 2, 2017

Using the workaround as suggested here:
#515 (comment)

Using the workaround as suggested here:
#515 (comment)
@chriddyp
Copy link
Member Author

chriddyp commented Feb 2, 2017

The codeblock as mentioned by @jjaraalm doesn't actually work for me. Perhaps that patch only works for a certain version of Jupyter?

image

The error from mathjax is pretty cryptic, I'm not very familar with how this works: https://github.com/mathjax/mathjax-docs/wiki/'Can't-make-callback-from-given-data'-error-if-resetEquationNumbers-is-called-when-no-math-is-typeset

@jjaraalm
Copy link

jjaraalm commented Feb 2, 2017

Wow. Completely forgot about this ... was going to make a PR at one time but just never did. I'll check this out tonight and see if I can help figure out what's going on.

@chriddyp
Copy link
Member Author

chriddyp commented Feb 2, 2017

@jjaraalm - that would be great, thank you!

@chriddyp
Copy link
Member Author

chriddyp commented Feb 2, 2017

Alternatively, sometimes I get this message
image

@chriddyp chriddyp mentioned this pull request Feb 2, 2017
@jjaraalm
Copy link

jjaraalm commented Feb 2, 2017

I'm not having any issues on my end, so I'm going to just try and take a stab at what's going on for you. To me it looks like a configuration issue with the way Jupyter is setup or installed. In the first screenshot, you'll get that error if MathJax hasn't been started (by calling MathJax.Hub.Configured()), but both Jupyter and plotly.js should be calling that. For the second screenshot, it's failing to load the SVG config file jax/output/SVG/config.js for some reason. Can you check to make sure you have the file? If MathJax can't load the render config file, it looks like it just keeps trying and enters into an infinite loop.

Also, looks like you're running an older version of Jupyter. Current Jupyter ships with MathJax 2.6, but you have 2.5.3. Not sure if this is important though.

@jonmmease
Copy link
Contributor

superseded by work in #1169

@jonmmease jonmmease closed this Sep 20, 2018
@nicolaskruchten nicolaskruchten deleted the offline-mathjax branch June 19, 2020 16:09
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.

3 participants