like a LaTeX parser but not