Possible Duplicate:
Use LaTeX to produce Epub

May be this question was asked before but I could not find relevant info to solve the problem. I have a need to convert my Latex file to ePub but I could not find much information. I have "Calibre" software which converts html to ePub. So I was wondering if there is a way I can convert my LaTeX file to Html.

If I can bypass converting html and somehow directly go to ePub that would be awesome. For novices like me a working example would be a great help. Thank a lot for all your help

marked as duplicate by frabjous, Caramdir, Loop Space, lockstep, Seamus Aug 10 '11 at 12:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Since epub basically is html, I would consider this an exact duplicate. – Ben Crowell Aug 9 '11 at 18:01

Keep in mind that the ePub format is zipped (x)html, so any way of converting tex source to ePub will in effect create html or xhtml, so having html or xhtml as an intermediary is not as circuitous as it might seem.

The only application I know of that will directly take TeX source and output an ePub is pandoc (newer versions).

As for using calibre, you could use TeX4ht (htlatex) to first convert the TeX to html, which you very likely already have installed.

For an overview of various converters, see this blog post.

  • The post you reference mentions plasTeX as unfunctional, though it was the one I actually had most pleasant experience with. – eudoxos Aug 9 '11 at 17:27
  • That was just my personal experience with it. YMMV, of course. (I wrote the blog post in question.) – frabjous Aug 9 '11 at 17:53
  • @frabjous: Don't forget this blog post either: tex.blogoverflow.com/2011/07/getting-latex-on-to-the-web, and this article: ncatlab.org/doriath/show/converting%20latex%20to%20itex was converted from latex source. – Loop Space Aug 9 '11 at 18:23
  • @eudoxos - Sorry to say but I have not installed TeX4ht(htlatex) to convert to html. Honestly I was trying to find how to do this conversion. – Aku Aug 9 '11 at 19:39
  • For me, it came pre-installed when I installed TeXlive. – frabjous Aug 9 '11 at 20:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.