Fix bug #6258: LyX incorrectly interprets tetex warnings as errors.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31517 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2009-10-04 16:11:57 +00:00
parent 7e68bcf9ac
commit 7c4f9dc43b
2 changed files with 6 additions and 1 deletions

View File

@ -659,7 +659,9 @@ int LaTeX::scanLogFile(TeXErrors & terr)
retval |= RERUN;
}
} else if (prefixIs(token, "! ") ||
fle_style && regex_match(token, sub, file_line_error)) {
(fle_style &&
regex_match(token, sub, file_line_error) &&
!contains(token, "pdfTeX warning"))) {
// Ok, we have something that looks like a TeX Error
// but what do we really have.

View File

@ -113,6 +113,9 @@ What's new
elsarticle and adapted the elsarticle.lyx template file accordingly
(bug 6189).
- Correctly distinguish warnings from errors when using teTeX with
file:line:error style (bug 6258).
* USER INTERFACE