Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

TexMath is no longer working

#2050

Hello,

When I try to enable the TexMath setting, I don't get MathML, instead I get some long ID in its place.

Reported by Jonathan Wheeler · July 10th, 2018 @ 03:51 AM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    It's not a general problem (it's working for me). Is the TeXMath bundle enabled in the Bundles preferences pane? Also try writing texmath instead of math.

    Has it ever worked for you?

    July 10th, 2018 @ 11:09 AM

  2. Jonathan Wheeler
    Jonathan Wheeler

    It seems to work on my laptop, but it doesn't work on my desktop.

    Texmath is enabled in the Bundle preferences.

    July 11th, 2018 @ 07:09 PM

  3. benny
    benny

    Try launching MailMate from a Terminal window to see if you get any (helpful) error messages:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    

    July 13th, 2018 @ 09:50 AM

  4. Jonathan Wheeler
    Jonathan Wheeler

    Not really.

    This is the closest that I got.

    Warning: Failed to run command (Error: no lexer for alias 'math1104DDFF-E171-4A75-B3CC-9CE4004CC1BD' found
    ):
    #!/bin/bash
    
    STYLE=`defaults read com.freron.MailMate MmDefaultPygmentsStyleName 2>/dev/null`
    "${MM_BUNDLE_SUPPORT}/vendor/pygmentize" -f html -O noclasses=1,nowrap=1,style=${STYLE:-colorful} -l "${CODE_LANGUAGE}"
    
    Warning: Failed to do code styling.
    

    July 16th, 2018 @ 09:38 PM

  5. benny
    benny

    Something goes wrong when MailMate temporarily removes the math in order to process it separately and then re-insert it. The result is that it thinks the language is math1104DDFF-E171-4A75-B3CC-9CE4004CC1BD instead of just math. Does it work if you insert some newlines? (I don't need that for it to work at my end.)

    I'm thinking that maybe some combination of settings in the Composer preferences pane triggers this bug, but it's not obvious exactly how. Could you write me via “Help ▸ Send Feedback” and I'll provide some additional instructions on getting more (messy) debug output.

    July 17th, 2018 @ 07:27 AM

  6. John Smith90210
    John Smith90210

    I had a similar problem but figured out that the option "Math language: Tex to Math", was not selected in Preferences > Composer. That fixed my problem.

    February 13th, 2020 @ 04:26 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.