Quantcast
Channel: MobileRead Forums - Reading and Management
Viewing all articles
Browse latest Browse all 25088

Calibre mathjax

$
0
0
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.

Viewing all articles
Browse latest Browse all 25088

Trending Articles