Updates to latex parser