mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 19:14:51 +00:00
* src/LaTeX.C: beautification: use identical user messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15851 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6bcfc372e7
commit
46bd598fc5
@ -289,7 +289,7 @@ int LaTeX::run(TeXErrors & terr)
|
|||||||
}
|
}
|
||||||
if (head.haschanged(onlyFilename(changeExtension(file, ".nlo")))) {
|
if (head.haschanged(onlyFilename(changeExtension(file, ".nlo")))) {
|
||||||
lyxerr[Debug::LATEX] << "Running MakeIndex for nomencl." << endl;
|
lyxerr[Debug::LATEX] << "Running MakeIndex for nomencl." << endl;
|
||||||
message(_("Running Makeindex for nomencl."));
|
message(_("Running MakeIndex for nomencl."));
|
||||||
string const nomenclstr = " -s nomencl.ist -o " + changeExtension(file, ".nls");
|
string const nomenclstr = " -s nomencl.ist -o " + changeExtension(file, ".nls");
|
||||||
rerun |= runMakeIndex(onlyFilename(changeExtension(file, ".nlo")), runparams, nomenclstr);
|
rerun |= runMakeIndex(onlyFilename(changeExtension(file, ".nlo")), runparams, nomenclstr);
|
||||||
}
|
}
|
||||||
@ -365,7 +365,7 @@ int LaTeX::run(TeXErrors & terr)
|
|||||||
// I am not pretty sure if need this twice.
|
// I am not pretty sure if need this twice.
|
||||||
if (head.haschanged(onlyFilename(changeExtension(file, ".nlo")))) {
|
if (head.haschanged(onlyFilename(changeExtension(file, ".nlo")))) {
|
||||||
lyxerr[Debug::LATEX] << "Running MakeIndex for nomencl." << endl;
|
lyxerr[Debug::LATEX] << "Running MakeIndex for nomencl." << endl;
|
||||||
message(_("Running Makeindex for nomencl. "));
|
message(_("Running MakeIndex for nomencl."));
|
||||||
string nomenclstr = " -s nomencl.ist -o " + changeExtension(file, ".nls");
|
string nomenclstr = " -s nomencl.ist -o " + changeExtension(file, ".nls");
|
||||||
rerun |= runMakeIndex(onlyFilename(changeExtension(file, ".nlo")), runparams, nomenclstr);
|
rerun |= runMakeIndex(onlyFilename(changeExtension(file, ".nlo")), runparams, nomenclstr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user