tom75de
2015-09-06 20:55:19 UTC
Hello,
I use the patch 01e2af0 committed by Joseph Wright on 2015-03-13 to correct
the hyperlinks for (sub)sections.
In my example, I get an error message "Argument of \@gobble has an extra
}.":
\documentclass{beamer}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\***@section}
{\def\insertsectionhead{\hyperlink{Navigation\the\***@page}{#1}}}
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\***@page}{#1}}}
{}{}
\patchcmd{\***@subsection}
{\def\insertsubsectionhead{\hyperlink{Navigation\the\***@page}{#1}}}
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\***@page}{#1}}}
{}{}
\makeatother
\usetheme{AnnArbor}
\begin{document}
\section{\texorpdfstring{$\operatorname{e}$-Funktion}{e-Funktion}}
\begin{frame}{$\operatorname{e}$-Funktion}
$\operatorname{e}$-Funktion
\end{frame}
\subsection{Subsection 1}
\begin{frame}{Subsection 1}
Subsection 1 Frame 1
\end{frame}
\begin{frame}{Subsection 1}
Subsection 1 Frame 2
\end{frame}
\end{document}
With the original code, the example worked as it shoud but the navigation
didn't work properly. Is there a solution to get my example running?
Regards,
Tom
I use the patch 01e2af0 committed by Joseph Wright on 2015-03-13 to correct
the hyperlinks for (sub)sections.
In my example, I get an error message "Argument of \@gobble has an extra
}.":
\documentclass{beamer}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\***@section}
{\def\insertsectionhead{\hyperlink{Navigation\the\***@page}{#1}}}
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\***@page}{#1}}}
{}{}
\patchcmd{\***@subsection}
{\def\insertsubsectionhead{\hyperlink{Navigation\the\***@page}{#1}}}
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\***@page}{#1}}}
{}{}
\makeatother
\usetheme{AnnArbor}
\begin{document}
\section{\texorpdfstring{$\operatorname{e}$-Funktion}{e-Funktion}}
\begin{frame}{$\operatorname{e}$-Funktion}
$\operatorname{e}$-Funktion
\end{frame}
\subsection{Subsection 1}
\begin{frame}{Subsection 1}
Subsection 1 Frame 1
\end{frame}
\begin{frame}{Subsection 1}
Subsection 1 Frame 2
\end{frame}
\end{document}
With the original code, the example worked as it shoud but the navigation
didn't work properly. Is there a solution to get my example running?
Regards,
Tom
--
You received this message because you are subscribed to the Google Groups "LaTeX Beamer class" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beamer-class+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "LaTeX Beamer class" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beamer-class+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.