mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Report if index processor failed (#7820)
This commit is contained in:
parent
23b7b95e68
commit
44d5676430
@ -432,6 +432,12 @@ int LaTeX::run(TeXErrors & terr)
|
||||
runMakeIndex(onlyFileName(idxfile.absFileName()), runparams);
|
||||
if (ret == Systemcall::KILLED || ret == Systemcall::TIMEOUT)
|
||||
return ret;
|
||||
else if (ret != Systemcall::OK) {
|
||||
iscanres |= INDEX_ERROR;
|
||||
terr.insertError(0,
|
||||
_("Index Processor Error"),
|
||||
_("The index processor did not run successfully. Please check the output of View > Messages!"));
|
||||
}
|
||||
FileName const ilgfile(changeExtension(file.absFileName(), ".ilg"));
|
||||
if (ilgfile.exists())
|
||||
iscanres = scanIlgFile(terr);
|
||||
|
Loading…
Reference in New Issue
Block a user