2

I'm a new user and am trying to use biblatex to cite in LaTeX. Currently all my code is giving me is my citation put in to my text as my bibtexkey in brackets, or nothing at all. It is also not forming a bibliography. I build LaTeX-->PDF, followed by LaTeX--> bibtex , and then LaTeX-->PDF again. The .bib file has inserted and a .bbl file created. I'm using JabRef to manage my references. I don't understand where I am going wrong. Below is my minimal example.

\documentclass {report}

\usepackage[backend=biber, 
    style=authoryear, 
    maxcitenames=2, 
    sorting=nyt,
    backref=true]{biblatex}

\bibliography{refs}

\let\cite\parencite

\begin{document}

Just to check referencing \citation{Bian2008}

\printbibliography

\enddocument
lockstep
  • 250,273
Batch
  • 21

1 Answers1

1

You should write:

 \addbibresource{refs.bib}

(with the extension) instead of `\bibliography{refs}, and run Biber, as Torbjøn T. said.

Bernard
  • 271,350
  • 1
    While \addbibresource is recommended, \bibliography will work as well. – Torbjørn T. Feb 12 '14 at 14:19
  • Then maybe it's a problem with the cache of biber (corrupted for some reason). If you're on Windows, I can help: biber create a directory in C:\Users\<yourname>\AppData\Local\Temp named | par-` + a lot of figures (seems to be an hexadecimal something). Just delete it and launch biber again. – Bernard Feb 12 '14 at 14:38