mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
* src/LaTeX.cpp: Get rid of annoying LaTeX error after changing the document language
(bug 2468) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19229 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1696c09712
commit
606e4877d1
@ -689,7 +689,9 @@ 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,
|
||||||
|
"Package babel Error: You haven't loaded the option"))
|
||||||
retval |= ERROR_RERUN;
|
retval |= ERROR_RERUN;
|
||||||
// get the line number:
|
// get the line number:
|
||||||
int line = 0;
|
int line = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user