Converts tex documents to html using pandoc