Bibtex “didn't find a database entry”

General Tech Learning Aids/Tools 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Learning Aids/Tools related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I'm having issues creating citations in my document. My text file states:

\documentclass[11pt]{article}

\usepackage[round]{natbib}

\begin{document}

Their long-term aid \citet{Haggarty:01}

\bibliographystyle{plainnat}
\bibliography{Quotes}

\end{document}

My bibtex file is:

\begin{thebibliography}

\bibitem[Haggarty and Pepin(2001)]{Haggarty:01}
L. Haggarty and B. Pepin.
\newblock An Investigation of Mathematics Textbooks and their use in English, French and German Classrooms.
\newblock \emph{Proceedings of the British Society for Research into Learning Mathematics}, 21\penalty0 (2):\penalty0 117--125, 2001.

\end{thebibliography}

When I latex, bibtex, latex, latex I get the following warning:

Warning--I didn't find a database entry for "Haggarty:01"

I've creating references like this before a long time ago, so I can't remember if there's anything else I should be doing. I've tried deleting the .aux file before running a fresh but nothing seems to help. Where am I going wrong?

profilepic.png
manpreet 2 years ago

 

Your file Quotes.bib should look like this:

@Article{Haggarty:01,
  author =   {Haggarty, L. and Pepin, B.},
  title =    {An Investigation of Mathematics Textbooks and their
                  use in English, French and German Classrooms},
  journal =  {Proceedings of the British Society for Research into
                  Learning Mathematics},
  year =     2001,
  volume =   21,
  number =   2,
  pages =    {117--125}
}

Compiling your main file with latexbibtexlatexlatex gives:

Sample output

What you have used instead is something akin to the .bbl file that is the result of running latexfollowed by bibtex. Once you have a final list of references such a .bbl file could be included directly in to your main source to make a standand alone document of the form:

\documentclass[11pt]{article}

\usepackage[round]{natbib}

\begin{document}

Their long-term aid \citet{Haggarty:01}

%\bibliographystyle{plainnat}
%\bibliography{Quotes}
\begin{thebibliography}{1}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{\texttt{#1}}
\expandafter\ifx\csname urlstyle\endcsname\relax
  \providecommand{\doi}[1]{doi: #1}\else
  \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi

\bibitem[Haggarty and Pepin(2001)]{Haggarty:01}
L.~Haggarty and B.~Pepin.
\newblock An investigation of mathematics textbooks and their use in english,
  french and german classrooms.
\newblock \emph{Proceedings of the British Society for Research into Learning
  Mathematics}, 21\penalty0 (2):\penalty0 117--125, 2001.

\end{thebibliography}

\end{document}

0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.