commit ef6d83bc065853831f70fa0788307dac8288e7f7
Author: Scott Kostyshak <[email protected]>
Date: Tue Sep 10 10:43:11 2019 -0400
Give error if undefined citations with Biblatex
This commit catches situations when one key in a multi-key citation
is not defined. This commit causes an error to be given, but the
name of the key that is undefined is not provided in the error
dialog.
This commit is consistent with bf99ece7.
For more information, and possible follow-up discussion (e.g., on
putting the key in the error dialog), see the following ML thread:
https://www.mail-archive.com/search?l=mid&q=20190908165644.qnz6xu5bm5eqiko6%40boogie
---
src/LaTeX.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp
index 4096ca9..5cb5df4 100644
--- a/src/LaTeX.cpp
+++ b/src/LaTeX.cpp
@@ -781,7 +781,8 @@ int LaTeX::scanLogFile(TeXErrors & terr)
//TODO: TL 2020 engines will contain new commandline switch
--cnf-line which we
//can use to set max_print_line variable for appropriate length
and detect all
//errors correctly.
- if (contains(token, "There were undefined citations."))
+ if (contains(token, "There were undefined citations.") ||
+ prefixIs(token, "Package biblatex Warning: The following
entry could not be found"))
retval |= UNDEF_CIT;
if (prefixIs(token, "LaTeX Warning:") ||