Thread: Calibre mathjax
View Single Post
Old 03-15-2016, 03:28 PM   #1
ELITSIO
Junior Member
ELITSIO began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2016
Device: iPad
Calibre mathjax

Hello,

this drives me crazy. I have an ePub with equations and I load mathjax in the <head> section of htmls like that:

<script type="text/x-mathjax-config">MathJax.Hub.Config({jax: ["input/MathML","output/SVG"], extensions: ["mml2jax.js"], SVG: {linebreaks: {automatic: true, width:"container"}}});</script>
<script type="text/javascript" async="async" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>

When I edit the epub in calibre, equations show perfectly, with linebreaks and all! When I try to read the epub outside the editor in calibre viewer, the equations don't show! What am I doing wrong? I use calibre in mac.

thx
Elias.
ELITSIO is offline   Reply With Quote