I am attempting to use Biber with BibLaTeX from the command line on osx. When I compile my .tex file I get
No file print_bibliography.bbl.
LaTeX Warning: Citation 'Huse2007' on page 1 undefined on input line 19.
LaTeX Warning: Empty bibliography on input line 20.
[1{/usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./print_bibliography.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) print_bibliography
(biblatex) and rerun LaTeX afterwards.
This errors appear to be common and are described in this wikibook, but the solutions given depend on the editor that one is using and there is no solution for my case. I am using pycharm as my editor and calling latex from the terminal.
At the terminal I type:
pdflatex print_bibliography.tex
My MWE for the print_bibliography.tex file is
\documentclass{article}
\usepackage[backend=biber, natbib=true]{biblatex}
\addbibresource{references.bib}
\begin{document}
This sentence should be cited\cite{Huse2007}
\printbibliography
\end{document}
And for references.bib file is:
@article{Huse2007,
title = {Localization of interacting fermions at high temperature},
author = {Oganesyan, Vadim and Huse, David A.},
journal = {Phys. Rev. B},
volume = {75},
issue = {15},
pages = {155111},
numpages = {5},
year = {2007},
month = {Apr},
publisher = {American Physical Society},
doi = {10.1103/PhysRevB.75.155111},
url = {https://link.aps.org/doi/10.1103/PhysRevB.75.155111}
}
Related questions: How to use Biber with BibLaTeX from the command line This was solved by fixing a version incompatibility between biber and biblatex. This does not appear to apply to my case.
Thanks.
biber, which is an external tool. From the command line you can just typebiber <name_of_your_tex_file_without_extension>, which in your case isbiber print_bibliography. – Phelype Oleinik Apr 20 '19 at 00:11rubber,texify, etc.), if you search the site you will find more alternatives if you don't like the ones I showed. – Phelype Oleinik Apr 20 '19 at 00:32