It is essentially inevitable that LaTeX has to be translated to HTML in order
to become an ePub, because ePub is simply XHTML1.1 packaged up in a particular way.
I've written a guide that draws on my own experience

here:
http://hutchinson.belmont.ma.us/tth/ebooklatex.html