BibTeX, biblatex and biberTrouble using BibLaTeX on minimal example

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
pcopus
Posts: 1
Joined: Tue May 24, 2011 4:14 am

Trouble using BibLaTeX on minimal example

Post by pcopus »

I have installed kile and biblatex on kubuntu 11.04 using the kPackageKit package installer. I can build and view using pdflatex in kile using the built-in bibliographical reference system and also using bibtex/kbibtex. However, I believe I need biblatex for my thesis work in the humanities (footnotes, Turabian).

After installing biblatex, I can include the package, but the first and obvious control sequence, \addbibresource, is "undefined". Here is the tex code of a minimal file, reduced from the canonical 01-introduction.tex biblatex sample (which also exhibits the same behavior):

Code: Select all

\documentclass{article}
\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}

\begin{document}

\end{document}
And here is the log, with the undefined control sequence about 70% down:

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2011.5.12)  23 MAY 2011 21:26
entering extended mode
 %&-line parsing enabled.
**terse.tex
(./terse.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf/tex/latex/biblatex/biblatex.sty
Package: biblatex 2010/03/19 v0.9a programmable bibliographies

(/usr/share/texmf-texlive/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2009/08/06 v1.8 e-TeX tools for LaTeX

(/usr/share/texmf-texlive/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count87
))
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty
\Urlmuskip=\muskip10
Package: url 2006/04/12  ver 3.3  Verb mode for urls, etc.
)
\c@listtotal=\count88
\c@listcount=\count89
\c@liststart=\count90
\c@liststop=\count91
\c@citecount=\count92
\c@citetotal=\count93
\c@multicitecount=\count94
\c@multicitetotal=\count95
\c@instcount=\count96
\c@maxnames=\count97
\c@minnames=\count98
\c@maxitems=\count99
\c@minitems=\count100
\c@uniquename=\count101
\c@refsection=\count102
\c@refsegment=\count103
\c@maxextrayear=\count104
\c@maxextraalpha=\count105
\c@abbrvpenalty=\count106
\c@highnamepenalty=\count107
\c@lownamepenalty=\count108
\c@maxparens=\count109
\c@parenlevel=\count110
\blx@tempcnta=\count111
\blx@tempcntb=\count112
\blx@maxsection=\count113
\blx@maxsegment=\count114
\blx@notetype=\count115
\blx@parenlevel@text=\count116
\blx@parenlevel@foot=\count117
\labelnumberwidth=\skip43
\labelalphawidth=\skip44
\shorthandwidth=\skip45
\biblabelsep=\skip46
\bibitemsep=\skip47
\bibnamesep=\skip48
\bibinitsep=\skip49
\bibparsep=\skip50
\bibhang=\skip51
\blx@auxin=\read1
\blx@auxout=\write3
\c@labelname=\count118
\c@author=\count119
\c@shortauthor=\count120
\c@editor=\count121
\c@editora=\count122
\c@editorb=\count123
\c@editorc=\count124
\c@shorteditor=\count125
\c@bookauthor=\count126
\c@translator=\count127
\c@annotator=\count128
\c@commentator=\count129
\c@introduction=\count130
\c@foreword=\count131
\c@afterword=\count132
\c@holder=\count133
\c@namea=\count134
\c@nameb=\count135
\c@namec=\count136
\c@institution=\count137
\c@language=\count138
\c@location=\count139
\c@organization=\count140
\c@origlocation=\count141
\c@origpublisher=\count142
\c@pageref=\count143
\c@publisher=\count144
\c@lista=\count145
\c@listb=\count146
\c@listc=\count147
\c@listd=\count148
\c@liste=\count149
\c@listf=\count150

(/usr/share/texmf/tex/latex/biblatex/blx-compat.def
File: blx-compat.def 2010/03/19 v0.9a biblatex generic compatibility
)
(/usr/share/texmf/tex/latex/biblatex/biblatex.def
File: biblatex.def 2010/03/19 v0.9a biblatex generic definitions
\c@smartand=\count151
)
Package biblatex Info: Trying to load bibliography style 'numeric'...
Package biblatex Info: ... file 'numeric.bbx' found.

(/usr/share/texmf/tex/latex/biblatex/bbx/numeric.bbx
File: numeric.bbx 2010/03/19 v0.9a biblatex bibliography style
Package biblatex Info: Trying to load bibliography style 'standard'...
Package biblatex Info: ... file 'standard.bbx' found.

(/usr/share/texmf/tex/latex/biblatex/bbx/standard.bbx
File: standard.bbx 2010/03/19 v0.9a biblatex bibliography style
))
Package biblatex Info: Trying to load citation style 'numeric'...
Package biblatex Info: ... file 'numeric.cbx' found.

(/usr/share/texmf/tex/latex/biblatex/cbx/numeric.cbx
File: numeric.cbx 2010/03/19 v0.9a biblatex citation style
Package biblatex Info: Redefining '\cite'.
Package biblatex Info: Redefining '\parencite'.
Package biblatex Info: Redefining '\footcite'.
Package biblatex Info: Redefining '\footcitetext'.
Package biblatex Info: Redefining '\textcite'.
Package biblatex Info: Redefining '\supercite'.
Package biblatex Info: Redefining '\cites'.
Package biblatex Info: Redefining '\parencites'.
)
Package biblatex Info: Trying to load configuration file...
Package biblatex Info: ... file 'biblatex.cfg' found.

(/usr/share/texmf/tex/latex/biblatex/biblatex.cfg
File: biblatex.cfg 
))
! Undefined control sequence.
<recently read> \addbibresource
                                
l.3 \addbibresource
                   {biblatex-examples.bib}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.3 \addbibresource{b
                     iblatex-examples.bib}
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

Package biblatex Info: Trying to load language 'english'...
Package biblatex Info: ... file 'english.lbx' found.
(/usr/share/texmf/tex/latex/biblatex/lbx/english.lbx
File: english.lbx 2010/03/19 v0.9a biblatex localization
)
\@quotelevel=\count152
 (./terse.aux)
\openout1 = `terse.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
\openout3 = `terse-blx.bib'.

Package biblatex Info: Trying to load bibliographic data...
Package biblatex Info: ... file 'terse.bbl' not found.

No file terse.bbl.
Package biblatex Info: Reference section=0 on input line 5.
Package biblatex Info: Reference segment=0 on input line 5.
[1

{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./terse.aux) ) 
Here is how much of TeX's memory you used:
 3693 strings out of 495061
 59784 string characters out of 1182621
 194789 words of memory out of 3000000
 6905 multiletter control sequences out of 15000+50000
 3640 words of font info for 14 fonts, out of 3000000 for 9000
 28 hyphenation exceptions out of 8191
 30i,4n,21p,828b,322s stack positions out of 5000i,500n,10000p,200000b,50000s
</usr/share
/texmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on terse.pdf (1 page, 13249 bytes).
PDF statistics:
 10 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)
I'm new to linux and latex, one week out of M$ Windoze and climbing the learning curve. I really want this to work for my thesis writing. I suspect I'm missing something very obvious, but it is not yet obvious to me. I've googled and searched here and was unable to find anything...can anyone help? Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Trouble using BibLaTeX on minimal example

Post by josephwright »

You have biblatex v0.9 installed. Using \addbibresource in place of \bibloography is a newer feature. Either use \bibliography or (better) download the latest biblatex from CTAN.
Joseph Wright
Post Reply