Convert a HTML string to LATEX using Python