From ab484f34532c6b4c5c653479552e80c6117b618e Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Fri, 19 Mar 2010 17:02:11 +0000 Subject: [PATCH] Backport fix for bug #6593 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33805 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeX.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp index f95c03acc4..2e3f61e4e8 100644 --- a/src/LaTeX.cpp +++ b/src/LaTeX.cpp @@ -744,6 +744,13 @@ int LaTeX::scanLogFile(TeXErrors & terr) } else if (contains(token, "That makes 100 errors")) { // More than 100 errors were reprted retval |= TOO_MANY_ERRORS; + } else if (prefixIs(token, "!pdfTeX error:")){ + // otherwise we dont catch e.g.: + // !pdfTeX error: pdflatex (file feyn10): Font feyn10 at 600 not found + retval |= ERRORS; + terr.insertError(0, + from_local8bit("pdfTeX Error"), + from_local8bit(token)); } } }