new functions to find error and warnings
adapt TeX-parse-TeX
parse output buffer after running TeX