LyXLyx Not Compiling References

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Lyx Not Compiling References

Post by joshua_smith_158 »

Dear All,

After I updated the last version of Mac, Lyx is not compiling the references anymore. I put the references box in Lyx, I can see the citations in Lyx, but when I compile I got the question marks. Does anyone help with that? I compile using pdflatex and Tex.

Thanks a lot!

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

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Lyx Not Compiling References

Post by scottkosty »

Can you please upload a very small example .lyx file? Please read https://wiki.lyx.org/FAQ/MinimalExample
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Re: Lyx Not Compiling References

Post by joshua_smith_158 »

Of course and sorry for not having done this before. I'm attaching the Lyx file, the bib file I would like to use to compile the references and the pdf output that I got.
Attachments
lyx_example.pdf
(61.59 KiB) Downloaded 304 times
lyx_example.pdf
(61.59 KiB) Downloaded 256 times
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Re: Lyx Not Compiling References

Post by joshua_smith_158 »

And the bib file
Attachments
biblio_example.bib
(215 Bytes) Downloaded 400 times
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Re: Lyx Not Compiling References

Post by joshua_smith_158 »

I would like to mention that before updating my Mac system, this file worked and compiled correctly.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Lyx Not Compiling References

Post by scottkosty »

joshua_smith_158 wrote:I would like to mention that before updating my Mac system, this file worked and compiled correctly.
I think you meant to upload the .lyx file but you uploaded two .pdf files.
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Re: Lyx Not Compiling References

Post by joshua_smith_158 »

Here it is
Attachments
lyx_example.lyx
(4.19 KiB) Downloaded 356 times
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Lyx Not Compiling References

Post by scottkosty »

Thanks for making the nice example.

I tested and it works for me without any modification. Attached is the output I get.
Attachments
lyx_example.pdf
(95.64 KiB) Downloaded 277 times
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Lyx Not Compiling References

Post by scottkosty »

Did you upgrade to El Capitan? I know nothing about Mac, but I have seen several problems related to upgrading to El Capitan. What LyX version are you using?

(I know it is not likely, but nonetheless I offer...) if you happen to have access to a machine with Ubuntu, I can help you more.

There is a chance that the newest version of LyX will contain needed fixes for El Capitan to work. We hope to release LyX 2.2.0 this weekend.
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Re: Lyx Not Compiling References

Post by joshua_smith_158 »

Thank you, Scott, I was pretty confident it was not a code error, since I ran exactly the same dofile right before updating my Mac and it worked fine.

I downloaded El Capitan a few months ago: at the beginning, I had some issues in compiling the pdf that were solved soon after. This time I just downloaded an update to the El Capitan already installed. Tex compiles but it says Package Natbib Warning: Citation 'xx' undefined.
Post Reply