BibTeX, biblatex and biberbiblatex | Bibliography Error

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
ahmedlasheen
Posts: 43
Joined: Wed Oct 27, 2010 10:25 pm

biblatex | Bibliography Error

Post by ahmedlasheen »

I have problem in compilation minmal example about bibliography.when i compile the following code

Code: Select all

Code, edit and compile here:
\documentclass{article}
\usepackage{biblatex}
\begin{document}
\bibliographystyle{plain}
\bibliography{ref}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
and the ref.bib file is

Code: Select all

@Article{Narendra_1990,
author = {K.S.Narendra and K.Parthsarathy},
title = {Identification and Control of Dynamical System
using Neural Networks},
journal = "IEENN",
year = {1990},
volume = {1},
number = {1},
month = {},
pages = {4-27},
note = {},
annote = {}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
i found the following error
! Package biblatex Error: '\bibliographystyle' invalid.
! Package biblatex Error: '\bibliography' invalid at this point.
I am using Latex 2009 and texmaker on Fedora 15.

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: biblatex | Bibliography Error

Post by josephwright »

You are using a 'tradition' approach to a BibTeX bibiliography. Biblatex does not work that way: I suggest you read some of the biblatex examples.
Joseph Wright
ahmedlasheen
Posts: 43
Joined: Wed Oct 27, 2010 10:25 pm

Re: biblatex | Bibliography Error

Post by ahmedlasheen »

can you give me minimal example?
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

biblatex | Bibliography Error

Post by josephwright »

For example, the biblatex exmaple file '30-style-numeric.tex'

Code: Select all

Code, edit and compile here:
%
% This file presents the 'numeric' style
%
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=numeric,subentry]{biblatex}
\usepackage{hyperref}
\addbibresource{biblatex-examples.bib}
% Some generic settings.
\newcommand{\cmd}[1]{\texttt{\textbackslash #1}}
\setlength{\parindent}{0pt}
\begin{document}
\section*{The \texttt{numeric} style}
This style prints numeric citations in square brackets. It is
similar to the standard bibliographic facilities provided by LaTeX
and to the \texttt{plain.bst} style of legacy BibTeX.
\subsection*{\cmd{cite} examples}
\cite{companion}
\cite[59]{companion}
\cite[see][]{companion}
\cite[see][59--63]{companion}
\subsection*{\cmd{parencite} examples}
% With the numeric style, the \parencite command is similar to \cite
% at first glance, but the placement of the prenote argument is
% different.
This is just filler text \parencite{companion}.
This is just filler text \parencite[59]{companion}.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Joseph Wright
ahmedlasheen
Posts: 43
Joined: Wed Oct 27, 2010 10:25 pm

biblatex | Bibliography Error

Post by ahmedlasheen »

thanks ,

i compile it and it give the following error .

Code: Select all

! Undefined control sequence.
<recently read> \addbibresource
l.10 \addbibresource
{ref}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
can you also attach the bib file .
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

biblatex | Bibliography Error

Post by localghost »

Your version of biblatex is outdated. Get an update by using the package manager of your TeX distribution.


Thorsten
ahmedlasheen
Posts: 43
Joined: Wed Oct 27, 2010 10:25 pm

Re: biblatex | Bibliography Error

Post by ahmedlasheen »

Thanks for your reply,
i am using TexLive 2010.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: biblatex | Bibliography Error

Post by localghost »

So, use the TeX Live Manager (tlmgr) which comes with this distribution.
ahmedlasheen
Posts: 43
Joined: Wed Oct 27, 2010 10:25 pm

biblatex | Bibliography Error

Post by ahmedlasheen »

when i run the following command
tlmgr update --all
it give me

Code: Select all

tlmgr: package repository http://ftp.cc.uoc.gr/mirrors/CTAN/systems/texlive/tlnet
TeX Live 2010 is frozen and will not be
updated anymore. This happens in preparation for a new release.
If you're interested in helping to pretest the new release (when
pretests are available), please read http://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
Updates for tlmgr itself are present.
===============================================================================
Please update the package manager first, via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates.
===============================================================================
/usr/local/texlive/2010/bin/x86_64-linux/tlmgr: Exiting, please read above warning.
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
and when i type the command tlmgr update --self

Code: Select all

tlmgr: package repository http://ftp.cc.uoc.gr/mirrors/CTAN/systems/texlive/tlnet
TeX Live 2010 is frozen forever and will no
longer be updated. This happens in preparation for a new release.
If you're interested in helping to pretest the new release (when
pretests are available), please read http://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
tlmgr: saving backups to /usr/local/texlive/2010/tlpkg/backups
tlmgr: no updates for tlmgr present.
tlmgr: no updates available
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: biblatex | Bibliography Error

Post by localghost »

Oh, sorry. I have forgotten that TeX Live 2010 is frozen, thus a subsequent installation or update of packages this way is not possible any more. It is said that TeX Live 2011 is to be released in the near future.

For the present you could download the package from CTAN and put it in the working directory of your document as a temporary solution.
Post Reply