mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
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:
parent
f82d1cd90b
commit
dcb9a2c269
@ -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
|
||||
|
16
src/LaTeX.C
16
src/LaTeX.C
@ -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, "! ")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user