Stefano Franchi wrote:
Dear Lyxers,
I am encountering a strange problem with bibtex when operated automatically
from within LyX which does not exist when the LyX files are exported to latex
and then compiled from the command line.
[snip]
Now I have run out of options. Since I can get the properly compiled pdf file
from the command line the problem is not too annoying, but still, I would like
to understand what is going on.
Me, too. Here's one way to proceed. When LyX compiles your document, it
"exports" it, though in somewhat different form, in a temporary
directory. On Linux, this would be in
/tmp/lyx_tmpdir.RANDOM/lyx_tmpbufN, or thereabouts. So try compiling,
and then go into that directory and have a look at the .tex files that
have been put there. There must be some difference. If all is going
well, LyX should also have copied your .bib files into the temporary
directory. At least, that's usually the case.
I haven't worked with BibLaTeX under LyX, so I'm just guessing, but one
possibility is that LyX isn't seeing that it needs to copy the .bib
files into the temporary directory, and for some reason it isn't finding
them through the usual lookup mechanism.
rh