Overleaf does not display the bibliography in the PDF

  • Thread starter Thread starter Trysse
  • Start date Start date
  • Tags Tags
    Bibliography
Click For Summary
SUMMARY

The forum discussion addresses an issue with Overleaf where the bibliography does not display in the PDF output due to a syntax error in the MyBib.bib file. The specific error message indicates that a citation key 'alstein_teaching_2021' is undefined, suggesting a mismatch between the citation command and the bibliography entry. The root cause is identified as a parsing error in the BibTeX subsystem, which prevents LaTeX from generating the bibliography. Users are advised to carefully review the error log for troubleshooting.

PREREQUISITES
  • Familiarity with LaTeX document preparation
  • Understanding of BibTeX bibliography management
  • Knowledge of Overleaf as a collaborative writing platform
  • Ability to interpret error messages in LaTeX logs
NEXT STEPS
  • Review the syntax rules for BibTeX entries
  • Learn how to use the Overleaf error log for debugging
  • Explore the differences between BibTeX and Biber for bibliography management
  • Investigate common citation errors in LaTeX documents
USEFUL FOR

LaTeX users, researchers, and students who are writing academic papers and need to manage citations and bibliographies effectively in Overleaf.

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 ·
Replies
1
Views
8K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 5 ·
Replies
5
Views
10K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 7 ·
Replies
7
Views
8K