Version 28.2.x problems with MathJax

The place to report Pale Moon specific bugs on the Windows operating system.
Locked
User avatar
Gammatester
Newbie
Newbie
Posts: 3
Joined: 2018-12-07, 09:54

Version 28.2.x problems with MathJax

Post by Gammatester » 2018-12-07, 10:06

The Palemoon 28.2.x series has problems to display MathJax-Rendering in comments at https://math.stackexchange.com/, see e.g. the post https://math.stackexchange.com/question ... y-frach-n2 . With 28.2.x you see that you see no math formula in the comments.

SInce this is an essential feature I am still using version 28.1.0, which displays the page correctly. I tried all 28.2.x versions, but immediately revert to 28.1.0.

User avatar
satrow
Forum staff
Forum staff
Posts: 1851
Joined: 2011-09-08, 11:27

Re: Version 28.2.x problems with MathJax

Post by satrow » 2018-12-07, 10:31

I'm no mathematician but we may need screenshots and more details.
PM_Equations.jpg

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29203
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Version 28.2.x problems with MathJax

Post by Moonchild » 2018-12-07, 11:06

No problems with default settings either.
MathJax does seem to have settings of its own, though, so maybe you accidentally changed something there that won't work in Pale Moon?
Attachments
Image1.png
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
Gammatester
Newbie
Newbie
Posts: 3
Joined: 2018-12-07, 09:54

Re: Version 28.2.x problems with MathJax

Post by Gammatester » 2018-12-07, 11:30

Your screen shot is not from the comments sections. How can a post imges? Meanwhile look at the comments in the answer:

Code: Select all

Isn't this summing as opposed to ? – Badam Baplan

Thank You, that is something yet. Any ideas about the second part? – Isak

@BadamBaplan: it is summing the right thing, since . – Jack D'Aurizio

nice, thanks for explaining. this is a nice approach. – Badam Baplan

@Isak: the difficult part is essentially which appears to be manageable by summation by parts. – Jack D'Aurizio
With 28.2.2 you can see no formula, the source code for the last comment from above is

Code: Select all

<span class="comment-copy">@Isak: the difficult part is essentially $\sum_{n\geq 1}\frac{H_n^{(2)}}{(2n+1)^2}$ which appears to be manageable by summation by parts.</span>
                    &ndash;&nbsp;<a href="/users/44121/jack-daurizio"
                       title="283,999 reputation"
                       class="comment-user">Jack D'Aurizio</a>
The MathJax part $\sum_{n\geq 1}\frac{H_n^{(2)}}{(2n+1)^2}$ is not displayed.

I have added two images as attachments the first from 28.1.0 the second from 28.2.2
Attachments
mse_pm10.1.png
mse_pm10.2.2.png
Last edited by Gammatester on 2018-12-07, 11:43, edited 2 times in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29203
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Version 28.2.x problems with MathJax

Post by Moonchild » 2018-12-07, 11:41

Hmm.. weird. It indeed doesn't display, until I open the devtools, THEN it displays... and remains displayed after closing devtools again.
With there being no issue with devtools open, it becomes really difficult to troubleshoot, though.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
JustOff
Moon Magic practitioner
Moon Magic practitioner
Posts: 2070
Joined: 2015-09-03, 19:47
Location: UA
Contact:

Re: Version 28.2.x problems with MathJax

Post by JustOff » 2018-12-07, 11:50

Looks like the Firefox 52 compatibility mode is required here:

Code: Select all

general.useragent.override.math.stackexchange.com -> Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.9) Gecko/20100101 Goanna/4.1 Firefox/52.9 PaleMoon/28.2.2
Here are the add-ons I made in a spare time. That was fun!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29203
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Version 28.2.x problems with MathJax

Post by Moonchild » 2018-12-07, 11:54

OK, so there's a workaround. Add a useragent override for math.stackexchange.com:

Code: Select all

Mozilla/5.0 (Windows NT 6.1; rv:52.9) Gecko/20100101 Firefox/52.9
Since the mathjax library does UA sniffing and changes code based on what it finds, it'll be difficult to find out what change exactly in Firefox code is responsible for it not displaying with the later compatibility mode version.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29203
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Version 28.2.x problems with MathJax

Post by Moonchild » 2018-12-07, 12:09

"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
Gammatester
Newbie
Newbie
Posts: 3
Joined: 2018-12-07, 09:54

Re: Version 28.2.x problems with MathJax

Post by Gammatester » 2018-12-07, 12:21

Thank you.

After changing general.useragent.compatMode.version to 52.9 version 28.2.2 worked as expected.

User avatar
JustOff
Moon Magic practitioner
Moon Magic practitioner
Posts: 2070
Joined: 2015-09-03, 19:47
Location: UA
Contact:

Re: Version 28.2.x problems with MathJax

Post by JustOff » 2018-12-07, 13:28

Moonchild wrote:it'll be difficult to find out what change exactly in Firefox code is responsible for it not displaying with the later compatibility mode version.
Perhaps this can help:

Last bad: http://ftp.mozilla.org/pub/firefox/tind ... .win32.zip
First good: http://ftp.mozilla.org/pub/firefox/tind ... .win32.zip
Pushlog: https://hg.mozilla.org/mozilla-central/ ... e1febee19e
Here are the add-ons I made in a spare time. That was fun!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29203
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Version 28.2.x problems with MathJax

Post by Moonchild » 2018-12-07, 20:14

Thanks. Looks like it's bug #1338678 since its testcase displays the same devtools oddity-behavior.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
JustOff
Moon Magic practitioner
Moon Magic practitioner
Posts: 2070
Joined: 2015-09-03, 19:47
Location: UA
Contact:

Re: Version 28.2.x problems with MathJax

Post by JustOff » 2018-12-07, 22:15

Moonchild wrote:Looks like it's bug #1338678 since its testcase displays the same devtools oddity-behavior.
Nice catch, I can confirm this one helps! But you better port it yourself, because lately I'm trying not to alter the code, which I don't understand quite clearly. And perhaps bug #979782 also needs attention, as a follow-up.
Here are the add-ons I made in a spare time. That was fun!

Locked