convert simple LaTeX expressions to unicode

This script attempts to translate LaTeX math markup to a human-readable form that uses Unicode characters wherever possible.

This was inspired by a similar project by ypsu.


  • Improve the handling of whitespace.
  • Support \text.
  • Improve parenthesization of \sqrt and \frac.
    • Start by not parenthesizing atoms with \sqrt.