Why won't biber-biblatex work with memoir? Seems that this is a longstanding issue, but I have not discovered any reliable resolution. In this mwe I get errors (i'm summarizing) like undefined refs and citations, cannot find .bib file, biber didn't find bib file, failed to resolve 1 citation. [biber 1.9, biblatex 2.9a, memoir 3.7b, macOS X]
Several references suggest that you delete the biber par-cache in terminal, located at:
$ biber -- cache
I've done this numerous times, but it still doesn't work.
Incidentally, I have run biber-biblatex with the standard article and book classes. Most of the time, the files compile. When I get errors, deleting the cache usually works. Not so with memoir. I have placed the .bib file in the same directory as the main file and in a designated directory -- like /Users/username/Library/texmf/bibtex/bib/bibfile.bib (my preference). Are their cautions, best practices, secrets, tips that users should be aware of to make this work in memoir?
\begin{filecontents}{sbk.bib}
@book{knu86,
Address = {New York},
Author = {Donald E. Knuth },
Publisher = {Addison-Wesley},
Title = {The TeXbook},
Year = {1986}}
\end{filecontents}
\documentclass[openany]{memoir}
\usepackage[%
backend=biber,
%style=authoryear,
%citestyle=authoryear,
]{biblatex}
\addbibresource{sbk.bib}
%\addbibresource{/Users/username/Library/texmf/bibtex/bib/sbk.bib}
\begin{document}
The TeX reference \cite{knu86}
%The TeX reference \parencite{knu86}
%\nocite{*}
\printbibliography
\end{document}
biber
andbiblatex
withmemoir
. Thecache
deletion is an (annoying) unrelated problem. Your example compiles without problem for me.bilbatex
experience (some more specific classes load incompatible bibliography packages or change other things to cause trouble, the "big" "standard" classes such as memoir and koma do not). Your MWE worked just fine on my system. What exact errors do you get if you start with a clean directory (delete all auxiliary files) and run (pdf)LaTeX, Biber, (pdf)LaTeX, (pdf)LaTeX?biber
; you need to delete that cache and runbiber
again. Once the cache is there it won't go away before you do the deletion and it won't produce a bibliography.