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.
cite
is explicitly declared to be incompatible with thebiblatex
package (see '§ 1.5.4 Incompatible Packages' of the biblatex manual). ... And if I run your document from a terminal, I get! Package biblatex Error: Incompatible package 'cite'.
biblatex
has a\cite
command (among many others), but the packagecite
is fundamentally (and by design) incompatible withbiblatex
: you cannot have both\usepackage{cite}
and\usepackage{biblatex}
in your preamble, even though either one package will allow you to write\cite{<some bib key>}
in your document..log
and.blg
files available somewhere? As @jon says, the file as it stands looks basically broken. Also, as you've not shown us the content of most of your document (loaded using\input
) we are pretty limited on what we can say.latexmk
there is no need to run it three times and start biber manually, one call tolatexmk
is enough.