Latex parser is sort of working