5

I am trying to add a bibliography to my Overleaf latex document and for that I am using BibTex.

I downloaded a .bib file from Zotero which automatically generates them for you and imported it into my Overleaf project. The file is named security_policy.bib. Then I added the \bibliogray and \bibliography tags at the end of the document (before \end{document}):

\backmatter
\bibliographystyle{hispa}
\bibliography{security_policy.bib}

I am trying to cite ISO/IEC 27002 which is referenced by the bib file as "27_iso/iec_2008". As I start typing \cite, the reference "27_iso/iec_2008" automatically pops up, which means the bibliography has been correctly imported.

However, when the PDF document is generated (which according to the official Overleaf examples and guides automatically runs bibtex therefore creating the bibliography references), the cite is missing (it is showing [?] instead).

What should I do to fix this issue?

  • 2
    You may be missing the file hispa.bst in your project, which isn't available on Overleaf by default, since it's not included in CTAN. Does uploading a copy of hispa.bst to your project help? (If you're the user who emailed Overleaf support about a very similar issue, I've just responded to you.) – LianTze Lim May 21 '16 at 15:16
  • Yes, that's it, and yes, that was me! I didn't upload the bst file. I wish Overleaf would have given me a heads up about that! I thought it was a predefined style, like plain. – dabadaba May 21 '16 at 16:05
  • Did you look in the log file? – cfr May 22 '16 at 1:35
  • @dabadaba Indeed – we'll improve the warning/error message reporting mechanism in this respect, thanks! :-) – LianTze Lim May 22 '16 at 11:10
  • is this a bug or a feature? never had this issue with papers written on overleaf, just with my thesis – n3rd Nov 7 '17 at 15:18
5

You may be missing the file hispa.bst in your project, which isn't available on Overleaf by default, since it's not included in TeX Live. Uploading a copy of hispa.bst (via Overleaf's Add files > Upload menu) to your project should (and have) help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.