I'm trying to put a bibliography in my LaTeX document, but I get various errors when I run it in BibTeX (saying no \citation
found etc.), and no bibliography is printed in the PDF when I typeset it in LaTeX. My code reads as follows:
\documentclass[12pt]{report}
...
\usepackage{biblatex}
\addbibresource{SUSYBib.bib}
...
\begin{document}
...\cite{1}...
...\cite{2}...
\nocite{*}
\printbibliography
\end{document}
And my .bib file reads as
@book{1,
title={The Schrödinger Equation},
author={F. A. Berezin, M. A. Shubin},
year={1983},
publisher={Moscow State University, Moscow},
pages={57-59}
}
@book{2,
title={An Introduction to Measure Theory},
author={Terence Tao},
year={2011},
publisher={American Mathematical Society},
pages={91}
}
Best Answer
I think you are missing the
inputenc
package in your preamble. It's needed to tell your (La)TeX which character encoding you use, eg. for the ö in your bibliography:You need to configure your TeXShop to compile the document properly, for me:
worked.
Surprisingly, adding
% !TEX TSprogram = pdflatexmk
as first line in the.tex
file (as suggested in the comments) did not work (TeXShop 3.62, texlive 2016).