Overleaf does not display the bibliography in the PDF

  • Thread starter Thread starter Trysse
  • Start date Start date
  • Tags Tags
    Bibliography
AI Thread Summary
The issue with the Overleaf project stems from a syntax error in the bibliography file, specifically at line 312, where BibTeX cannot parse the entry due to incorrect formatting. This error prevents the bibliography from being generated, leading to undefined citations in the document. To resolve the problem, ensure that all citation keys used in the \cite command match exactly with those in the .bib file. Additionally, it’s crucial to review the error log for specific details on any syntax issues. Properly correcting these errors will allow LaTeX to compile the bibliography successfully.
Trysse
Messages
75
Reaction score
16
I have an overleaf-project in which the bibliography is not displayed.

The project has a MyBib.bib.

The error message says:

Citation 'alstein_teaching_2021' on page 1 undefined on input line 28.​

link‪./main.tex, 28‬
You have cited something which is not included in your bibliography. Make sure that the citation (\cite{...}) has a corresponding key in your bibliography, and that both are spelled the same way.

I have added the citation using the \cite command and selected an entry from the drop-down menu that overleaf provides.
Any idea what I am doing wrong?

You can take a look. This a link to a mostly empty project to which I have only copied the bib and main file. Here I have the same problem.
https://www.overleaf.com/7534122952ngryrbrtvznr#8dc702

feel free to edit in the document.
 

Attachments

Physics news on Phys.org
When I compile it, the first error in the log is this:
BibTeX subsystem: /tmp/biber_tmp_kEni/eaaa1c4ae3a0857b1b28da69b4e55682_15.utf8, line 312, syntax error: found "{2000}", expected "="

Because BibTeX cannot parse the bib file, it is not producing the information required by LaTeX to actually typeset the bibliography, and LaTeX therefore complains about citations being missing and the bibliography being empty.

Always read the error log.
 
Thanks a lot!
 

Similar threads

Replies
1
Views
7K
Replies
4
Views
2K
Replies
5
Views
5K
Replies
7
Views
8K
Back
Top