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.
citeis explicitly declared to be incompatible with thebiblatexpackage (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'.– jon Jan 18 '14 at 05:27citeever worked withbiblatex: it is coded to stop on as an error if the package is loaded around line 65-69 of bothbiblatex1.styandbiblatex2.sty. How you managed to make it work is beyond me.) – jon Jan 18 '14 at 06:23biblatexhas a\citecommand (among many others), but the packageciteis 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. – jon Jan 18 '14 at 06:37.logand.blgfiles 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. – Joseph Wright Jan 18 '14 at 07:44latexmkthere is no need to run it three times and start biber manually, one call tolatexmkis enough. – moewe Jan 18 '14 at 08:24biblatex, Biber andlatexmkare you running? Did you change anything else except for the modular design? – moewe Jan 18 '14 at 08:31