Commits

Vedran Miletić  committed 08e824c

Attempt to fix empty subsection. Add a note about sectionname.

  • Participants
  • Parent commits 2c581c4

Comments (0)

Files changed (2)

File base/beamerbasecompatibility.sty

 \expandafter\def\csname Parent-1\endcsname{}
 \expandafter\def\csname Parent0\endcsname{}
 \expandafter\def\csname Parent1\endcsname{}
-%\def\phantomsection{} % this command produces very weird results.
+\def\phantomsection{}
 
 %
 % Heiko's fix for correct generation of section* and subsection* bookmarks

File base/beamerbasesection.sty

 %
 % Section Definitions
 %
-\def\sectionname{Section}
+\def\sectionname{Section} % FIXME make this cooperate with babel
 \newcounter{section}
 \renewcommand\thesection{\@arabic\c@section}
 \beamer@sectionstartpage=1\relax
 \newcommand<>{\subsection}{\alt#1{\@ifnextchar[\beamer@subsection\beamer@@subsection}{\beamer@secgobble}}
 
 \def\beamer@@subsection{\@ifnextchar*\beamer@@ssubsection\beamer@@@subsection}
-\long\def\beamer@@ssubsection*#1{%
-  \beamer@ifempty{#1}{\beamer@untitledsubsection}{\beamer@subsection[{#1}]{}}}
+\long\def\beamer@@ssubsection*#1{\beamer@subsection[{#1}]{}}
+%\long\def\beamer@@ssubsection*#1{%
+%  \beamer@ifempty{#1}{\beamer@untitledsubsection}{\beamer@subsection[{#1}]{}}}
 \def\beamer@@@subsection#1{\beamer@subsection[{#1}]{#1}}
 \def\beamer@subsection[#1]#2{%
   \beamer@savemode%