I am having the following error: Illegal unit of measure (pt inserted). \frame{\titlepage}. The code is:
Does anybody know how to solve this error?
\documentclass[11pt]{beamer}%blackandwhite
\usepackage[spanish,portuguese,english]{babel}
\usepackage{amsmath,amssymb,amsthm}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}%gráficas
\usepackage{graphics}%gráficas
\usepackage{hyperref}%hypervinculo
%\usepackage{beamerarticle}
\usepackage{beamerprosper}
\usepackage{multicol}%varias columnas
\newtheorem*{ejem}{Ejemplo}
\newtheorem*{prop}{Proposición}
\newtheorem*{teor}{Teorema}
\newtheorem*{defin}{Definición}
\newtheorem*{lema}{Lema}
\newtheorem*{algoritmo}{Algoritmo}
\newtheorem*{cor}{Corolario}
\mode<presentation> {
\usetheme{Hannover}
\usefonttheme{serif}
\usecolortheme{beaver}
}
\setbeamercovered{dynamic}
%\logo{\includegraphics[height=1.5cm]{img.eps}}
\setbeamertemplate{enumerate items}[default]
\setbeamertemplate{theorems}[ams style]
\setbeamercolor{alerted text}{fg=blue}
\expandafter\def\expandafter\insertshorttitle\expandafter{%
\insertshorttitle\hfill\insertframenumber\,/\,\inserttotalframenumber}
\title[\textsc{ }]{\textrm{ABBB}}
\author[\textsc{}]{\textsc{SSSS}}
\institute[]{ \textsc{s\\ SSSSS}\\ \vspace{0.3cm}}
\date{}
%\AtBeginSection[]{\frame{\frametitle{Index}\tableofcontents[current]}}
\begin{document}
%\bibliographystyle{amsplain}%Estilo de bibliografia
\frame{\titlepage}
%\part{Talk}
%\frame{\frametitle{Index}\tableofcontents[part=1]}
\section{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Slide 1
\begin{frame}{Contents}
\begin{enumerate}[<+->]
\item A
\item Ac
\item Dc
\item Fcn
\item Hc
\item Hc
\item Gc
\end{enumerate}
\pause
\end{frame}
\part{Talk}
\section{Overview}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Slide 2
\begin{frame}{Overview}
\end{frame}
\subsection{Introduction}
\begin{frame}
asbdf
\end{frame}
\end{document}
\expandafter\def\expandafter\insertshorttitle\expandafter{\insertshorttitle\hfill\insertframenumber\,/\,\inserttotalframenumber}
is causing the subsequent breakdown. I must confess to not having a clue what this instruction is supposed to achieve. Do omit it and see if you can live the result.