LaTeX forum ⇒ Presentations and Posters ⇒ Version changes and keyval errors

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
crisurdiales
Posts: 4
Joined: Wed Nov 14, 2018 4:49 pm

Version changes and keyval errors

Hi,

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?

C-

Stefan Kottwitz
Posts: 9371
Joined: Mon Mar 10, 2008 9:44 pm
You can post the code here. If it's big, you can post it as attachment. The Attachments link is right below the text edit field, when writing a post. If it's still readable, you can post it right inline in a post. There's a Code button at the top for writing, it does syntax highlighting and online compiler connection.

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

crisurdiales
Posts: 4
Joined: Wed Nov 14, 2018 4:49 pm
Thanks for the tip. I'm attaching the header here. All the slides follow the same format, so one should be enough for reference. I'm using Versión 3.99 (3.99) in MacOS 10.9.5 (I don't think it's relevant except last version of TexLive is not compatible, but just in case)

1. %\documentclass{beamer}
2. \documentclass[xcolor=pdftex,svgnames,dvipsnames,table]{beamer}
3. %\usepackage{color}
4. %\definecolor{smooth}{rgb}{1,0,0}
5. %\definecolor{safe}{rgb}{0,0,1}
6. %\definecolor{direct}{rgb}{0,1,0}
7. \usepackage[final]{movie15}
9.
10. % El paquete movie15 reemplaza a multimedia y provee los comandos movie e hyperlinkmovie
11. % pero si lo quitamos, no aparecen los videos.... a no ser qu pongamos final en opciones de movie15
12. %\usepackage{multimedia}
13.
14. \usepackage{hyperref} %se recomienda (a veces) que se carge antes que el paquete geometry
15.
16. \usepackage{geometry}
17.
18. %\setbeamercolor{normal text}{fg=teal}
19. \useoutertheme{split}
20.
21. \mode<presentation>
22. {
24. \setbeamercovered{transparent}
25. \setbeamertemplate{footline}[split]
26. \usefonttheme{serif}
27. }
28.
29. %\usepackage{colortbl}
30.
31. \usepackage[english]{babel}
32.
33. \usepackage[latin1]{inputenc}
34. \usepackage[T1]{fontenc} % mfc para permitir introducir comando /DH
35.
36. \usepackage{times}
37. %\usepackage[T1]{fontenc}
38. % Or whatever. Note that the encoding and the font should match. If T1
39. % does not look nice, try deleting the line with the fontenc.
40.
41.
42. \title[CARMEN] % (optional, use only with long paper titles)
43. {Collaborative Adaptive Robot for Mobility ENhancement}
44.
45. %\subtitle
46. %{Presentation Subtitle} % (optional)
47.
48. \author[PhD dissertation] % (optional, use only with lots of authors)
49. {Cristina Urdiales Garc\'ia}
50. %{F.~Author\inst{1} \and S.~Another\inst{2}}
51. % - Use the \inst{?} command only if the authors have different
52. % affiliation.
53.
54. \institute%[Universities of Somewhere and Elsewhere] % (optional, but mostly needed)
55. {
56. %\inst{1}%
57. KMLg\\
59. %\and
60. % \inst{2}%
61. % Department of Theoretical Philosophy\\
62. % University of Elsewhere
63. }
64. % - Use the \inst command only if there are several affiliations.
65. % - Keep it simple, no one is interested in your street address.
66.
67. \date[PhD dissertation] % (optional)
68. {26th November 2010 / PhD dissertation}
69.
70. \subject{PhD dissertation}
71. % This is only inserted into the PDF information catalog. Can be left
72. % out.
73.
74. % If you have a file called "university-logo-filename.xxx", where xxx
75. % is a graphic format that can be processed by latex or pdflatex,
76. % resp., then you can add a logo as follows:
77.
78. %\logo{\includegraphics[height=0.6cm]{LogoUPC.jpg}}
79.
80. % Delete this, if you do not want the table of contents to pop up at
81. % the beginning of each subsection*:
82. \AtBeginSection[]
83. {
84. \begin{frame}<beamer>{Outline}
85. \tableofcontents[currentsection,currentsubsection*]
86. \end{frame}
87. }
88.
89. \begin{document}
90. \begin{frame}
91. \begin{center}
92. \includegraphics [width =.3\textwidth ]{logos.jpg}
93. \end{center}
94. \titlepage
95. \end{frame}
96. \begin{frame}{Outline}
97. \tableofcontents
98. % You might wish to add the option [pausesections]
99. \end{frame}
100.
101. % Since this a solution template for a generic talk, very little can
102. % be said about how it should be structured. However, the talk length
103. % of between 15min and 45min and the theme suggest that you stick to
104. % the following rules:
105.
106. % - Exactly two or three sections (other than the summary).
107. % - At *most* three subsection*s per section.
108. % - Talk about 30s to 2min per frame. So there should be between about
109. % 15 and 30 frames, all told.
110.
111. \section{Introduction}
112. \subsection*{Thesis' framework}
113.
114. \begin{frame}{Motivation}%{Subtitles are optional.}
115. % - A title should summarize the slide in an understandable fashion
116. % for anyone how does not follow everything on the slide itself.
117. \begin{columns}[T]
118. \begin{column}{.3\textwidth}
119. \includegraphics[width=\columnwidth]{T1_statistic.jpg} \\
120. \includegraphics[width=\columnwidth]{wheelchair.jpg}
121. \end{column}
122. \begin{column}{.7\textwidth}
123. \begin{block}{Increase of motor impaired people in the western world\footnote{MOVEMENT: IST-2002-2.3.2.10 (FP6)}}
124. \begin{itemize}
125. \item 31\% of the male population and 52\% of the female aged 75-84 report mobility problems
126. \item 1\% of the population in Europe (7.1M people) is in need of a wheelchair
127. \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.
128. \end{itemize}
129. \end{block}
130. \end{column}
131. \end{columns}
132. \end{frame}
133. \end{document}

Stefan Kottwitz
Posts: 9371
Joined: Mon Mar 10, 2008 9:44 pm
It's caused by this line:

\tableofcontents[currentsection,currentsubsection*]

There's no problem with \tableofcontents[currentsection].

Stefan