Re: biber processing in lyx 2

2011-04-28 Thread Jürgen Spitzmüller
Richard Heck wrote: > This should definitely go to that part of the wiki Done. Jürgen

Re: biber processing in lyx 2

2011-04-28 Thread Richard Heck
On 04/28/2011 08:45 AM, Jürgen Spitzmüller wrote: stefano franchi wrote: Indeed it works! In fact, just adding AddToPreamble \typeout{File: \jobname.bcf} EndPreamble to my biblatex module solves the problem across all my files. Excellent! This should definitely go to that part of the wiki..

Re: biber processing in lyx 2

2011-04-28 Thread Jürgen Spitzmüller
stefano franchi wrote: > Indeed it works! > In fact, just adding > > AddToPreamble > \typeout{File: \jobname.bcf} > EndPreamble > > to my biblatex module solves the problem across all my files. Excellent! Jürgen

Re: biber processing in lyx 2

2011-04-28 Thread stefano franchi
On Thu, Apr 28, 2011 at 7:32 AM, Jürgen Spitzmüller wrote: > \typeout{File: \jobname.bcf} Indeed it works! In fact, just adding AddToPreamble \typeout{File: \jobname.bcf} EndPreamble to my biblatex module solves the problem across all my files. Many thanks. Stefano

Re: biber processing in lyx 2

2011-04-28 Thread Jürgen Spitzmüller
stefano franchi wrote: > Unfortunately I cannot upgrade biber/biblatex yet. I am using a > customized biblatex style for a big project, and I am afraid I may > break something (from past experiences with biblatex, I would say it > is certain an upgrade would break the style). > > I'll wait. I hav

Re: biber processing in lyx 2

2011-04-28 Thread stefano franchi
On Thu, Apr 28, 2011 at 3:48 AM, Jürgen Spitzmüller wrote: > stefano franchi wrote: >> enclosed: log of the run with -dbg depend when opening and compiling the >> file latex log (copied from within Lyx's window) > > As suspected: the bcf file is not mentioned in the log file, so LyX is not > aware

Re: biber processing in lyx 2

2011-04-28 Thread Jürgen Spitzmüller
stefano franchi wrote: > enclosed: log of the run with -dbg depend when opening and compiling the > file latex log (copied from within Lyx's window) As suspected: the bcf file is not mentioned in the log file, so LyX is not aware of it and cannot track it. Now this might be a biblatex version is

Re: biber processing in lyx 2

2011-04-27 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > OK, then let's add some more debug code. Look what the attached reports > (on the console). An additional thought: please post the output when running "lyx -dbg depend" and the latex log file. It might be that the bcf file is not tracked. Jürgen

Re: biber processing in lyx 2

2011-04-27 Thread Jürgen Spitzmüller
stefano franchi wrote: > I patched the file and recompiled. But there is no such line in the > output, either in the console or in the error log OK, then let's add some more debug code. Look what the attached reports (on the console). Jürgen Index: src/LaTeX.cpp =

Re: biber processing in lyx 2

2011-04-27 Thread stefano franchi
On Wed, Apr 27, 2011 at 11:06 AM, Jürgen Spitzmüller wrote: > stefano franchi wrote: >> Patched as instructed, recompiled, and rerun. Log file is attached. I >> don't know what was supposed to change, if anything. I didn't see any >> difference. You guys may be able to spot something interesting.

Re: biber processing in lyx 2

2011-04-27 Thread Jürgen Spitzmüller
stefano franchi wrote: > Patched as instructed, recompiled, and rerun. Log file is attached. I > don't know what was supposed to change, if anything. I didn't see any > difference. You guys may be able to spot something interesting. Please apply the attached patch. Report what LyX reports on the t

Re: biber processing in lyx 2

2011-04-27 Thread Jürgen Spitzmüller
Richard Heck wrote: > 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: (bib

Re: biber processing in lyx 2

2011-04-27 Thread Richard Heck
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

Re: biber processing in lyx 2

2011-04-27 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > > I have tested biber support only with rather recent releases of biber. > > should we write some version to release notes? ATM I don't know what to write there. Stefano's problem does not look version dependent. Jürgen

Re: biber processing in lyx 2

2011-04-26 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > I have tested biber support only with rather recent releases of biber. should we write some version to release notes? pavel

Re: biber processing in lyx 2

2011-04-26 Thread Jürgen Spitzmüller
stefano franchi wrote: > It is. My lyx file is > > Talk-for-publication-proceedings.lyx What is the output if you run "lyx -dbg latex" and view your document? Jürgen

Re: biber processing in lyx 2

2011-04-26 Thread stefano franchi
On Tue, Apr 26, 2011 at 9:37 AM, Jürgen Spitzmüller wrote: > stefano franchi wrote: >> I don't know when biber switched from bbl (nor could I find out >> googling it), but I can confirm that lyx does generate a.bcf file in >> its temp dir, and it contains all the ref keys for my citations. > > How

Re: biber processing in lyx 2

2011-04-26 Thread Jürgen Spitzmüller
stefano franchi wrote: > I don't know when biber switched from bbl (nor could I find out > googling it), but I can confirm that lyx does generate a.bcf file in > its temp dir, and it contains all the ref keys for my citations. How is this bcf file named? It ought to be named .bcf, where stands f

Re: biber processing in lyx 2

2011-04-26 Thread stefano franchi
On Tue, Apr 26, 2011 at 8:53 AM, Jürgen Spitzmüller wrote: > stefano franchi wrote: >> > What version of biblatex? Biblatex and biber releases are very closely >> > connected, so you usually need to update biber when updating biblatex >> > (and vice versa). >> >> Yes, I know. I am running biblatex

Re: biber processing in lyx 2

2011-04-26 Thread Jürgen Spitzmüller
stefano franchi wrote: > > What version of biblatex? Biblatex and biber releases are very closely > > connected, so you usually need to update biber when updating biblatex > > (and vice versa). > > Yes, I know. I am running biblatex 0.9e > Notice that Lualatex+biber+biblatex work fine (on the exp

Re: biber processing in lyx 2

2011-04-26 Thread stefano franchi
On Tue, Apr 26, 2011 at 8:12 AM, Jürgen Spitzmüller wrote: > stefano franchi wrote: >> biber  -v >> >> gives me >> >> biber version: 0.6 (beta) >> >> (not the latest version, I'll admit). > > What version of biblatex? Biblatex and biber releases are very closely > connected, so you usually need to

Re: biber processing in lyx 2

2011-04-26 Thread Jürgen Spitzmüller
stefano franchi wrote: > biber -v > > gives me > > biber version: 0.6 (beta) > > (not the latest version, I'll admit). What version of biblatex? Biblatex and biber releases are very closely connected, so you usually need to update biber when updating biblatex (and vice versa). > running LyX

Re: biber processing in lyx 2

2011-04-26 Thread stefano franchi
> can you start biber from the command line (i.e., biber -v)? If you run LyX > from a terminal, are there any enlightening messages? > biber -v gives me biber version: 0.6 (beta) (not the latest version, I'll admit). running LyX from terminal does not show anything useful. I use LuaTex + bibl

Re: biber processing in lyx 2

2011-04-26 Thread Jürgen Spitzmüller
Stefano Franchi wrote: > Are biber and its auxiliary files supposed to be correctly recognized > by lyx 2.0? Yes, since several weeks, > I cannot get my version of LyX (rev. 38496) to process the > references, even though the same file exported to plain latex compiles > flawlessly from the comm

Re: biber processing in lyx 2

2011-04-25 Thread Stefano Franchi
On Mon, Apr 25, 2011 at 4:11 PM, Richard Heck wrote: > On 04/25/2011 04:47 PM, Stefano Franchi wrote: > Is there any sort of error message associated with this if you run from the > terminal? or is biber just not being called at all? No error message in the terminal. It looks like biber is never

Re: biber processing in lyx 2

2011-04-25 Thread Richard Heck
On 04/25/2011 04:47 PM, Stefano Franchi wrote: Are biber and its auxiliary files supposed to be correctly recognized by lyx 2.0? I cannot get my version of LyX (rev. 38496) to process the references, even though the same file exported to plain latex compiles flawlessly from the command line. I s

biber processing in lyx 2

2011-04-25 Thread Stefano Franchi
Are biber and its auxiliary files supposed to be correctly recognized by lyx 2.0? I cannot get my version of LyX (rev. 38496) to process the references, even though the same file exported to plain latex compiles flawlessly from the command line. I see from the tracker that Jurgen fixed this proble