Angus Leeming wrote: > David Dean wrote: >> [!-- stuff removed --] >> >> C:/Program: C:/Program: No such file or directory >> C:/Program: C:/Program: No such file or directory >> Bibfile: C:/data/David/PhD/Annual Report - 2005/research.bib >> TextCache: BufferView::buffer >> [/debug] >> >> The "No such file or directory" lines occurred when I opened the >> bibliography declaration. It seems something is not compatible with >> spaces in the file names. >> >> The "Bibfile" line occured when I attempted to insert a citation >> (but none were available to insert) > > Thanks, David. Looks like you've uncovered (yet another) "file name > with spaces" bug. I'll look into it.
I forgot to add: whilst it does appear that you have discovered a genuine "file path with spaces" bug within LyX, you should also be aware that BibTeX itself cannot cope with such file paths. We work around the problem when we generate the PDF or DVI file from within LyX by copying a your BibTeX database to the Temp directory(1) and by mangling the name of this copied database to something that BibTeX can handle. The fact that you can process your file to generate PDF output suggests that we've got this copying and mangling correct. I mention it only to point out the fact that you'll fail to generate a PDF document containing your references by compiling the exported LaTeX document yourself if the database contains spaces. (In this particular instance you're OK.) Of course, none of this concerns the actual bug you've discovered. I mention it merely as something to be aware of. Angus (1) The Temp directory should resolve to something like: C:/Documents and Settings/David/Local Settings/Temp/lyx_tmpdirXXXXXXX/lyx_tmpbuf0/
