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

Latex / MathML rendering broken in Math chapter #291

Open
OmerShapira opened this issue Jun 7, 2018 · 3 comments
Open

Latex / MathML rendering broken in Math chapter #291

OmerShapira opened this issue Jun 7, 2018 · 3 comments

Comments

@OmerShapira
Copy link
Contributor

to repro:

Load the math chapter

\(\mathbb{Z}/12\mathbb{Z}\)) should display as rendered MathML

@ofZach
Copy link
Contributor

ofZach commented Jun 7, 2018

ah thx for pointing out -- I suspect it's a server setting / python issue... will investigate

@ghost
Copy link

ghost commented Oct 29, 2018

it may be because of mathjax cdn shutdown, the src attribute of the script tag points to the old cdn

if it's the reason, a simple replacement with :
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js
may solve this issue.

@ghost
Copy link

ghost commented Oct 29, 2018

the pandoc's manual suggests an URL can be specified to the --mathjax option, so the replacement could be on this line :

"-s", "-p", "--mathjax=https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML",

it's maybe an ugly hack but works locally where the replacement script doesn't work neither online nor locally

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

No branches or pull requests

2 participants