errors and tex