My go at a LaTex to HTML and epub converter