commit 6f3c18fac7ef6e4c57f1eb747b4c74233138eed5
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Sep 6 10:00:57 2026 +0200

    Handle bibtex error on biblatex-produced bbl file (#13360)
    
    Extends on 723093895f8cf
    
    (cherry picked from commit 31a1aa730e9989b3c88c84e82d76f4e79a76f004)
---
 src/LaTeX.cpp | 7 +++++++
 status.25x    | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp
index 296b599cdc..abe2995b96 100644
--- a/src/LaTeX.cpp
+++ b/src/LaTeX.cpp
@@ -1340,6 +1340,13 @@ int LaTeX::scanLogFile(TeXErrors & terr)
                                        // but we need ERROR_RERUN to get rid
                                        // of the error in our results.
                                        retval |= ERROR_RERUN;
+                               if (contains(desc, "LaTeX Error: Missing 
'biblatex' package"))
+                                       // The opposite case: a bbl file 
produced with biblatex
+                                       // has been found by bibtex (see #13360)
+                                       // bibtex will generate the correct one,
+                                       // but we need ERROR_RERUN to get rid
+                                       // of the error in our results.
+                                       retval |= ERROR_RERUN;
                                // get the line number:
                                int line = 0;
                                sscanf(tmp.c_str(), "l.%d", &line);
diff --git a/status.25x b/status.25x
index d9b9fb3ac4..a48b91d646 100644
--- a/status.25x
+++ b/status.25x
@@ -46,6 +46,8 @@ What's new
 - Fix language setting after verbatim paragraph if a secondary language was
   in effect (bug 13361).
 
+- Handle biblatex error on wrong bbl file (bug 13360).
+
 
 * USER INTERFACE
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to