Closed GoogleCodeExporter closed 9 years ago
I've pushed a change to the github master branch that allows you to use
--gladtex with epub output. You'll need to write your own script to unpack the
epub, run gladtex to generate images, and possibly update epub metadata (I
think the image files will need entries in content.opf). But at least it
should be possible to do this now.
--mathml now also has an effect. I follow
http://www.dessci.com/en/reference/ebooks/EPUBMath_spec.htm here.
Unfortunately, this doesn't produce good results in any ebook reader I have
tried.
Original comment by fiddloso...@gmail.com
on 29 Apr 2011 at 6:09
Thanks, I also attach here a shell script that does the work. It depends on
gladtex and tidy and I used a hack to make it work with the current release of
pandoc.
Usage:
markdown2epub input.mkd -o output.epub
Original comment by gmo...@gmail.com
on 25 May 2011 at 1:48
Attachments:
Hi!
Great stuff! There were two problems for the script in the .tex file I tested
it with: multiple-line equations, and labels to the equations don't work, but
otherwise this combination of pandoc & gladtex (& tidy & sed & ...) is the
first way coming close to make LaTeX documents readable in an E-reader friendly
format!
Original comment by Locke...@gmail.com
on 7 Aug 2011 at 5:43
Original issue reported on code.google.com by
gmo...@gmail.com
on 29 Apr 2011 at 12:17