Testing the EPUB3 / MathML Support of the E-Book Reader

One subject which I wrote about before was, that while the MathML standard exists, as well as E-Book Readers capable of parsing at least a subset of the EPUB3 standard, most E-Book Readers that people can download and use fully, for free, under Android, fail to do so.

Specifically, I was disappointed that ‘FBReader’ fails to do so. OTOH, I had already written that ‘Infinity Reader’, an Android app that requires an in-app purchase to get rid of the advertisements, at least does support that part of the standard.

The following is a document, which the reader of this blog can use, to test this ability:

http://dirkmittler.homeip.net/MathML-Test_1.epub

(Update 1/31/2020, 20h05 … )

(As of 1/29/2020, 14h30 : )

On this blog, unless I really need to typeset Math perfectly, I’ve been using the EPUB2 posting-tag, and encoding Math to standard HTML, without any MathML. In case the reader did not know, an EPUB File is really a collection of HTML Files (in addition to other file-types one would find on a Web-site, as well as a manifest file), that have been Zipped. (:2) When I tell my software to output Math notation to this form of HTML, what it will often do is to generate PNG Image Files, and to flow those in-line with text. And the evil with that is, that an image flowed in that way, can be commanded by the HTML in question, or the CSS File (more probably), to align with the text, so that the text will be at the Top, in the Middle, or with the Bottom of the image. Why is that a problem? Because even though I have given the appropriate HTML directives in the past, the way some EPUB-capable E-Book Readers render it, ignores the specific instructions…

Screenshot_20200130_162746

… (:1)

One step which I always take, is to preview the (main) HTML File using Firefox, before generating an EPUB File.

Continue reading Testing the EPUB3 / MathML Support of the E-Book Reader