You might want to file this as a bug report. I think the solution might only involve putting quotation marks around path names and the like.
Richard sk wrote: > Thanks, your post got me on the right track as it reminded me of a > similar problem which I had with LYX: The path to my Temp Directory > contained spaces (something LYX seems to be able to handle but > LaTeX/MiKTeX don't. Also the Path to my *.bst (BibtexStyle) files > contained spaces. > I think this is somewhat troublesome as in a windows "out of the box" > Lyx installation the default path to the Temp directory always contains > spaces (at least in a German environment) as it rests in something like > ".../Dokumente und Einstellungen/.../Temp". Also MikTex uses spaces in > its default path (so that my *.bst files where at > "C:\Programme\MiKTeX 2.5\bibtex\bst" ), even though it is known to cause > some problems. > > Stefan > > > Richard Heck wrote: > >> sk wrote: >> >>> I use: >>> >>> Lyx 1.4.3. >>> Doc. Class: book (koma-script) >>> A Bibtex File I compiled with JebRef which I have imported as a bibtex >>> reference list (I enabled 'display in TOC') >>> >>> I added citations in my text and they show up nicely in Lyx, but >>> whenever I export them to pdf, it only shows question marks at the point >>> where the citation should be. Also the reference list only shows up in >>> the TOC but not on the page where it is supposed to be. I don't know >>> what I am doing wrong here, as I understand that once I cited something, >>> it should show in the reference list in the document. >>> >>> >> Without seeing the file and knowing more about your setup, it's hard to >> say precisely what's wrong. But it would appear that LaTeX is not >> finding your .bib files. Check the path to those files. >> >> As a general rule, the easiest way to debug this kind of problem is to >> export the file to LaTeX and then run LaTeX manually. Or, nearly >> equivalently, look in the temporary directory LyX is using. (On Linux, >> this is usually /tmp/lyx_tmpdir*/lyx_tmpbuf*/.) LyX copies the .bib >> files there. I'm guessing you won't find them. Again, this would mean >> checking the paths in your LyX document. If the .bib files are there, >> you can check the .log file to see if there are any problems. Or, again, >> try running LaTeX manually. Open the .tex file in an editor and delete >> the first line (\batchmode) so you can see the output. Then run: >> latex yourfile >> bibtex yourfile >> latex yourfile >> latex yourfile >> to get all the references right. You don't need the extensions here. So >> it's not: >> latex yourfile.tex >> but just: >> latex yourfile >> and particularly: >> bibtex yourfile >> You're likely to see errors. These should tell you what's wrong. >> >> Richard Heck >> >> >>
