GeneralPloblem with bibliography

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Ploblem with bibliography

Post by pallav »

I am getting the error like the following. Please help me.
This is BibTeX, Version 0.99c (MiKTeX 2.8)
The top-level auxiliary file: sds.aux
The style file: agsm.bst
I found no \bibdata command---while reading file sds.aux
Warning--I didn't find a database entry for "Az02"
Warning--I didn't find a database entry for "Ko02"
Warning--I didn't find a database entry for "Az2003"
Warning--I didn't find a database entry for "Aziz02"
Warning--I didn't find a database entry for "Azi02"
Warning--I didn't find a database entry for "Up97"
(There was 1 error message)
My preamble and bibliography in the tex file is as folows:

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage{psfrag}
\usepackage{parskip}
%\usepackage{url}
\usepackage{latexsym}
\usepackage[round, sort&compress, authoryear]{natbib}
\usepackage{amsmath}
\usepackage{color}
\bibliographystyle{agsm}
\numberwithin{equation}{section}
\begin{document}
.
.
.
\begin{thebibliography}{11}
\bibitem[Afanas’ev(1996)]{Af96} Afanas’ev, V.N., Kolmanowskii, V.B., Nosov, V.R., 1996.
Mathematical Theory of Control Systems Design (Dordrecht: Kluwer).
\end{thebibliography}
\end{document}

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Ploblem with bibliography

Post by localghost »

Decide to use either BibTeX or the thebibliography environment. In your example omit the latter one and add the command for your bibliography generated by BibTeX where you need it.

Code: Select all

\bibliography{bibname}
This will create a bibliography from the bibname.bib database file. To make the bibliography appear in your document you will need for runs.

Code: Select all

pdflatex jobname
bibtex jobname
pdflatex jobname
pdflatex jobname
Where jobname.tex is your main document.


Best regards
Thorsten
Post Reply