Angus Leeming <[EMAIL PROTECTED]> writes:

> 
> David Dean wrote:
> 
> > I am using Windows, and I have followed the instructions for adding
> > a BibTEX bibliography to my lyx document, but I cannot get the list
> > of citations to show up when I select Insert->Citation. At this
> > stage I have resorted to using ERTs to insert '\cite{whatever}',
> > which works fine, but I would obviously prefer to insert the
> > citations natively.
> > 
> > Thank you for your help,
> > 
> > - David
> 
> Hi, David.
> 
> Try exporting your LyX file to LaTeX and looking at the source. Is the
> database included correctly?
> 
>     \bibliographystyle{plain}
>     \bibliography{my_database}
> 
> Thereafter, try running LyX from the command line as
> 
>     lyx -dbg latex
> 
> We don't produce nearly enough debugging info here, so getting this
> working may take a little perseverance.
> 
> Angus
> 
> 

Thanks Angus,

When I export the Latex file I have the following bibliography commands:

\bibliographystyle{IEEEtran}
\bibliography{research}

Which is correct. Also I should mention that lyx successfully produces a PDF
containing the correct citations (inserted with ERT) and bibliography.

Also, when I ran 'lyx -dbg latex' The following debug output was produced:

[debug]
Setting debug level to latex
Debugging `latex' (LaTeX generation/execution)

[!-- 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)

- David

Reply via email to