View Single Post
Old 01-29-2024, 05:04 PM   #95
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,801
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
A Readium plugin bug?

Hi Kevin and Diap;

I know that Sigil has a built-in version of MathJax but since MathJax can also display equations written in TeX and that TeX formulas are easier to write than the MathML ones, I added to an epub3 the tex-svg.js script from MathJax to see how well (o not) works. I must say that works everywhere (Sigil, Calibre, Thorium, Foliate, Koodo Reader, NeatReader, etc., etc.) and even works the right click menu of MathJax (for example, open the epub in BibiReader; go to the page where are the TeX formulas; do right click and select "Show Math As > MathML Code" and you'll see the TeX formula translated to MathML) BUT it doesn't work in ADE 4.5x (doesn't matter to me) and in the Readium Sigil plugin (this is indeed important), where the the page with TeX equations can't be load (a curious thing because it works fine in Bibi Reader and EpubJS Reader, the others Sigil plugin). Please, when your time permits, can you check if is a Readium plugin bug?

Many thanks in advance.

PS: I attach an epub with both, MathML and TeX equations; the page with MathML formulas is loaded without issues in Readium, but the page with TeX formulas can not. As you will be able to see, the epub has included the mml-svg.js script. This is not necessary because Sigil can show MathML formulas without the MathJax script but I included it so you can see that Sigil, even when it has its own copy of MathJax, it honors the script because with it, the right click menu is available but when you suppress the .js file, MathML equations still are displayed (because of the MathJax built-in copy) but the right click menu is not working anymore.
Attached Files
File Type: epub MathML and MathJax.epub (1.26 MB, 723 views)

Last edited by RbnJrg; 01-29-2024 at 05:08 PM.
RbnJrg is offline   Reply With Quote