Mathematical formulas not displaying properly

mikerichardson's Avatar

mikerichardson

22 Aug, 2017 07:42 PM

Hi Fletcher,

'm using the 4.0b beta and I can't get math expressions to display properly using either the $LaTeX notation$ or the \\(alternative notation\\). I've enclosed a short sample .md file.

I do have the "Automatically Link to MathJax CDN for preview and export" button clicked under the Advanced Tab.

I note that the MathJax CDN shut down at the end of April 2017. I wonder if MMD is still linking to the old CDN address?

I tried adding the following to my MMD Metadata, but still no joy:

HTML header: <script type="text/javascript" async
  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

Thanks,

Mike Richardson

  1. Support Staff 1 Posted by Fletcher on 22 Aug, 2017 07:50 PM

    Fletcher's Avatar

    The file you sent me works just fine.

    Did you try refreshing the preview in order to view the math?

    F-

  2. 2 Posted by mikerichardson on 22 Aug, 2017 08:29 PM

    mikerichardson's Avatar

    I had tried refereshing the preview but no joy.

    But, just now I hit the preview command over and over. After about the third or fourth time, the equations suddenly starting displaying properly.

    I was also seeing the same behavior when I tried previewing my file with Marked. However, that too is now working properly after yet another refresh commands.

    I'm used to having to run things several times with LaTeX to get the final product. Is this also an issue with MathJax?

    Thanks a zillion,

    Mike

  3. Support Staff 3 Posted by Fletcher on 22 Aug, 2017 10:07 PM

    Fletcher's Avatar

    I don't usually have to re-run with MathJax (but yes with LaTeX)

    Maybe you needed to reset a cache???

    F-

  4. 4 Posted by mikerichardson on 22 Aug, 2017 10:25 PM

    mikerichardson's Avatar

    Upgraded to b20 and things are going well so far. Perhaps it was only a build issue.

    Also, could be time to restart my Mac. Been running lots of large Jupyter notebook files with interactive widgets lately, and memory leaks may be eating me alive there.

    I'll let you know if it recurs.

    Cheers,

    Mike

  5. Fletcher closed this discussion on 23 Aug, 2017 01:36 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac