I am using SublimeText3, Biblatex (v2.8a), and Biber (v1.8). I have successfully compiled a bibliography and citations multiple times in the past. After switching to a modular design for my document, the bibliography stopped appearing even after removing the modules and reverting to a MWE (as shown below). I am getting citations like the popular, [Long1997 ], instead of 1.
I made no changes to my preamble, my build order, or package installations. I only added content. My debug process:
- Checked
main.log
(here) andmain.bbl
. "Missing 'biblatex' package" inbbl
. Following error in.log
:
Package biblatex Warning: Please (re)run Biber on the file: (biblatex) first (biblatex) and rerun LaTeX afterwards.
- Double-checked preamble that has successfully compiled in the past. Looks fine.
- Double-checked biblatex is still installed. It is.
- Double-checked bib entry that has worked before. Looks fine.
- Double-checked build order that has worked before. Looks fine.
- Asked friends to double-check. No objections.
What am I missing?
main.tex
:
\documentclass{report}
\usepackage[style=numeric,backend=biber]{biblatex}
\addbibresource{nbabib.bib}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\begin{document}
asdf \cite{Long1997}
\nocite{*}
\printbibliography
\end{document}
nbabib.bib
:
@BOOK {Long1997,
AUTHOR = {Long, Scott},
TITLE = {Regression Models for Categorical and Limited Dependent Variables},
PUBLISHER = {Potomac Books},
ADDRESS = {Dulles, Virginia},
YEAR = {2004}}
My build file, LaTeX.sublime-build
:
"cmd": ["latexmk",
"latexmk",
"biber",
"latexmk",
"-cd",
"-e",
"\\$pdflatex = '%E -interaction=nonstopmode -synctex=1 %S %O'",
//"-silent",
"-f", "-pdf"],
Update:
- Removed conflicting \usepackage{cite} due to incompatibility with \usepackage{biblatex}.
- Updated all packages via Tex Live Utility.
Best Answer
Found the problem. I added entries to .bib that were missing commas between fields. After replacing the missing commas, compilation worked and citations show as [1], [2], etc. rather than [label ]. I see many tex.SO topics/other articles on the web titled "missing bibliography" related to the use of Biblatex and biber. A general debug process for newbies if you use those two packages (Google the terms you don't recognize or refer to your TeX texts):
*Note to TeXperts: Feel free to edit. I'm still learning TeX-speak.