Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
5  
That's not an error in the .bbl file, it's a safety check. The error is only issued if you try to use the .bbl with a .tex file that does not load biblatex. Did you actually get an error when using the file? –  Joseph Wright Jun 15 '12 at 20:31
    
Don't kill me -- I just started looking at latex a couple days ago. I forgot to run pdflatex a second time. Did that just now and the reference shows up in the PDF. –  a coder Jun 15 '12 at 20:36
    
Perhaps this is a separate question but is it allowable to only generate a bibliography? The working example tex file I have includes more than just bibliography. –  a coder Jun 15 '12 at 20:37
2  
\begin{document}\nocite{*}\printbibliography\end{document} plus a suitable preamble –  Joseph Wright Jun 15 '12 at 20:38
1  
The preamble, in LaTeX parlance, is the stuff between \documentclass{...} and \begin{document}. A suitable preamble, in the case at hand, would (at a minimum!) instruct LaTeX to load biblatex, specify any particular bibliography styles, and specify one or more .bib bibliography database files containing the entries of interest to you. –  Mico Jun 15 '12 at 21:01

1 Answer 1

The construction

\@ifundefined{ver@biblatex.sty}
  {\@latex@error
     {Missing 'biblatex' package}
     {The bibliography requires the 'biblatex' package.}
      \aftergroup\endinput}
  {}

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 load biblatex. In that case an error is raised. Thus this is a safety precaution, not an error.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.