Presentations and Posters ⇒ Version changes and keyval errors
-
- Posts: 4
- Joined: Wed Nov 14, 2018 4:49 pm
Version changes and keyval errors
I have a Beamer presentation back from 2010 I wanted to reuse and modify. Back then, it compiled perfectly, but I've been trying to recompile it now (with no changes) and it gives this error everytime.
"beamer "package keyval error" currentsubsection* undefined"
I've been looking around and I've found that some users solved it with beamer colors (\setbeamercolor{normal text}{fg=teal}) but this solution is not working for me (indeed, I had my own colors defined back them, too).
I can provide the header (although it is large), but the thing is that it worked fine back in the days. Every package in my Latex distribution has been updated, so it is probably a back compatibility issue?
Anyone has found this problem as well?
Thanks for any help you may provide,
C-
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Version changes and keyval errors
Actually there's no need for posting a huge preamble. You can take a copy and reduce it, step by step, as long as the error keeps appearing when testing. This pretty much isolates the issue, and it gets more readable here for checking.
Stefan
-
- Posts: 4
- Joined: Wed Nov 14, 2018 4:49 pm
Version changes and keyval errors
Code: Select all
%\documentclass{beamer}
\documentclass[xcolor=pdftex,svgnames,dvipsnames,table]{beamer}
%\usepackage{color}
%\definecolor{smooth}{rgb}{1,0,0}
%\definecolor{safe}{rgb}{0,0,1}
%\definecolor{direct}{rgb}{0,1,0}
\usepackage[final]{movie15}
%\setbeamercolor{alerted_text}{fg=blue}
% El paquete movie15 reemplaza a multimedia y provee los comandos movie e hyperlinkmovie
% pero si lo quitamos, no aparecen los videos.... a no ser qu pongamos final en opciones de movie15
%\usepackage{multimedia}
\usepackage{hyperref} %se recomienda (a veces) que se carge antes que el paquete geometry
\usepackage{geometry}
%\setbeamercolor{normal text}{fg=teal}
\useoutertheme{split}
\mode<presentation>
{
\usetheme{Darmstadt}
\setbeamercovered{transparent}
\setbeamertemplate{footline}[split]
\usefonttheme{serif}
}
%\usepackage{colortbl}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc} % mfc para permitir introducir comando /DH
\usepackage{times}
%\usepackage[T1]{fontenc}
% Or whatever. Note that the encoding and the font should match. If T1
% does not look nice, try deleting the line with the fontenc.
\title[CARMEN] % (optional, use only with long paper titles)
{Collaborative Adaptive Robot for Mobility ENhancement}
%\subtitle
%{Presentation Subtitle} % (optional)
\author[PhD dissertation] % (optional, use only with lots of authors)
{Cristina Urdiales Garc\'ia}
%{F.~Author\inst{1} \and S.~Another\inst{2}}
% - Use the \inst{?} command only if the authors have different
% affiliation.
\institute%[Universities of Somewhere and Elsewhere] % (optional, but mostly needed)
{
%\inst{1}%
KMLg\\
Universidad Politecnica de Catalunya
%\and
% \inst{2}%
% Department of Theoretical Philosophy\\
% University of Elsewhere
}
% - Use the \inst command only if there are several affiliations.
% - Keep it simple, no one is interested in your street address.
\date[PhD dissertation] % (optional)
{26th November 2010 / PhD dissertation}
\subject{PhD dissertation}
% This is only inserted into the PDF information catalog. Can be left
% out.
% If you have a file called "university-logo-filename.xxx", where xxx
% is a graphic format that can be processed by latex or pdflatex,
% resp., then you can add a logo as follows:
%\logo{\includegraphics[height=0.6cm]{LogoUPC.jpg}}
% Delete this, if you do not want the table of contents to pop up at
% the beginning of each subsection*:
\AtBeginSection[]
{
\begin{frame}<beamer>{Outline}
\tableofcontents[currentsection,currentsubsection*]
\end{frame}
}
\begin{document}
\begin{frame}
\begin{center}
\includegraphics [width =.3\textwidth ]{logos.jpg}
\end{center}
\titlepage
\end{frame}
\begin{frame}{Outline}
\tableofcontents
% You might wish to add the option [pausesections]
\end{frame}
% Since this a solution template for a generic talk, very little can
% be said about how it should be structured. However, the talk length
% of between 15min and 45min and the theme suggest that you stick to
% the following rules:
% - Exactly two or three sections (other than the summary).
% - At *most* three subsection*s per section.
% - Talk about 30s to 2min per frame. So there should be between about
% 15 and 30 frames, all told.
\section{Introduction}
\subsection*{Thesis' framework}
\begin{frame}{Motivation}%{Subtitles are optional.}
% - A title should summarize the slide in an understandable fashion
% for anyone how does not follow everything on the slide itself.
\begin{columns}[T]
\begin{column}{.3\textwidth}
\includegraphics[width=\columnwidth]{T1_statistic.jpg} \\
\includegraphics[width=\columnwidth]{wheelchair.jpg}
\end{column}
\begin{column}{.7\textwidth}
\begin{block}{Increase of motor impaired people in the western world\footnote{MOVEMENT: IST-2002-2.3.2.10 (FP6)}}
\begin{itemize}
\item 31\% of the male population and 52\% of the female aged 75-84 report mobility problems
\item 1\% of the population in Europe (7.1M people) is in need of a wheelchair
\item Up to 60\% of these people may be assisted by a power wheelchair and an additional 20-25\% could be accommodated by more intelligent devices.
\end{itemize}
\end{block}
\end{column}
\end{columns}
\end{frame}
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Version changes and keyval errors
\tableofcontents[currentsection,currentsubsection*]
There's no problem with
\tableofcontents[currentsection]
.Stefan
-
- Posts: 4
- Joined: Wed Nov 14, 2018 4:49 pm