mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 10:47:57 +00:00
* src/LaTeX.C (run):
fix typo from r13950 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13954 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f9c7473ed3
commit
6fd2366d9c
@ -271,15 +271,15 @@ int LaTeX::run(TeXErrors & terr)
|
|||||||
|
|
||||||
// memoir (at least) writes an empty *idx file in the first place.
|
// memoir (at least) writes an empty *idx file in the first place.
|
||||||
// A second latex run is needed.
|
// A second latex run is needed.
|
||||||
rerun = fs::exists(ChangeExtension(file, ".idx"))
|
rerun = fs::exists(changeExtension(file, ".idx"))
|
||||||
&& fs::is_empty(ChangeExtension(file, ".idx"));
|
&& fs::is_empty(changeExtension(file, ".idx"));
|
||||||
|
|
||||||
// run makeindex
|
// run makeindex
|
||||||
if (head.haschanged(onlyFilename(changeExtension(file, ".idx")))) {
|
if (head.haschanged(onlyFilename(changeExtension(file, ".idx")))) {
|
||||||
// no checks for now
|
// no checks for now
|
||||||
lyxerr[Debug::LATEX] << "Running MakeIndex." << endl;
|
lyxerr[Debug::LATEX] << "Running MakeIndex." << endl;
|
||||||
message(_("Running MakeIndex."));
|
message(_("Running MakeIndex."));
|
||||||
rerun = runMakeIndex(onlyFilename(changeExtension(file, ".idx")), runparams);
|
rerun |= runMakeIndex(onlyFilename(changeExtension(file, ".idx")), runparams);
|
||||||
}
|
}
|
||||||
|
|
||||||
// run bibtex
|
// run bibtex
|
||||||
|
Loading…
Reference in New Issue
Block a user