mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
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
This commit is contained in:
parent
b70c3796a1
commit
ef6d83bc06
@ -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:") ||
|
||||
|
Loading…
Reference in New Issue
Block a user