I'm writing a LaTeX file using Texlipse. So here is my LaTeX file:
\documentclass[10pt,psfig,letterpaper,twocolumn]{article}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{natbib}
\usepackage{verbatim}
\usepackage[scaled=0.9]{helvet}
\singlespacing
\paperwidth 8.5in
\paperheight 11in
\oddsidemargin 0in
\headsep 1.3cm
\geometry{left=0.75in,top=0.75in,right=0.75in,bottom=1in}
\textwidth 7in
\textheight 9.25in
\columnsep 0.4in
\footskip 0in
\renewcommand{\bibname}{REFERENCE}
\pagestyle{empty}
\begin{document}
\bibliographystyle{acm}
\title{\fontfamily{phv}\selectfont{\huge{\bfseries{Title here}}}} \author{
{\fontfamily{ptm}\selectfont{\large{\bfseries{author name}}}}\thanks{contact
info }}
\maketitle
\thispagestyle{empty}
\section*{\fontfamily{phv}\selectfont{\normalsize{\bfseries{Section name}}}}
\begin{figure}
\centering
\includegraphics[width=3in]{fig1.png}
\caption{Caption}
\label{Fig.1}
\end{figure}
\pagebreak[4]
\vspace*{5.52in}
\bibliography{ref}
\end{document}
and here is my .bib
file:
@BOOK{notsurewhatitisfor,
author = "Author's name",
title = "Book's title",
publisher = "Springer",
year = 2011
}
@Article{notsurewhatitisfor,
author = {author's name},
title = {article's title},
journal = "EEEE",
year = {2011},
volume = {1},
number = {1},
month = {},
pages = {4-27},
note = {},
annote = {}
}
The bib file is named ref.bib
and was copied to the same folder with the .tex
file. However, I have nothing generated in the References section.
Here is the message in the console that I think is relevant:
pdflatex>(./document.bbl
pdflatex>
pdflatex> Package natbib Warning: Empty `thebibliography' environment on input line 3.
pdflatex>
pdflatex> )
I noticed that the document.bbl
in the tmp folder is empty.
Can someone please let me know where the problem is?
\cite
commands: do I understand this correctly? If so, you need some citations for LaTeX/BibTeX to actually include anything in your bibliography.