View Single Post
Old 06-14-2021, 10:32 AM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
I just tested it and had no trouble at all but you have to understand one thing:

Clicking inside a mathml equation in CV or clicking inside an equation in Preview can *never* work.

Neither actually exists in the other.

Inside Preview MathJax replaces the mathml with inline svg of the image.

So when you click in CV inside a mathml tags there is no equivalent node in the DOM inside of Preview.

When in Preview and you click inside an mathml equation, you are clicking in an svg image that has no correspondence in CV.

To use Sigil to navigate by clicking in CV and PV, simply click on any non-mathml element that will exist in both and they will sync.

That is just a limitation of how MathJax works.

As for BibiReader and MathJax, you probably have to load it in the extensions folder inside bibi since bibi itself does not come with or support mathjax.

This is why I really wanted true mathml support in browsers but when Chrome decided to drop it, and replace it with a polyfill kludge (ie. MathJax) it really hurts. As few browsers support true mathml and even fewer support the mml3 extensions (which is what that test case is testing).

If you check it out in calibre which uses Mathjax 3 + you will see much of that testcase is broken because even MathJax in its 3.X versions dropped mml3 support which will hopefully be soon added back.

Last edited by KevinH; 06-14-2021 at 10:37 AM.
KevinH is offline   Reply With Quote