LaTeX to Epub

So, let's pretend for a second. Let's pretend that you write literature and - for reasons beyond mortal understanding - you write in LaTeX. I know: Crazy, right? In this purely hypothetical situation, you might one day want to convert your beautiful TEX-file into an even more stunning EPUB. Oh, and for the sake of argument: Let's say you're an Ubuntu user.