mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
In recent biber version, the log message that tells us which bib files are used has been changed. Adapt the parser, so that bib files are tracked again.
This should go to BRANCH as well git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40542 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6250bdc70f
commit
d7266ac919
@ -1196,7 +1196,7 @@ void LaTeX::scanBlgFile(DepTable & dep)
|
||||
|
||||
ifstream ifs(blg_file.toFilesystemEncoding().c_str());
|
||||
string token;
|
||||
static regex const reg1(".*Found bibtex data file '([^']+).*");
|
||||
static regex const reg1(".*Found (bibtex|BibTeX) data (file|source) '([^']+).*");
|
||||
|
||||
while (getline(ifs, token)) {
|
||||
token = rtrim(token, "\r");
|
||||
@ -1205,7 +1205,7 @@ void LaTeX::scanBlgFile(DepTable & dep)
|
||||
// in the aux file are in the file system encoding.
|
||||
token = to_utf8(from_filesystem8bit(token));
|
||||
if (regex_match(token, sub, reg1)) {
|
||||
string data = sub.str(1);
|
||||
string data = sub.str(3);
|
||||
if (!data.empty()) {
|
||||
LYXERR(Debug::LATEX, "Found bib file: " << data);
|
||||
handleFoundFile(data, dep);
|
||||
|
Loading…
Reference in New Issue
Block a user