]> git.lyx.org Git - features.git/blobdiff - src/LaTeX.cpp
Typo
[features.git] / src / LaTeX.cpp
index c38f5cb0dd043b058a5ea373de8ca058d7b5769c..c4dd18ef2d6cd6da16367fd2ebf35ec7a84cde47 100644 (file)
@@ -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);
@@ -588,8 +594,8 @@ int LaTeX::runMakeIndex(string const & f, OutputParams const & rp,
 int LaTeX::runMakeIndexNomencl(FileName const & fname,
                string const & nlo, string const & nls)
 {
-       LYXERR(Debug::LATEX, "Running MakeIndex for nomencl.");
-       message(_("Running MakeIndex for nomencl."));
+       LYXERR(Debug::LATEX, "Running Nomenclature Processor.");
+       message(_("Running Nomenclature Processor."));
        string tmp = lyxrc.nomencl_command + ' ';
        // onlyFileName() is needed for cygwin
        tmp += quoteName(onlyFileName(changeExtension(fname.absFileName(), nlo)));