# Error with \footnote{\bibentry{foo}} when using beamer

I am making a beamer presentation and having the following problem:

When I use \footnote{\bibentry{foo}} to cite an article, I get the following error message:

Undefined Control Sequence}


And the footnote does not appear right. I have used this in other beamer presentation before, though I'm not sure what is going wrong in my case. I typed

\usepackage{bibentry}
\nobibliography*


before my title slide (which is before \begin{document}) and I also typed

\begin{frame}
\titlepage
\bibliographystyle{amsplain}
\nobibliography{diss_def}
\end{frame}


Immediately after \begin{document}

Any suggestions on what could be wrong?? Or other suggestions for citing in beamer?

-
Welcome to TeX.sx! A tip: If you indent lines by 4 spaces or enclose words in backticks , they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it). – Marco Daniel Apr 13 '12 at 20:41
Re: other suggestions: Use biblatex. See my answer to tex.stackexchange.com/questions/10547/…; for footnote citations, add the autocite=footnote package option. – lockstep Apr 13 '12 at 20:47
Please, try providing a minimal example, as what I've tried along your lines works. What is the "undefined control sequence"? – egreg Apr 13 '12 at 20:51
@lockstep, thanks! I saw your post on biblatex. What if I also want to include the name of the journal? – dblazevski Apr 14 '12 at 15:59
You could a) switch to an authortitle style b) use \footfullcite` or c) a customized citation command. – lockstep Apr 14 '12 at 16:06