Not fully-featured LaTeX parser