diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty index bef146280b4..b7bdc3dcdd4 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasesection.sty @@ -194,7 +194,7 @@ \addtocontents{nav}{\protect\headcommand{\protect\beamer@sectionpages{\the\beamer@sectionstartpage}{\the\beamer@tempcount}}}% \addtocontents{nav}{\protect\headcommand{\protect\beamer@subsectionpages{\the\beamer@subsectionstartpage}{\the\beamer@tempcount}}}% \ifblank{#1}{}{% - \addtocontents{nav}{\protect\headcommand{\protect\sectionentry{\the\c@section}{#1}{\the\c@page}{\secname}{\the\c@part}}}% + \addtocontents{nav}{\protect\headcommand{\protect\sectionentry{\the\c@section}{#1}{\the\c@page}{\lastsection}{\the\c@part}}}% }% \beamer@sectionstartpage=\c@page% \beamer@subsectionstartpage=\c@page% @@ -202,7 +202,6 @@ \def\insertsubsection{}% \def\insertsubsubsection{}% % Deal with a defective patch in metropolis theme - \def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}% \edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}% \def\insertsubsectionhead{}% \def\insertsubsubsectionhead{}% @@ -213,15 +212,11 @@ \fi% \beamer@resumemode}% \def\insertsection{} -\def\lastsubsection{} - -\def\insertsectionnumber{\@arabic\c@section} +\def\insertsectionhead{} \def\breakhere{\protect\beamer@breakhere} \def\beamer@breakhere{} -\def\insertsectionhead{} -\def\insertsubsectionhead{} \mode <all> @@ -255,8 +250,6 @@ \def\beamer@@subsection{\@ifnextchar*\beamer@@ssubsection\beamer@@@subsection} \long\def\beamer@@ssubsection*#1{\beamer@subsection[{#1}]{}} -%\long\def\beamer@@ssubsection*#1{% -% \ifblank{#1}{\beamer@untitledsubsection}{\beamer@subsection[{#1}]{}}} \def\beamer@@@subsection#1{\beamer@subsection[{#1}]{#1}} \def\beamer@subsection[#1]#2{% \beamer@savemode% @@ -279,7 +272,6 @@ \def\insertsubsection{\expandafter\hyperlink\subsectionlink}% \def\insertsubsubsection{}% % Deal with a faulty patch in metropolis theme - \def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}% \edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}% \def\insertsubsubsectionhead{}% \Hy@writebookmark{\the\c@subsection}{\subsecname}{Outline\the\c@part.\the\c@section.\the\c@subsection.\the\c@page}{3}{toc}% @@ -288,14 +280,8 @@ \fi% \beamer@resumemode} \def\insertsubsection{} - -\def\insertsubsectionnumber{\@arabic\c@subsection} - -\def\beamer@untitledsubsection{% - \refstepcounter{subsection}% - \def\insertsubsection{}% - \def\lastsubsection{}} - +\def\insertsubsectionhead{} +\def\lastsubsection{} \mode <all> @@ -346,7 +332,7 @@ } \edef\subsubsectionlink{{Navigation\the\c@page}{\noexpand\subsubsecname}}% \def\insertsubsubsection{\expandafter\hyperlink\subsubsectionlink}% - \def\insertsubsubsectionhead{#1}% + \edef\insertsubsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}} \Hy@writebookmark{\the\c@subsubsection}{\subsubsecname}{Outline\the\c@part.\the\c@section.\the\c@subsection.\the\c@subsubsection.\the\c@page}{4}{toc}% \hyper@anchorstart{Outline\the\c@part.\the\c@section.\the\c@subsection.\the\c@subsubsection.\the\c@page}\hyper@anchorend% \ifblank{#2}{\beamer@atbeginsubsubsections}{\beamer@atbeginsubsubsection}% |