How do you correct an undefined citation? I've clicked the BibTex option several times to let Latex automatically recognize the new references, but this isn't working.
\documentclass[12pt,a4paper]{report}
\usepackage{natbib}
\begin{document}
\section{Introduction}
\label{sec:intro}
\subsection{A}
Text with \cite{hatcher2008}
\bibliographystyle{plain}
\bibliography{bibfile}
\end{document}
Addendum: Here's an excerpt from the .bib file:
@article{hatcher2008curcumin}
title={Curcumin: from ancient medicine to current clinical trials},
author={Hatcher, H. and Planalp, R. and Cho, J. and Torti, FM and Torti, SV},
journal={Cellular and Molecular Life Sciences},
volume={65},
number={11},
pages={1631--1652},
year={2008},
publisher={Springer}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\begin{document}
\input{./title.tex}
\section{Introduction} \label{sec:intro} \subsection \subsubsection Text with \cite{hatcher2008} \subsubsection \subsubsection \subsubsection \subsection \subsubsection \subsubsection \subsubsection
\bibliographystyle{plain}
\bibliography{bibfile}
\end{document}
– Keith Oct 22 '12 at 06:34hatcher2008in your bib file. Also, note that\sectionand\subsectioncommands take a mandatory argument; your full MWE has little chance of compiling properly. – Mico Oct 22 '12 at 06:44\subsectionand\subsubsectioncommands), you render your code uncompilable. That's why it's better to omit such commands entirely for the purpose of providing an MWE. Please edit your question to list the exact error and/or warning messages you get. Without this information, there's little hope figuring out what exactly is going on. The BibTeX error message you report, "... found no database files while reading thesis.aux", strongly suggests that entry "hatcher2008" is not inbibfile.bib. – Mico Oct 22 '12 at 07:14\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\begin{document}
\input{./title.tex}
\section{Introduction} \label{sec:intro} \subsection \subsubsection Text with \cite{hatcher2008}
\subsection
\bibliographystyle{plain}
\bibliography{bibfile}
\end{document}
– Keith Oct 22 '12 at 07:26% BibTeX Entries @article{hatcher2008curcumin} title={Curcumin: from ancient medicine to current clinical trials}, author={Hatcher, H. and Planalp, R. and Cho, J. and Torti, FM and Torti, SV}, journal={Cellular and Molecular Life Sciences}, volume={65}, number={11}, pages={1631--1652}, year={2008}, publisher={Springer}
– Keith Oct 22 '12 at 07:26key(hatcher2008curcumin); (ii) a closing right curly brace is missing at the end of the entry (after thepublisherfield); and (iii) the entry'skey(hatcher2008curcumin) is not equal to argument of the\citecommand (hatcher2008). Please fix these issues and then recompile. – Mico Oct 22 '12 at 07:49@article{hatcher2008curcumin, title=.... Also bibtex generates a log-file (with the ending.blg), check it for error messages. – Ulrike Fischer Oct 22 '12 at 09:23