I want list all sections without part separation in the main table of contents.
I did not find relevant threads, similar one How to collect all parts in Beamer?
Code where the main Table of Contents is only about the first \part{} in Fig. 1, while wanted output - all sections without part separation
\documentclass{beamer}
\usetheme{Berkeley}
\logo{\includegraphics[width=1cm]{example-image}}
% https://tex.stackexchange.com/a/346486/13173
\newenvironment{slide}[1]
{\begin{frame}[environment=slide,allowframebreaks]
\frametitle{\insertsection-#1}
}
{\end{frame}}
% fragile only if code
% allowframebreaks not by default
\begin{document}
\title{Sensory system. Primary sensory modalities. Cortical modalities. Kinds of sensory disturbances. Spinal cord disorders. Spinal cord transverse and partial lesion. Cauda equina damage.}
\author{Leo}
% TODO Print TOC of all parts here
\begin{frame}{Contents}
\tableofcontents
\end{frame}
% https://tex.stackexchange.com/a/115891/13173
\AtBeginSection[]{\begin{frame}{Outline}
\tableofcontents[hideothersubsections, pausesections]
\end{frame}}
\AtBeginSection[]{\begin{frame}{Outline}
\tableofcontents[hideothersubsections]
\end{frame}}
% not complete answer here https://tex.stackexchange.com/q/353064/13173
\section{Cortical modalities 1}
\begin{slide}{basics}
More refined aspects of sensation ...
\end{slide}
\section{Cortical modalities 2}
\begin{slide}{basics}
More refined aspects of sensation ...
\end{slide}
\section{Cortical modalities 3}
\begin{slide}{basics}
More refined aspects of sensation ...
\end{slide}
\part{}
\begin{frame}{Contents}
\tableofcontents
\end{frame}
\section{Cortical modalities 4}
\begin{slide}{basics}
More refined aspects of sensation ...
\end{slide}
\section{Cortical modalities 5}
\begin{slide}{basics}
More refined aspects of sensation ...
\end{slide}
\end{document}
Fig. 1 Output
Expected output: table of contents of sections 1-5 in a list without separating them by parts
- Not Part 1 a b c, Part 2 d e
- Wanted: a b c d e
OS: Debian 8.7
TeXLive: 2016
