mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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.
|
||||
// A second latex run is needed.
|
||||
rerun = fs::exists(ChangeExtension(file, ".idx"))
|
||||
&& fs::is_empty(ChangeExtension(file, ".idx"));
|
||||
rerun = fs::exists(changeExtension(file, ".idx"))
|
||||
&& fs::is_empty(changeExtension(file, ".idx"));
|
||||
|
||||
// run makeindex
|
||||
if (head.haschanged(onlyFilename(changeExtension(file, ".idx")))) {
|
||||
// no checks for now
|
||||
lyxerr[Debug::LATEX] << "Running MakeIndex." << endl;
|
||||
message(_("Running MakeIndex."));
|
||||
rerun = runMakeIndex(onlyFilename(changeExtension(file, ".idx")), runparams);
|
||||
rerun |= runMakeIndex(onlyFilename(changeExtension(file, ".idx")), runparams);
|
||||
}
|
||||
|
||||
// run bibtex
|
||||
|
Loading…
Reference in New Issue
Block a user