LyXHelp needed with citations in lyx file

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lucianojcampos
Posts: 15
Joined: Thu Apr 07, 2011 12:49 pm

Help needed with citations in lyx file

Post by lucianojcampos »

Hi,

I'm having problems to include bibliography in a file.lyx. I import a file.tex into LyX and then I insert the file.bib at the end of the file.lyx. When I convert the file.lyx to pdf, the citations don't appear, but a "?" sign appear in their places.

I post both file.tex and file.bib in case anyone could help me.

I appreciate your help

Regards,

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

bettinathenomad
Posts: 13
Joined: Tue May 24, 2011 3:41 pm

Re: Help needed with citations in lyx file

Post by bettinathenomad »

I have a similar problem. I'm using the Springer Journal Template and have bibtex set to spbasic layout, but it will not create the citations or a bibliography when I try to convert to PDF. I get question marks in the text like this: [?] and no references list. Can anyone help?
kroman
Posts: 3
Joined: Tue Sep 20, 2011 9:52 am

Re: Help needed with citations in lyx file

Post by kroman »

I have the very same problem with the OSA bibtex style file. I get the references in the pdf, if I use a standard bibliography style file. However, if I try to use osajnl.bst the bibliography is not generated.

I tried to include the bibliography with a latex insert command:
\bibliographystyle{osajnl}
\bibliography{biblio}

without success.
But, if I export to latex (plain) and then run latex (and bibtex) in console I get the correct references in the document. It also works by exporting to latex (pdflatex) and then running pdflatex.

Seems to be a bug in lyx 2.0 ...
Post Reply