mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 08:44:01 +00:00
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:
parent
9ba58c9420
commit
e51e906d36
@ -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>
|
2001-07-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
* lib/examples/hu_splash.lyx: new file from László Zrubecz.
|
* lib/examples/hu_splash.lyx: new file from László Zrubecz.
|
||||||
|
16
src/LaTeX.C
16
src/LaTeX.C
@ -521,8 +521,20 @@ int LaTeX::scanLogFile(TeXErrors & terr)
|
|||||||
}
|
}
|
||||||
} else if (contains(token, "run BibTeX")) {
|
} else if (contains(token, "run BibTeX")) {
|
||||||
retval |= UNDEF_CIT;
|
retval |= UNDEF_CIT;
|
||||||
} else if (contains(token, "Rerun LaTeX.")) {
|
} else if (contains(token, "Rerun LaTeX") ||
|
||||||
// at least longtable.sty might use this.
|
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;
|
retval |= RERUN;
|
||||||
}
|
}
|
||||||
} else if (prefixIs(token, "! ")) {
|
} else if (prefixIs(token, "! ")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user