Convert bibtex to html, including correct math markup