Math not showing in Composer 4.5.12

john's Avatar

john

26 Nov, 2019 11:33 PM

Hi, I've been using Multimarkdown with text editors and Marked2 for quite some years. I thought I'd give MultiMarkdown composer another try, especially with the App Store purchase (which is convenient considering I have a lot of machines.)

I'm enjoying it, except my math isn't rendering in Composer. It is rendering fine in Marked 2. I googled a bit and it seems like a sandboxing problem, perhaps? I do have "Automatically link to MathJax CDN for preview and export" checked.

For instance, ${1}/{\lambda }*w$ on the left side is showing up as \({1}/{\lambda }*w\) on the right side, whereas in Marked 2 it shows up as a nice equation.

I'm trying the free version, but will buy the Pro version if I can get the math working.

Thanks for any help!

  1. 1 Posted by john on 28 Nov, 2019 09:33 PM

    john's Avatar

    Anyone have math display working in Composer 4.5.12?

  2. Support Staff 2 Posted by Fletcher on 03 Dec, 2019 09:53 PM

    Fletcher's Avatar

    John,

    Sorry for the delay in responding. I was out of town, and now getting caught up between that and the holidays.

    Getting Math to preview correctly *LIVE* requires a couple of things:

    1. You can use MathJax in the default prefs, and use the Refresh Preview to re-run the MathJax script manually

    2. You can change the prefs so that a full reload is performed with every update. This works, but you then see the refresh process with each keystroke, so it might be disruptive while typing. If so, you can change so the preview only updates when you save the file, so you can control the refresh rate yourself.

    3. You can use KaTeX instead of MathJax (requires modifying the MultiMarkdown metadata to point to a different script location:

    Here is an example of metadata that links to MathJax:

    https://fletcher.github.io/MultiMarkdown-6/MMD_Users_Guide.html#math

    You can do a similar thing to use other javascripts as well.

    I am using KaTeX as the built-in math script for nvUltra, which works well from a performance standpoint, but apparently does not offer the same level of LaTeX functionality as MathJax. So I am not certain if that will become the default in Composer or not. It will need some further testing with pro-level LaTeX users, which is not the real target audience for nvUltra

    While the Pro version offers many other features, it should not change this particular aspect. So don't upgrade until you decide you want it for other reasons.

    F-

    --
    Fletcher T. Penney
    Manager, Founder
    MultiMarkdown Software, LLC
    [email blocked]

  3. 3 Posted by john on 09 Dec, 2019 06:11 PM

    john's Avatar

    Thanks for the update. Just for others who encounter this issue, if you press CommandR to refresh your view you might see the math. As Fletcher points out, the difficulty is in getting it to

    'preview correctly LIVE'.

    Also, you may want to specifically include the html header to load your script, like:

    HTML header: <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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