diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp index 3b06c8e34c..035e0f5438 100644 --- a/src/LaTeX.cpp +++ b/src/LaTeX.cpp @@ -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); diff --git a/status.20x b/status.20x index 53b80eaf44..d0bc83cc05 100644 --- a/status.20x +++ b/status.20x @@ -103,6 +103,8 @@ What's new - Fix problem with translation of theorem environments when language and buffer encoding differ (bug 7941). +- Fix monitoring of bib files with recent versions of biber. + - Fix python problem with common path prefixes when exporting a LyX archive (bug 7933).