Update latex to xml