I'm attempting to create a bibliography using biber, via Tex Live (installed on a Linux Mint 11 machine).
My source .bib file is:
@article{simon06,
author = {Simon, E. and Flaschker, N. and Schadewaldt, P. and Langenbeck, U. and Wendel, U.},
title = {Variant maple syrup urine disease (MSUD)--the entire spectrum},
year = 2006,
journal = {Journal of inherited metabolic disease},
volume = 29,
number = 6,
pages = {716--24},
pmid = 17063375,
doi = {10.1007/s10545-006-0276-1},
keywords = {}
}
My pmid.tex file is:
\documentclass[]{article}
\usepackage[autostyle]{csquotes}
\usepackage[
backend=biber,
style=authoryear-icomp,
sortlocale=de_DE,
natbib=true,
url=false,
doi=true,
eprint=false
]{biblatex}
\addbibresource{pmid.bib}
\usepackage[]{hyperref}
\hypersetup{
colorlinks=true,
}
%% ##############################
\begin{document}
Lorem ipsum dolor sit amet~\citep{simon06}.
At vero eos et accusam et justo duo dolores et ea rebum~\citet{simon06}.
\printbibliography
\end{document}
My sequence is:
pdflatex, biber, pdflatex
After running biber pmid, the resulting pmid.bbl file contains an error:
\begingroup
\makeatletter
\@ifundefined{ver@biblatex.sty}
{\@latex@error
{Missing 'biblatex' package}
{The bibliography requires the 'biblatex' package.}
\aftergroup\endinput}
{}
\endgroup
biblatex is apparently not installed. I tried issuing tlmgr install biblatex, received no errors, but am continuing to get the 'missing biblatex' error.
Any help and/or guidance appreciated.
Best Answer
The construction
is a test with two branches, which checks if
biblatex
is loaded. If it is, then\ver@biblatex.sty
is defined and nothing happens. If it is not defined, the.tex
file which read the.bbl
file did not loadbiblatex
. In that case an error is raised. Thus this is a safety precaution, not an error.