Parse pdfTeX errors
Merge parsing fix from 'master' into st3