verilog15
(verilog)
24 Agosto 2019, 11:04pm
1
Hi guys, I noticed that the MathJax formulas going out of the limits of the posts:
It happens only for the mobile mode. Is it possible to hear some suggestions on how to fix it? I guess we need to somehow reduce the size of it so it could break somehow.
4 Mi Piace
verilog15
(verilog)
6 Settembre 2019, 11:15am
3
Still having this problem . Someone can maybe help?
Thank you.
1 Mi Piace
Zususu
7 Settembre 2019, 1:47pm
4
Having the same issue. Have you solved it maybe?
verilog15
(verilog)
7 Settembre 2019, 11:57pm
5
No, I still having the problem. Looks like no one cares though
Johani
(Joe)
8 Settembre 2019, 12:03am
6
We do care, a lot.
Please be patient. Weâll get this fixed.
5 Mi Piace
If you would like us to care more and care harder & faster about your specific problem, feel free to pay us by signing up for a hosting plan at https://discourse.org/buy
3 Mi Piace
Any updates on this issue? Weâre using MathJax and running into the same problem on mobile devices.
Johani
(Joe)
5 Marzo 2020, 8:53pm
11
This was fixed a while back.
master â hnb-ku:responsive-branch
merged 05:08AM - 09 Sep 19 UTC
context: https://meta.discourse.org/t/discourse-math-plugin/65770/137
This PR⌠adds styles that allow equations to be responsive. This has been tested with both MathJax and Katex. MathJax testing includes all the different renderers.
* HTML-CSS
* Common HTML
* Preview HTML
* MathML
* SVG
* Plain Source
This has also been tested with Asciimath on all 6 renders above.
Wide equations will now behave like this on desktop
https://d11a6trkgmumsb.cloudfront.net/original/3X/a/1/a1d8e2785d538069aa7b3051028cc109ed454ebf.mp4
and like this on mobile
https://d11a6trkgmumsb.cloudfront.net/original/3X/0/3/03aa3ca7e2dd43d3ab45d11c4c6864dfc86fc6b5.mp4
The videos above demonstrate the behaviour for all equations regardless of the math provider and the renderer. They will all behave like that.
On mobile, the PR adds a slight fade on either side to indicate that the user can scroll if the equation is wide.
Is your site up to date? Is the plugin up to date on your site? Can share an example the problem youâre running into?
1 Mi Piace
Yes, the site and plugin are up to date. Here is an example of the issue:
In case, you want to know how the âSpot Interest Ratesâ derive, you can calculate by using bootstrapping from the par curve: Spot rate Yr 1 => \begin{eqnarray} 100 &=& \frac{101.5}{(1+S_1)^1} \nonumber\\ S_1 &=& {1.5\%}...
Stephen
(Stephen)
5 Marzo 2020, 10:09pm
13
Could you maybe share a screenshot, as what I see is:
Edit: several refreshes later:
Which looks right, no?
Johani
(Joe)
5 Marzo 2020, 10:20pm
14
If youâre referring to that last equation, itâs wider than most mobile viewports and so it can be scrolled horizontally like so
Are you experiencing something different?
1 Mi Piace
I am not seeing the scrolling option on a mobile device. When I use a mobile view in my desktop browser I do see the scroll. Here is a screenshot from my phone.
1 Mi Piace
Johani
(Joe)
5 Marzo 2020, 11:36pm
17
This should fix it
committed 11:34PM - 05 Mar 20 UTC
This commit ensures that wide equations can be scrolled on Safari. It previously⌠failed because Safari doesn't not support the two value overflow shorthand.
Thanks for reporting the issue @csandstedt
7 Mi Piace
Thank you @Johani for your help on this!
2 Mi Piace
Johani
(Joe)
Chiuso
7 Marzo 2020, 10:00am
19
This topic was automatically closed after 34 hours. New replies are no longer allowed.