Bug 687809 (mathml-in-mathjax)

MathML in MathJax

NEW
Unassigned

Status

()

defect
8 years ago
2 years ago

People

(Reporter: fredw, Unassigned)

Tracking

(Depends on 5 bugs, Blocks 1 bug, {meta})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

()

Reporter

Description

8 years ago
MathJax is a popular Javascript library to display mathematical formulas in any browser. For Firefox, the native MathML rendering is used. MathJax is also able to convert LaTeX to MathML. However, our MathML support has some issues that prevent the markup generated by MathJax to render correctly. This makes some people switch to MathJax's layout engine and it's a shame.

This is a tracking bug for issues that have been reported by MathJax folks. It looks like more and more people are using MathML throughout this library and so it seems important to fix these bugs.
Reporter

Updated

8 years ago
Depends on: mathvariant
No longer depends on: 114635

Comment 1

8 years ago
Printing issues reproducible using MathJax too?

Comment 2

8 years ago
MathJax using MathML-based rendering that is.
Reporter

Updated

8 years ago
Depends on: mlabeledtr-support
Reporter

Updated

8 years ago
Reporter

Comment 3

8 years ago
MathJax also has its own Open Type fonts, which look closer to LaTeX fonts and thus are often preferred by MathJax users. That may be interesting to see if we can support them. They do not seem to contain an OpenType MATH table, though.
Reporter

Comment 4

8 years ago
Adding bug 468568.
See MathJax issue tracker:
https://github.com/mathjax/MathJax/issues/13
Depends on: 468568
Reporter

Comment 5

8 years ago
(In reply to Frédéric Wang from comment #4)
> Adding bug 468568.
> See MathJax issue tracker:
> https://github.com/mathjax/MathJax/issues/13

Sorry it is https://github.com/mathjax/MathJax/issues/172
Reporter

Updated

8 years ago
Depends on: 697053
Reporter

Comment 6

8 years ago
(In reply to [Baboo] from comment #1)
> Printing issues reproducible using MathJax too?

I've added dependencies to bug 697053 and bug 468568.

Updated

8 years ago
Duplicate of this bug: 698375
Reporter

Updated

8 years ago
Depends on: mathjax-fonts
Reporter

Updated

7 years ago
Depends on: mtable-width
Reporter

Comment 8

7 years ago
Another bug due to bad width computation (testcase to reduce):
https://github.com/mathjax/MathJax/issues/88
Reporter

Comment 9

7 years ago
Things to do for MathJax fonts:
- horizontal braces (see bug 701758 comment 2)
- add rules in mathml.css (see bug 701758 comment 13)
- allow use of downloadable fonts (see bug 701758 comment 17)
Reporter

Updated

7 years ago
Depends on: mathml-fonts
Reporter

Updated

7 years ago
Depends on: 732830
Reporter

Updated

7 years ago
Depends on: 732832
Reporter

Updated

7 years ago
Reporter

Updated

7 years ago
Alias: mathml-in-mathjax
Reporter

Updated

7 years ago
No longer depends on: 508120
Reporter

Updated

7 years ago
Depends on: 656429
Reporter

Updated

7 years ago
Blocks: mathjax
Reporter

Updated

7 years ago
No longer depends on: 468568
Reporter

Comment 10

7 years ago
MathJax has three commands \mathtip, \texttip and \toggle that generate maction elements: http://cdn.mathjax.org/mathjax/latest/unpacked/extensions/TeX/action.js
Reporter

Updated

7 years ago
Depends on: 717546
Reporter

Updated

7 years ago
No longer depends on: 656429

Comment 11

7 years ago
I noticed that Firefox on snow leopard is extremely slow with MathJax content.

Please open this page http://math.elinkage.net/showthread.php?tid=102&pid=670#pid670 with various browsers.

Stop and reload is helps but it's just strange why the page cannot load in the first request
Reporter

Comment 12

7 years ago
(In reply to elim.qiu from comment #11)
> I noticed that Firefox on snow leopard is extremely slow with MathJax
> content.
> 
> Please open this page
> http://math.elinkage.net/showthread.php?tid=102&pid=670#pid670 with various
> browsers.
> 
> Stop and reload is helps but it's just strange why the page cannot load in
> the first request

This bug is to track MathML issues related to MathJax. Apparently, the page you refer to seems to use MathJax's HTML-CSS rendering so your problem would better be handled on the MathJax side or, if one can determine a precise reason of slowness in Firefox, as a dependency of bug 745687.

Anyway, MathJax's rendering engine is entirely written in Javascript and that's why it is so slow compared to the native rendering of browsers, especially for pages that contain a lot of formulas. Maybe MathJax's code can still be optimized (improvements have been made in version 2.0, but the page you mention still uses version 1.1) and Javascript execution in browsers can be made faster. But this will never be as efficient as Gecko's native rendering. So your problem will really be fixed by making MathJax use Firefox's MathML by default again, which is now the main goal of the present bug entry.

Other possible reasons:
- download time of Web fonts: to fix that, you can install local version of MathJax/STIX fonts on your system.
- LaTeX parsing: could be made faster if done before serving the page.

BTW, for those following this bug, Wikipedia now has an experimental MathJax option:
http://groups.google.com/group/mozilla.dev.tech.mathml/browse_frm/thread/0ec9c3ccaee4964c#
Reporter

Updated

7 years ago
No longer blocks: mathjax
Reporter

Updated

7 years ago
Blocks: mathjax
Reporter

Updated

7 years ago
Depends on: 442637
Reporter

Updated

7 years ago
Depends on: 415413, 459363
Reporter

Updated

7 years ago
Depends on: stretch-mtd-math
Reporter

Updated

6 years ago
Depends on: 854339
Reporter

Updated

6 years ago
Depends on: 875294
Reporter

Updated

6 years ago
Depends on: 877563
Reporter

Updated

6 years ago
Depends on: 491668
Reporter

Updated

6 years ago
Blocks: 941607
Reporter

Updated

6 years ago
No longer blocks: 941607
Depends on: 941607
Reporter

Updated

6 years ago
Depends on: 941611
Reporter

Updated

5 years ago
No longer depends on: 491668
You need to log in before you can comment on or make changes to this bug.