BibTeX, biblatex and biberUndefined Citations in Presentation

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
theresesmith
Posts: 2
Joined: Tue Feb 28, 2012 1:24 am

Undefined Citations in Presentation

Post by theresesmith »

I would like to post to LaTeX forum, but do not see an affordance that will let me.

Once I see it, there is an image I would like to upload, if that is allowed. It shows the citation correct popup, and the citation undefined error message, all in the same image, with the minimal example.

Code: Select all

\documentclass{beamer}

\title{A Tiny Example}
\author{Andrew Mertz and William Slough}
\date{June 15, 2005}

\begin{document}
%\maketitle
\begin{frame}
%\frametitle{First Slide}
by these organisms\cite{gu2013emerging}
\end{frame}
 
\bibliographystyle{plain} %Style of Bibliography: plain / apalike / amsalpha / ...
\bibliography{literature} %You need a file 'literature.bib' for this.

\end{document}

All the best,
Therese
Last edited by localghost on Sun Apr 28, 2013 9:05 am, 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.

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Undefined Citations in Presentation

Post by localghost »

theresesmith wrote:I would like to post to LaTeX forum, but do not see an affordance that will let me. […]
You already managed to open a topic in the »New Members« area. Hence you should be able to do so in every other sub-forum here. Just click the »New Topic« button right beneath the forum title. Otherwise refer to the FAQ. Your question has been split to a new topic.
theresesmith wrote:[…] Once I see it, there is an image I would like to upload, if that is allowed. It shows the citation correct popup, and the citation undefined error message, all in the same image, with the minimal example. […]
Of course it's allowed to upload images. We prefer the upload to the forum server. Error messages are better posted directly from the log file (*.log) and not as a screen capture.

Regarding your problem, you will need to put the bibliography into a frame environment. This will also require that you run BibTeX (or Biber) in between. Your editor should support this in the same way as it supports compilation.

Code: Select all

\documentclass{beamer}

\title{A Tiny Example}
\author{Andrew Mertz and William Slough}
\date{June 15, 2005}

\bibliographystyle{plain}

\begin{document}
%\maketitle
\begin{frame}
%\frametitle{First Slide}
by these organisms\cite{gu2013emerging}
\end{frame}

\begin{frame}{References}
  \bibliography{literature}
\end{frame}
\end{document}
If that doesn't help, please prepare a self-contained example to give an adequate description of the problem.


Thorsten
Post Reply