I am interested in checking out conversion to EPUB (even though it is not supported). I’ve copied what seemed relevant from the examples/epub directory, installed mathjax-node-page (I think), and run the build.sh script (after modifying a few paths).
I do get a sampler.epub file (55.2 MB? in a tmp/scratch/epub subdirectory) which I can view in an E-book viewer on my computer. But the Chapter 3 A Bit of Math page does not show any of the math. And when I convert the epub file to a mobi file (326.6 kB), the many complaints include lines like,
qt.svg: link #glyph0-1 is undefined!
So I probably do not have the right set-up in mathjax-node-page to get the conversion of math to svg images.
Running the script does include PTX warnings about needing to set baseurl and that xsl conversion alone is not sufficient to create an EPUB. I did set baseurl in my publication.xml file and tried xsltproc using pretext-epub.xsl, but the only obvious output was a mimetype file.
Another output, common to both running the build.sh and the xsltproc, was several lines that began with:
<?xml version="1.0" encoding="UTF-8"?>
followed by other stuff including <image ... /> tags for the images in the sampler.
I tried inserting that stuff in a file image-list.txt (which is a filename mentioned in a different warning message), but it had no evident effect on the sampler.epub file.