Parse rerun messages from latex packages.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2190 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-07-05 18:10:52 +00:00
parent f82d1cd90b
commit dcb9a2c269
2 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
* screen.[Ch]: change method names to begin with lowercase

View File

@ -542,8 +542,20 @@ int LaTeX::scanLogFile(TeXErrors & terr)
}
} else if (contains(token, "run BibTeX")) {
retval |= UNDEF_CIT;
} else if (contains(token, "Rerun LaTeX.")) {
// at least longtable.sty might use this.
} else if (contains(token, "Rerun LaTeX") ||
contains(token, "Rerun to get")) {
// at least longtable.sty and bibtopic.sty
// might use this.
lyxerr[Debug::LATEX]
<< "We should rerun." << endl;
retval |= RERUN;
}
} else if (prefixIs(token, "(")) {
if (contains(token, "Rerun LaTeX") ||
contains(token, "Rerun to get")) {
// Used by natbib
lyxerr[Debug::LATEX]
<< "We should rerun." << endl;
retval |= RERUN;
}
} else if (prefixIs(token, "! ")) {