帮助,我的 PDF 显示一个空的参考页面。这是我的代码。
\documentclass[12pt, xcolor=dvipsnames]{beamer}
\setbeamertemplate{navigation symbols}{}
\usetheme{Goettingen}
\usepackage[utf8x]{inputenc}
\usepackage{ucs}
\usepackage[english]{babel}
\begin{document}
\section{Overview}
\begin{frame}
\frametitle{The Shaw prize}
\begin{itemize}
\item Sir Run Run Shaw lived 107 years.\cite{Shaw}
\end{itemize}
\end{frame}
\section{References}
\begin{frame}
\frametitle{References}
\bibliographystyle{apalike}
\bibliography{Accretion Disks and MRI.bib}
\end{frame}
\end{document}
这是我的.bib 文件:
@misc{Shaw,
title = {The Shaw Prize Website}
}
答案1
有两件事:第一,bib 文件的文件名中不要有空格,例如AccretionDisksandMRI.bib
,第二,不要在\bibliography{AccretionDisksandMRI}
代码:
\documentclass[12pt, xcolor=dvipsnames]{beamer}
\setbeamertemplate{navigation symbols}{}
\usetheme{Goettingen}
\usepackage[utf8x]{inputenc}
\usepackage{ucs}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{movie15}
\usepackage[english]{babel}
\usepackage{filecontents}
\begin{filecontents}{AccretionDisksandMRI.bib}
@misc{Shaw,
title = {The Shaw Prize Website}
}
\end{filecontents}
\begin{document}
\section{Overview}
\begin{frame}
\frametitle{The Shaw price}
\begin{itemize}
\item Sir Run Run Shaw lived 107 years.\cite{Shaw}
\end{itemize}
\end{frame}
\section{References}
\begin{frame}
\frametitle{References}
\bibliographystyle{apalike}
\bibliography{AccretionDisksandMRI}
\end{frame}
\end{document}