This question already has an answer here:

I'm having some slight issues with citation styles. I want Harvard style citations, in the form of (Bethe, 1939). Here is my code:

%\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}


\bibliography{biblio} \addbibresource{biblio.bib}

Document here \cite{EPS}


Sorry for the clutter. Experimented a lot trying to get the bibliography to work. Here is my bibliography:


Using the citestyle definition in the preamble, this should display Harvard style, if the manual is to believed. Instead I get the title of the paper. Perhaps it has to do with the warnings given? Here:


marked as duplicate by moewe, Mico bibtex Dec 12 '15 at 8:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Try removing the \bibliography{biblio}. (but leave the \addbibresource...) Right now the .bib is being loaded twice, which will only cause problems. Plust \bibliography is deprecated in biblatex – PTNobel Dec 2 '15 at 2:26
  • Yes, my preamble is disgusting, and yes, it's some sort of frankenstein's monster esque mess from other template codes. I did try using Biber, but I managed to get it to (sort of) work using bibtex. I didn't report on this, but Biber throws up all sorts of errors ('undefined control sequences') if I try to compile, including a lot of errors from other seemingly arbitrary places. For example, line 19: 18. \usepackage{titlesec} 19. 20. \setcounter{secnumdepth}{4} Doesn't like that. That for example is used to make a subsubsubsection. But there's nothing on line 19. – Joshua Dec 2 '15 at 5:32
  • It is asking me to rerun Biber on my file, though this isn't a compiling option in Tex. I've found biber as an external exe, but I'm not sure how to use it. Other undefined control sequences include '\vspace{1.5cm}' (error thrown up twice), '\vspace{2cm}' (for spacing out images on the title page), '\tableofcontents' (thrown up twice), an empty line after \newpage, after \tableofcontents, and finally another empty line after that. I'm also getting all of the old warnings about the biblipgraphy being empty. – Joshua Dec 2 '15 at 5:39
  • 2
    Hi again. Found this: tex.stackexchange.com/questions/154751/… Is this what I'm missing? – Joshua Dec 2 '15 at 6:00
  • 1
    youtube.com/watch?v=xos2MnVxe-c It's alive! Finally working. I couldn't understand how to set up Biber, as it doesn't come installed with Texmaker. Thank you two for all the support you've given over the past few days. I really appreciate it! – Joshua Dec 2 '15 at 16:58