BibTeX, biblatex and biberBIBTeX not working

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

BIBTeX not working

Post by sgp »

Hi all,
I am new to LaTeX and i need it for my thesis preparation. I installed the TeX from the proTeXt bundle. Everything works fine except for the bibliography. I have the BIBTeX file in the same folder as the TeX file but the reference doesn't seem to come in the output pdf file. Can anybody guess what could be the problem?

Thanks in advance,
regards,
sgp.
Last edited by sgp on Thu Jul 22, 2010 6:32 pm, edited 1 time in total.

Recommended reading 2024:

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

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

sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

BIBTeX not working

Post by sgp »

sorry, i forgot to give details.

The top-level auxiliary file: try.aux
The style file: plain.bst
I found no \citation commands---while reading file try.aux
Database file #1: jfm2esam.bib
(There was 1 error message)

This what appears when i compile the .bib file

and in the the .bib file

Code: Select all

@book{ab94,
       author = {Charalambos D. Aliprantis and Kim C. Border},
       year = {1994},
       title = {Infinite Dimensional Analysis},
       publisher = {Springer},
       address = {Berlin}
     }
this is what exists.

the main .tex file has this,

Code: Select all

\documentclass{article}
\usepackage { geometry }
\usepackage { fancyhdr }
\usepackage { amsmath , amsthm , amssymb }
\usepackage { graphicx }
\usepackage { hyperref }
\usepackage { graphics }
\usepackage { graphicx }
\usepackage {natbib}
\usepackage{bibentry}
\title{Here it goes}
\begin{document}
\maketitle
\bibliographystyle{plain}
\bibliography{jfm2esam}
\end{document}
I am new to LaTeX, any help would be deeply appreciated.

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

BIBTeX not working

Post by josephwright »

You have no \cite commands in your source. Entries from the database only go into the LaTeX file when you do

Code: Select all

\cite{<ref-name>}
If you want all of them to appear, do

Code: Select all

\nocite{*}
Joseph Wright
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

BIBTeX not working

Post by localghost »

There is no \cite command in your example. Furthermore you will have to run (PDF)LaTeX, then BibTeX and (PDF)LaTeX twice again.


Best regards
Thorsten
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

Re: BIBTeX not working

Post by sgp »

@above two

thanks a lot guys, its working now. really appreciate it.

regards,
sgp.
msh855
Posts: 12
Joined: Thu Mar 01, 2012 1:31 pm

BIBTeX not working

Post by msh855 »

Hi I have the same problem !!

But in my case i do everything mentioned here and still i cannot get the reference lists

here is my code

Code: Select all

\begin{document}
\maketitle
\section{Introduction}

... for either paradigms. For a survey see \citet{Acharya_Merrouche_2009_WP} who critically reviews the merits of each methodology 

\newpage \bibliographystyle{plain}
\bibliography{library}
\end{document}
Can somebody help me with this !!! Its really annoying. I do the code in Texstudio, i also tried Texcenter same problems.

Any help please ?
Last edited by Stefan Kottwitz on Thu Mar 01, 2012 2:12 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

BIBTeX not working

Post by Stefan Kottwitz »

Hi msh855,

welcome to the board!
msh855 wrote:But in my case i do everything mentioned here and still i cannot get the reference lists

here is my code

...

Can somebody help me with this !!!
Please write to readers of this forum as polite as you write to the readers of the document, especially if you ask for help. So please use punctuation, and don't write many exclamation marks in a row.

\citet requires the natbib package. Your code doesn't show that you loaded it, this could be a problem.

Otherwise please tell briefly, what you did (not just "everything"). I guess you forgot something.

Stefan
LaTeX.org admin
msh855
Posts: 12
Joined: Thu Mar 01, 2012 1:31 pm

BIBTeX not working

Post by msh855 »

Hi Stefan

I loaded the package i just did not wrote from the very beginning my code:

Here it is from the very beginning my code

Code: Select all

\documentclass[a4paper]{article}

\title{xxxx}
\author{xxxx}
\date{\today}


\usepackage[hmargin=2cm,vmargin=1cm]{geometry}
\usepackage{amsmath}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{natbib}


\begin{document}
\maketitle
\section{Introduction}


For a survey see \citet{Acharya_Merrouche_2009_WP} who critically reviews the merits of each methodology.

\newpage \bibliographystyle{plainnat}
\bibliography{library}

\end{document}
I did the three steps of first compiling the document then bib and then again the doc but no progress ! i also tried without natlib. For instance right now, in the reference list it appear a reference that i cited before which i am not using any more in my document !!!!

Can you please help me with this ?

thanks
Last edited by Stefan Kottwitz on Thu Mar 01, 2012 3:05 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

BIBTeX not working

Post by Stefan Kottwitz »

msh855 wrote:For instance right now, in the reference list it appear a reference that i cited before which i am not using any more in my document !!!!

Can you please help me with this ?
Unfortunately not, because you keep shouting at me and at our readers.
You ignored my wish not to use bunched exclamation marks, why should I expect that you read other advice I write.

If you want to learn something, have a look at the short article "The Exclamation Mark", the section "How (not) to use an exclamation mark".

Stefan
LaTeX.org admin
msh855
Posts: 12
Joined: Thu Mar 01, 2012 1:31 pm

Re: BIBTeX not working

Post by msh855 »

I apologize, i do not mean to shout at anyone. Hope to forgive my informal way of previous posts. In case that you or another reader want to still help me I wish to inform that the bibtex file was produced automatically by Mendeley http://www.mendeley.com/. Otherwise, thank you for the correspondence so far.
Post Reply