jakevdp.github.io-source icon indicating copy to clipboard operation
jakevdp.github.io-source copied to clipboard

Inline math no longer rendering

Open mattpitkin opened this issue 7 years ago • 6 comments

Hi @jakevdp, the inline math on your blog pages no longer seems to be rendering. Updating the MathJax link in base.html to:

<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS_HTML" type="text/javascript"></script>

seems to fix the issue.

mattpitkin avatar Feb 03 '18 20:02 mattpitkin

Strange, it works just fine for me. What browser are you using?

jakevdp avatar Feb 03 '18 23:02 jakevdp

I now see it as an intermittent problem - just refreshing my browser (both Chrome on my laptop and on my phone) a few times seems to show inline math rendering properly about half the time. The non-inline stuff between $$ $$ seems to always renders.

Oddly, I just built a site very heavily based on yours here http://mattpitkin.github.io/samplers-demo/blog/2018/02/01/samplers-samplers-everywhere/ and the inline math never renders - although I'd be interested to see if you can see it they properly? For that site, when I made this fix it fixed the rendering issue, at least when I built the page and viewed it locally using make serve.

mattpitkin avatar Feb 03 '18 23:02 mattpitkin

Yeah, it looks OK to me:

screen shot 2018-02-03 at 4 46 51 pm

jakevdp avatar Feb 04 '18 00:02 jakevdp

In that screen shot it looks like the inline math isn't rendering for you either.

mattpitkin avatar Feb 04 '18 10:02 mattpitkin

Oh, I see, I misunderstood what you were referring to. I saw the rendered math and thought it was OK

jakevdp avatar Feb 04 '18 16:02 jakevdp

Perhaps this is the reason? https://github.com/mathjax/MathJax/issues/1138#issuecomment-86378114

astrojuanlu avatar Apr 20 '18 15:04 astrojuanlu