I'm having difficulties making a footnote style reference at the end of a beamer slide. In the MWE below, I have used the footcite command, as per References at the end of beamer slides
However, the author of that post himself mentions that this is just a hack and will not work in all cases. In my specific case, I have exported my bibliography from Endnote to LaTeX as a text file (this is why I use bibliography{example.txt}). I cannot convert example.txt to example.bib via a manual file extension conversion for some reason (probably because information is lost during the conversion when it's done by hand by changing .txt to .bib). However, all entries of that text file are as they should be (i.e., all fields are present in the correct LaTeX formatting). What could be the problem?
\documentclass{beamer}
\usepackage{natbib}
\usepackage{bibentry}
\bibliographystyle{apalike}
\usepackage{chngcntr}
\bibliography{example.txt}
\counterwithin*{footnote}{page}
\newcommand\footcite[1]{\footnote{\bibentry{#1}}\label{\thepage:#1}}
\newcommand\secondcite[1]{\textsuperscript{\ref{\thepage:#1}}}
\begin{document}
Hello,World\footcite{Name2014}
\end{document}
P.S. I have tried creating my own custom text file with only one entry (as per References at the end of beamer slides):
@book{Saussure1995,
Author = {Ferdinand de Saussure},
Origyear = {1916},
Publisher = {Payot},
Title = {Cours de Linguistique G{\'e}n{\'e}rale},
Year = {1995}}
And changing the footcite command to footcite{Saussure1995}. I have the exact same output produced as with the code block above, so clearly this is not a problem with my text file.
P.P.S. I have tried making a custom .bib file with just one entry with the following MWE below but I still get the same result:
\documentclass{beamer}
\usepackage{natbib}
\usepackage{bibentry}
\bibliographystyle{apalike}
\usepackage{chngcntr}
\bibliography{example2.bib}
\counterwithin*{footnote}{page}
\newcommand\footcite[1]{\footnote{\bibentry{#1}}\label{\thepage:#1}}
\newcommand\secondcite[1]{\textsuperscript{\ref{\thepage:#1}}}
\begin{document}
Hello,World\footcite{Saussure1995}
\end{document}



Saussure1995.Both my text file and .tex file are in the same directory. – warship Dec 30 '14 at 01:15biberinstead ofbibtex(or alternatively, you can addbackend=bibtexas one of the options of thebiblatexpackage, i.e.,\usepackage[style=apa,backend=bibtex]{biblatex}– Guido Dec 30 '14 at 01:17\usepackage[style=apa,backend=bibtex]{biblatex}completely throws things off in the MWE above. – warship Dec 30 '14 at 01:20biblatex-aparequiresbiber, just checked in its manual. – Guido Dec 30 '14 at 01:22biberand hopefully you can provide some alternatives (e.g.,natbib). – warship Dec 30 '14 at 01:24pdflatex <file>thenbiber <file>and thenpdflatex <file>. Otherwise see http://tex.stackexchange.com/questions/154751/biblatex-with-biber-configuring-my-editor-to-avoid-undefined-citations. If you want to usebibtexyou have to change the extension of the bibliography tobib. – Guido Dec 30 '14 at 01:26biber <file>givesERROR - Cannot find control file 'testing.tex.bcf'! - did you pass the "backend=biber" option to BibLaTeX?. Using\usepackage[style=apa,backend=biber]{biblatex}does not fix the issue. – warship Dec 30 '14 at 01:31