Recognize changed babel error message (rewording)

This commit is contained in:
Juergen Spitzmueller 2013-12-14 13:19:40 +01:00
parent a5c6d10395
commit 0766f94ee0

View File

@ -816,9 +816,11 @@ int LaTeX::scanLogFile(TeXErrors & terr)
// we have a latex error // we have a latex error
retval |= TEX_ERROR; retval |= TEX_ERROR;
if (contains(desc, if (contains(desc,
"Package babel Error: You haven't defined the language") || "Package babel Error: You haven't defined the language")
contains(desc, || contains(desc,
"Package babel Error: You haven't loaded the option")) "Package babel Error: You haven't loaded the option")
|| contains(desc,
"Package babel Error: Unknown language"))
retval |= ERROR_RERUN; retval |= ERROR_RERUN;
// get the line number: // get the line number:
int line = 0; int line = 0;