I present a MWE:
\documentclass[12pt]{beamer}
\usetheme{Madrid}
\usecolortheme{beaver}
\usefonttheme{professionalfonts}
\usepackage[backend=biber,style=authoryear,natbib=true,url=false]{biblatex}
\addbibresource{biblatex-examples.bib}
\makeatletter
\let\insertsupervisor\relax
\newcommand\supervisortitle{Supervisor}
\mode<all>
{
\newcommand\supervisor[1]{\def\insertsupervisor{#1}}
\titlegraphic{}
}
\defbeamertemplate*{title page}{supdefault}[1][]
{
\vbox{}
\vfill
\begingroup
\centering
\begin{beamercolorbox}[sep=8pt,center,#1]{title}
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty\relax%
\else%
\vskip0.25em%
{\usebeamerfont{subtitle}\usebeamercolor[fg]
{subtitle}\insertsubtitle\par}%
\fi%
\end{beamercolorbox}%
\vskip1em\par
\begin{beamercolorbox}[sep=8pt,center,#1]{author}
\usebeamerfont{author}\insertauthor
\end{beamercolorbox}
\ifx\insertsupervisor\relax\relax\else
\begin{beamercolorbox}[sep=8pt,center,#1]{author}
\usebeamerfont{author}\supervisortitle:~\insertsupervisor
\end{beamercolorbox}\fi
\begin{beamercolorbox}[sep=8pt,center,#1]{institute}
\usebeamerfont{institute}\insertinstitute
\end{beamercolorbox}
\begin{beamercolorbox}[sep=8pt,center,#1]{date}
\usebeamerfont{date}\insertdate
\end{beamercolorbox}\vskip0.5em
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
\endgroup
\vfill
}
\title[main]{main document}
\author{me}
\supervisor{supervisor}
\AtBeginSection{%
\begin{frame}[allowframebreaks]
\frametitle{Outline}
\tableofcontents[sections=1-2,,currentsection]
\framebreak
\tableofcontents[sections=3-5,,currentsection]
\end{frame}
}
\setbeamertemplate{bibliography item}[text]
\setbeamercolor{section number projected}{bg=white,fg=red}
\setbeamercolor{subsection number projected}{bg=white,fg=red}
\setbeamercolor*{item}{fg=red}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}
\frametitle{Outline}
\tableofcontents[sections=1-2]
\end{frame}
\begin{frame}
\frametitle{Outline}
\tableofcontents[sections=3-5]
\end{frame}
\section{References and Acknowledgements}
%\subsection{References}
\begin{frame}
test
\nocite{*}
\printbibliography
\end{frame}
\subsection{Acknowledgements}
\end{document}
Updated MWE (4/2/18) I ran this MWE and found the same error. Please advice.
citestyle=authoryearand beamer does not have a13ptoption. – samcarter_is_at_topanswers.xyz Feb 02 '18 at 18:40biber.sty? No such file exists, if you edit your document to incorporate samcarter's suggestion things should work fine and not search forbiber.sty. Now theError: Command crashedis more interesting. Double-check your settings with https://tex.stackexchange.com/questions/154751/. Can you try to runbiber document(assuming your.texfile is calleddocument.tex) from the command line and check the output? Is there are.blgfile? What does it say? – moewe Feb 03 '18 at 16:45Assuming I'm right about how to run the command from the terminal, type:
– Marvin Feb 03 '18 at 17:01biber document, no.blgfile was found.biber documentin the terminal what is the message? – moewe Feb 03 '18 at 17:03No file main.bbl. Empty bibliography There were undefined references. Please (re)run Biber on the file:(biblatex) main(biblatex) and rerun LaTeX afterwards.– Marvin Feb 03 '18 at 17:06biber documentfrom the command line, or do you run it from your editor? If you run it from the command line you will see diagnostic output. Please show that output. The output you get from your editor might be filtered an incomplete. Please show the unfiltered output. What you showed in your last comment are LaTeX's warnings, not Biber's warnings. – moewe Feb 03 '18 at 17:09biber mainright? That's what I did. Sorry I'm really not too familiar with this. – Marvin Feb 03 '18 at 17:11.texfile, using thecdcommand. And then type inbiber main. – moewe Feb 03 '18 at 17:12The code execution cannot proceed because cygwin1.dll was not found. I'm using Windows 10. – Marvin Feb 03 '18 at 17:22cmdand press enter. A command line window should appear. In that window usecdto navigate to the folder where your.texfile resides. Once you are inside that folder with your command line executebiber document. For help on the command line, see https://www.digitalcitizen.life/command-prompt-how-use-basic-commands, https://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/ – moewe Feb 03 '18 at 17:39cygwin.dll was not founderror. and another .dll error. It seems I've managed to rectify the problem by installing cygwin and copying the files to where Biber.exe resides. Now I get this/biber: error while loading shared libraries: cygperl5_22.dll: cannot open shared object file: No such file or directoryon my cmd. – Marvin Feb 03 '18 at 17:42where biber? – moewe Feb 03 '18 at 17:49C:\Program Files\MiKTeX 2.9\miktex\bin\x64\biber.exeDo you mean I should possibly reinstall MikTex? What I did to rectify the cygwin.dll not found error was to install Cygwin and the copying the missing files over. Was that the right move?I'm attempting to update MikTex to see what happens.
– Marvin Feb 03 '18 at 17:53Extra }, or forgotten \endgroup. – Marvin Feb 03 '18 at 18:02\AtBeginSection{% \begin{frame}[allowframebreaks] \frametitle{Outline} \tableofcontents[sections=1-2,,currentsection] \framebreak \tableofcontents[sections=3-5,,currentsection] \end{frame} }After changing it to
– Marvin Feb 03 '18 at 18:44\AtBeginSection[]{%, it was able to compile. Thanks lots @moewe