I have a bibliography (.bib) file:
@article{tong2012string,
author = {D. Tong},
title = {{L}ectures on {S}tring {T}heory},
year = {2012},
archivePrefix = {arXiv},
eprint = {0908.0333},
primaryClass = {hep-th}}
In my LaTeX file, I included:
\usepackage[citestyle=numeric,backend=biber]{biblatex}
\addbibresource{references.bib}
In addition, I used, \cite{tong2012string} next to where I'd like the [1] to appear, and finally attempted to print the bibliography using \printbibliography.
What Happened:
Instead of including [1], in the PDF it printed [tong2012string] in bold. Also, the blbiography was not printed at all. I've tried:
- Making sure I'm using biber by specifying 'backend=biber'
- Deleting any auxiliary files that may have been causing the problem
However, my .blg file is always the same:
This is BibTeX, Version 0.99dThe top-level auxiliary file: String.aux
I found no \citation commands---while reading file String.aux
I found no \bibdata command---while reading file String.aux
I found no \bibstyle command---while reading file String.aux
(There were 3 error messages)
Windows 7, using TeXStudio and MiKTeX
Working Example
\documentclass[11pt]{article}
\usepackage{amsmath,amssymb}
\usepackage[citestyle=numeric,backend=biber]{biblatex}
\addbibresource{references.bib}
\usepackage[margin=0.95in]{geometry}
\begin{document}
\cite{tong2012string}
\newpage
\printbibliography
\end{document}
See above for .bib file.
\documentclass{...}and ending with\end{document}. – Sverre May 27 '14 at 15:16bibtex, notbiber. – Torbjørn T. May 27 '14 at 15:22backend=biber, which means you have to compile with the sequencepdflatex-biber-pdflatex. If you switch tobackend=bibtexthen you can runpdflatex-bibtex-pdflatex, or F6 - F11 - F6 in TeXstudio. – Torbjørn T. May 27 '14 at 15:25biberfrom TeXstudio in http://tex.stackexchange.com/questions/154751/biblatex-with-biber-configuring-my-editor-to-avoid-undefined-citations/154754#154754 – Torbjørn T. May 27 '14 at 15:26