On 04/27/2011 10:44 AM, stefano franchi wrote:
What is the output if you run "lyx -dbg latex" and view your document?


Jurgen,

all I can figure out from the output is that Lyx realizes there are
undefined references and runs "bibtex". It may be running biber and
the string may be misleading, I don't know.

It is, I think.

But I don't see any output
either from bibtex or from biber. Then it reruns lualatex.
You may be able to extract more information. I enclose the log to the message.

Can you try the attached patch? I think we aren't detecting:

LaTeX.cpp(644): Log line: Package biblatex Warning: Please (re)run Biber on the file: LaTeX.cpp(644): Log line: (biblatex) Talk-for-publication-proceedings LaTeX.cpp(644): Log line: (biblatex) and rerun LaTeX afterwards.
LaTeX.cpp(644): Log line:

Probably the patch should be slightly more complex, but Jurgen will know better.

rh

Index: src/LaTeX.cpp
===================================================================
--- src/LaTeX.cpp       (revision 38514)
+++ src/LaTeX.cpp       (working copy)
@@ -708,6 +708,8 @@
                                }
                        } else if (contains(token, "run BibTeX")) {
                                retval |= UNDEF_CIT;
+                       } else if (contains(token, "run Biber")) {
+                               retval |= UNDEF_CIT;
                        } else if (contains(token, "Rerun LaTeX") ||
                                   contains(token, "Please rerun LaTeX") ||
                                   contains(token, "Rerun to get")) {

Reply via email to