View Single Post
Old 11-21-2015, 06:26 PM   #1
rwstowe
Junior Member
rwstowe began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2015
Device: rwstowe
Math Equations are Unreadable

Hello,

I am just starting with Calibre so that I can manage my ebooks more easily. It looks like a fantastic tool!

I have a favorite kindle engineering text book file with extension azw, and file size about 20MB. When I import it into Calibre (with the DeDRM plug-in installed), a .htmlz file is created.

If I open the .htmlz file using Calibre, it takes a few minutes to open completely to where I can navigate. Additionally, the math font for the equations does not display in a readable format. When I displayed the ebook in Kindle, the math font was readable and understandable, so it seems that something was lost in the import/conversion.

I unzipped the htmlz file and tried to insert the following html code into the main html file:
<!-- This script tag is needed to make calibre's ebook-viewer recpgnize that this file needs math typesetting -->
<script type="text/x-mathjax-config">
// This line adds numbers to all equations automatically, unless explicitly suppressed.
MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "all"} } });
</script>

The results were no change in the readability.

I also tried convert the .htmlz file into .epub with no success in being able to read the equations.

If anybody might know how to solve this problem, I would be very grateful for your response.
rwstowe is offline   Reply With Quote