Problem with importing BibTeX to Overleaf -- .bib file appears blank in Overleaf project file
I have the BibTeX package in my LaTeX file. I have exported the references to BibTeX, BibLaTeX, and Better BibTeX files, ticking "export notes" each time. I tried with all three file types and all have had the same problem. When I select "add bibliography" in the Overleaf project manager and enter the name of the .bib file, it shows up as a project file but when I click on the file to get a preview it appears blank. When I try to add the file into my .tex, nothing shows up. How can I get the citations to show up in Overleaf?
There are many aspects of BibTeX that are far from standard, but Zotero's default translator picks relatively conservative defaults that are used in other popular applications. That's not to say our exports are perfect. If you find an issue, please paste an example here. But: I'd consult Overleaf's support channels if you think you're uploading valid BibTeX.
I'm trying to use my Zotero bibliography in Overleaf. I import a bib document from my Zotero account to my Overleaf account (everything works until this point), yet Zotero's bib document starts with, for instance,: cochilco_anuario_2016, yet Overleaf accepts the format: Figueredo:2009dg. Can I do something to be able to export my Zotero bibliography in the format accepted by Overleaf, or should I change it manually?.
In either case, Zotero's citekeys are completely legal in bibtex and I've never heard of any problems with them in overleaf, so could you describe the problem you're having in more detail?
Are you directly linking Zotero to Overleaf or are you exporting a .bib file from Zotero?
I'm importing my bibliography directly from Zotero to Overleaf. Each reference has this format in .bib:
@article{smith_health_2009,
title = {Health Effects of Arsenic and Chromium in Drinking Water: Recent Human Findings},
volume = {30},
url = {https://doi.org/10.1146/annurev.publhealth.031308.100143},
doi = {10.1146/annurev.publhealth.031308.100143},
shorttitle = {Health Effects of Arsenic and Chromium in Drinking Water},
abstract = {....},
version = {2448},
pages = {107--122},
number = {1},
journaltitle = {Annual Review of Public Health},
author = {Smith, Allan H. and Steinmaus, Craig M.},
urldate = {2018},
date = {2009},
pmid = {19012537}
}
Nevertheless, the Overleaf for Peer J template shows me the following format:
@article{smith:2009,
author = {Smith, Allan H. and Steinmaus, Craig M.},
title = {Health Effects of Arsenic and Chromium in Drinking Water: Recent Human Findings},
journal = {Annual Review of Public Health},
volume = {30},
number = {1},
pages = {107--122},
year = {2009}
}
When it compiles Overleaf indicates it does not accept smith_health_2009, I don't know if there is a way to get this smith:2009 (.bib format) from Zotero.
Thank you, and sorry for my poor English.
I'm guessing that the PeerJ template you're using relies on pure bibtex and that you checked the "optimize for biber/biblatex" box when linking to Zotero. If that's not it, I'd get in touch with Overleaf support. This really isn't a Zotero problem.