I'm using biblatex with biber as the backend to write my document. Without \printbibliography
, all the citations work perfectly well, and appear in the document, so I assume that my bibliography.bib
file is fine. The problem comes, however, when I include the line \printbibliography
at the end of my document (just before \end{document}
): suddenly every time I try to compile I get "undefined control sequence" referencing whatever line is after \printbibliography
.
Following suggestions elsewhere on the internet, I combed my document for "smart" quotation marks, and other weird characters, but there aren't any. My citations are downloaded from ADSABS, with the occasional @ONLINE
resource, too. As I said, though, all the references work fine, it's just the \printbibliography
command that bails.
To illustrate (I'm not going to paste the entire document here unless someone thinks it will be helpful):
\usepackage[style=authoryear-icomp,sorting=anyt]{biblatex}
\addbibresource{bibliography.bib}
...
\printbibliography
\documentclass{...}
, the required\usepackage
's,\begin{document}
, and\end{document}
. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem..bbl
file to make sure nothing is wrong there -- all brace groups closed, that sort of thing, and also, whether the control sequence cited as "undefined" occurs in that file.biblatex
fails at\printbibliography
it's not abiblatex
problem but a problem with the.bib
file. The problem does not become apparent in the citations though because not all entry fields are evaluated at cite-time. A MWE (and the error message: which command?) would greatly help us find the problem. In searching for it you might very well find out where the problem lies yourself. (Try for example only to cite one entry from the.bib
file and print the bibliography, if that works that entry is not the culprit, try another one).\printbibliography
, but it doesn't properly cite anything either. All the citations are just printed as the citation keys, and the references section isn't populated (see compiled PDF here: cl.ly/2f1e3T243o1n). I've tried multiple runs but no cigar. It seems I can't even create a proper MWE...