Jean-Marc Lasgouttes wrote: > Is it the clefval.sty package? It does not seem to output a message > when the keys have changed.
Actually, the attached patch fixes the problem. The message is from clefval directly, so I guess the fix is safe. Jürgen
Index: src/LaTeX.cpp =================================================================== --- src/LaTeX.cpp (Revision 22586) +++ src/LaTeX.cpp (Arbeitskopie) @@ -641,6 +641,13 @@ retval |= RERUN; LYXERR(Debug::LATEX) << "We should rerun." << endl; + // package clefval needs 2 latex runs before bibtex + } else if (contains(token, "Value of") + && contains(token, "on page") + && contains(token, "undefined")) { + retval |= ERROR_RERUN; + LYXERR(Debug::LATEX) + << "Force rerun." << endl; } else if (contains(token, "Citation") && contains(token, "on page") && contains(token, "undefined")) {