Parse rerun messages from latex packages.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@2191 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-07-05 18:17:28 +00:00
parent 9ba58c9420
commit e51e906d36
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-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lib/examples/hu_splash.lyx: new file from László Zrubecz.

View File

@ -521,8 +521,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, "! ")) {