BibTeX, biblatex and biberError with bibtex and kile

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
mikesol
Posts: 8
Joined: Sun Mar 22, 2009 8:42 am

Error with bibtex and kile

Post by mikesol »

Hello again

I'm doing my thesis and I have an error with bibtex, I'm using kile in ubuntu.

My code its like that

Code: Select all

\documentclass{article}
\begin{document}

bla bla  \cite{fouque}

\end{document}
\renewcommand{\refname}{Bibliografía}
\nocite{kristina,karatzas}
\bibliographystyle{amsplain}	% (uses file "plain.bst")
\bibliography{biblio}		% expects file "myrefs.bib"
the biblio.bib file is

Code: Select all

@Book{ bjork,
	title = "Arbitrage theory in continuous time",
	author = "Tomas Bj{\"o}rk",
	publisher = "Oxford university press",
	address = "Oxford",
	year = "1998"
}

@Book{ fouque,
	title = "Derivates in Financial Markets with Stochastic Volatility",
	author = "Jean-Pierre Fouque and George Papanicolao and K. Ronnie Sircar",
	publisher = "Cambridge university press",
	year = "2000"
}

@Book{ cairns,
	title = "Interest rate models: an introduction",
	author = "Andrew Cairns",
	publisher = "Princenton university press",
	year = "2004"
}

@Book{ oksendal,
	title = "Stochastic differential equations: an introduction with applications",
	author = "B.K. {\O}ksendal",
	year = "2003",
	publisher = "Springer"
}

@MastersThesis{ kristina,
	title = "Stochastic Volatility",
	author = "Kristina Andersson",
	school = "Upsala University",
	year = "2003"
}

@Book{ karatzas,
	title = "Brownian motion and stochastic calculus",
	author = "I. Karatzas and S.E. Shreve",
	publisher = "Springer",
	year = "1991"
}
But there are many errors

Code: Select all

Anteproyecto.tex:107: Citation `oksendal' on page 3 undefined on input line 107.
Anteproyecto.tex:215: Citation `bjork' on page 5 undefined on input line 215.
Anteproyecto.tex:257: Citation `fouque' on page 6 undefined on input line 257.
Anteproyecto.tex:300: Citation `cairns' on page 7 undefined on input line 300.
And the pdf doesn't show any bibliography.

There is something wrong with my code?

Thanks in advance

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Error with bibtex and kile

Post by gmedina »

Hi,
mikesol wrote:
\documentclass{article}
\begin{document}

bla bla \cite{fouque}

\end{document}
\renewcommand{\refname}{Bibliografía}
\nocite{kristina,karatzas}
\bibliographystyle{amsplain} % (uses file "plain.bst")
\bibliography{biblio} % expects file "myrefs.bib"
Please notice that you are placing the \end{document} command before the commands that will create the bibliography (Everything after the \end{document} command will be ignored in the compilation). Try this:

Code: Select all

\documentclass{article}

\begin{document}

bla bla  \cite{fouque}

\renewcommand{\refname}{Bibliografía}
\nocite{kristina,karatzas}
\bibliographystyle{amsplain}
\bibliography{biblio}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
mikesol
Posts: 8
Joined: Sun Mar 22, 2009 8:42 am

Re: Error with bibtex and kile

Post by mikesol »

Man Thanks a lot!

Was a foolish mistake. :oops:

Thanks again
Post Reply