MHB What is the solution to the MathJax and Android's Chrome bug?

  • Thread starter Thread starter mathdad
  • Start date Start date
  • Tags Tags
    Line Slope
mathdad
Messages
1,280
Reaction score
0
The slope of y = x is 1.

Why is this the case?
 
Mathematics news on Phys.org
Suppose we pick two distinct points on the line:

$$P_1(a,a)$$ and $$P_2(a+h,a+h)$$ where $0\ne h$

Then:

$$m=\frac{\Delta y}{\Delta x}=\frac{a+h-a}{a+h-a}=\frac{h}{h}=1$$
 
MarkFL said:
Suppose we pick two distinct points on the line:

$$P_1(a,a)$$ and $$P_2(a+h,a+h)$$ where $0\ne h$

Then:

$$m=\frac{\Delta y}{\Delta x}=\frac{a+h-a}{a+h-a}=\frac{h}{h}=1$$

I am having trouble reading your replies. Your Latex "hides" behind your words in bold letters.

- - - Updated - - -

MarkFL said:
Suppose we pick two distinct points on the line:

$$P_1(a,a)$$ and $$P_2(a+h,a+h)$$ where $0\ne h$

Then:

$$m=\frac{\Delta y}{\Delta x}=\frac{a+h-a}{a+h-a}=\frac{h}{h}=1$$

The words "and" and "where" are blocking the two points you talk about in your reply. Can you fix this problem? Talk to the owner of the site.
 
RTCNTC said:
I am having trouble reading your replies. Your Latex "hides" behind your words in bold letters.

- - - Updated - - -
The words "and" and "where" are blocking the two points you talk about in your reply. Can you fix this problem? Talk to the owner of the site.

I might be able to handle this myself without bothering Jameson, as I also know a thing or two about vBulletin and implementing $\LaTeX$ by MathJax on web pages.. :D

First, what OS/browser are you using, because no one else has reported any issues with my posts.
 
I have the same problem on my Samsung Android phone in both Chrome and the native browser.
MathJax re-renders 3 or 4 times in different fonts and spacings and ends up in a smaller font for which insufficient space is reserved.
When I tilt my screen to landscape it's still wrong, but when I refresh it, it ends up almost okay.
I've made a screenshot but the dialog to upload it doesn't work on Android. Anyway, it looks exactly as RTCNTC described.
If I switch to the mobile style it renders correctly with the proper font size. The mobile style is just not feasible though. It is too limited in its features.
 
I like Serena said:
I have the same problem on my Samsung Android phone in both Chrome and the native browser.
MathJax re-renders 3 or 4 times in different fonts and spacings and ends up in a smaller font for which insufficient space is reserved.
When I tilt my screen to landscape it's still wrong, but when I refresh it, it ends up almost okay.
I've made a screenshot but the dialog to upload it doesn't work on Android. Anyway, it looks exactly as RTCNTC described.
If I switch to the mobile style it renders correctly with the proper font size. The mobile style is just not feasible though. It is too limited in its features.

You can deactivate the Fast Preview via the MathJax menu. Right-click any equation and go to Math Settings -> Math Renderer -> Fast Preview and turn that off. Please let me know if tis resolves the issue on your mobile device. :D
 
MarkFL said:
You can deactivate the Fast Preview via the MathJax menu. Right-click any equation and go to Math Settings -> Math Renderer -> Fast Preview and turn that off. Please let me know if tis resolves the issue on your mobile device. :D

Unfortunately there's no right-click on Android, and the closest thing to it (long press) pops up a different menu.
Now that I know about it, I've disabled Fast Preview on my regular computer - faster loading times, less jumping, and we have to wait for it anyway. Yay!
Is there any other way to switch it off?
A quick google doesn't help, other than explaining it can apparently be configured on the server-side.
How about switching it off globally?
To read any of our pages, I think we have to wait for full rendering anyway.
 
I like Serena said:
Unfortunately there's no right-click on Android, and the closest thing to it (long press) pops up a different menu.
Now that I know about it, I've disabled Fast Preview on my regular computer - faster loading times and less jumping (I think), yay!
Is there any other way to switch it off?
A quick google doesn't help, other than explaining it can apparently be configured on the server-side.

No right-click? Wow...I knew those pocket gadgets were relatively limited, but didn't know they are that bad. (Bug)

It can be disabled sitewide, but I don't know if this is something the majority wants. (Bandit)
 
MarkFL said:
No right-click? Wow...I knew those pocket gadgets were relatively limited, but didn't know they are that bad. (Bug)

Heh. Quote Break. ;)

It's not just pocket gadgets, it also applies to tablets, which are quickly gaining in popularity over laptops.
Nowadays web designers have to consider how their site can be viewed on such devices.

MarkFL said:
It can be disabled sitewide, but I don't know if this is something the majority wants. (Bandit)

I seems to me that the majority will want faster loading times, less jumping, and in practice we have to wait for the rendering to complete anyway, to be able to read the pages we have without them shifting while we're trying read.Btw, here's the screen shot:
View attachment 6398
 

Attachments

  • MathJax_size_problem.png
    MathJax_size_problem.png
    12.1 KB · Views: 87
  • #10
MarkFL said:
I might be able to handle this myself without bothering Jameson, as I also know a thing or two about vBulletin and implementing $\LaTeX$ by MathJax on web pages.. :D

First, what OS/browser are you using, because no one else has reported any issues with my posts.

I do not have a computer or laptop. I use my Samsung J7 Galazy phone for all internet activities.
 
  • #11
Okay, I have disabled the fast preview globally, since mobile devices don't allow disabling it locally. Let me know if this resolves the issue. :D
 
  • #12
MarkFL said:
Okay, I have disabled the fast preview globally, since mobile devices don't allow disabling it locally. Let me know if this resolves the issue. :D

It's definitely an improvement, loading time is much less, and there's no jumping any more. (Happy)
Effectively we still have a preview, which is the raw latex.
And now it refreshes once into the final view instead of refreshing 3 or 4 times while jumping up and down.

Unfortunately it doesn't solve the issue. The spacing is still wrong. (Worried)
 
  • #13
MarkFL said:
Suppose we pick two distinct points on the line:

$$P_1(a,a)$$ and $$P_2(a+h,a+h)$$ where $0\ne h$

Then:

$$m=\frac{\Delta y}{\Delta x}=\frac{a+h-a}{a+h-a}=\frac{h}{h}=1$$

I can't see the points. Did you say the first point is
(a, a) and point 2 is (a + h, a + h)?

- - - Updated - - -

MarkFL said:
Okay, I have disabled the fast preview globally, since mobile devices don't allow disabling it locally. Let me know if this resolves the issue. :D

No. The Latex problen remains. Let me check my tablet.

- - - Updated - - -

MarkFL said:
Okay, I have disabled the fast preview globally, since mobile devices don't allow disabling it locally. Let me know if this resolves the issue. :D

No Latex issue on the tablet. I will use my tablet to read your Latex replies.
 
  • #14
I like Serena said:
...Unfortunately it doesn't solve the issue. The spacing is still wrong. (Worried)

That is unfortunate, but is an issue that needs to be addressed either by MathJax, or better, by the manufacturers of the mobile browsers. I like to use the metaphor of riding a tricycle on the interstate highway for mobile devices accessing the internet. Rather than redesign the highway, I would say the tricycles need to be improved instead. :D
 
  • #15
MarkFL said:
That is unfortunate, but is an issue that needs to be addressed either by MathJax, or better, by the manufacturers of the mobile browsers. I like to use the metaphor of riding a tricycle on the interstate highway for mobile devices accessing the internet. Rather than redesign the highway, I would say the tricycles need to be improved instead. :D

Can you take a look at my Test for Symmetry Parts 1 and 2 questions involving absolute value? I know the rules for testing for symmetry but not too sure if the rules apply in terms of absolute value.
 
  • #16
MarkFL said:
That is unfortunate, but is an issue that needs to be addressed either by MathJax, or better, by the manufacturers of the mobile browsers. I like to use the metaphor of riding a tricycle on the interstate highway for mobile devices accessing the internet. Rather than redesign the highway, I would say the tricycles need to be improved instead. :D

I can see that the problem is known, for instance here:
MathJax and Android's Chrome bug - Mathematics Meta Stack Exchange
Unfortunately it doesn't offer a solution.
 
Back
Top