El TOC de Springer LLC no funciona

El TOC de Springer LLC no funciona

No consigo que el TOC funcione. Recuerdo que funcionó antes, pero hubo algo que hice (desafortunadamente no recuerdo qué fue), y después de eso el TOC simplemente dejó de funcionar.

Aquí hay una parte de mi documento:

\documentclass[deutsch]{llncs}

\usepackage{graphicx}
\usepackage[labelformat=empty]{caption}
\usepackage{subcaption}
\captionsetup{compatibility=false}

\bibliographystyle{unsrt}

\pagestyle{headings}
\begin{document}

\sffamily

\begin{titlepage}
    %Some stuff here
\end{titlepage}

\thispagestyle{headings}
\tableofcontents
\newpage
%more stuff here blablabla
\section{test}
\subsection{test2}
\end{document}

Respuesta1

La clase establece toc Depth en 0, por lo que su ejemplo nunca podría funcionar. Puedes cambiar la profundidad:

\documentclass[deutsch]{llncs}

\usepackage{graphicx}
\usepackage[labelformat=empty]{caption}
\usepackage{subcaption}
\captionsetup{compatibility=false}

\bibliographystyle{unsrt}

\pagestyle{headings}
\setcounter{tocdepth}{5} %show more in the toc
\begin{document}

\sffamily

\begin{titlepage}
    %Some stuff here
\end{titlepage}

\thispagestyle{headings}
\tableofcontents
\newpage
%more stuff here blablabla
\section{test}
\subsection{test2}
\end{document}

ingrese la descripción de la imagen aquí

información relacionada