showErrors function

Show errors in parsed Latex object