Selective filtering of warning and error messages issued by LaTeX