Improve latex-to-unicode mode