Springer LLC TOC não funciona

Springer LLC TOC não funciona

Não consigo fazer o TOC funcionar. Lembro que funcionou antes, mas fiz uma coisa (infelizmente não me lembro o que era), e depois disso o TOC simplesmente parou de funcionar.

Aqui está uma parte do meu 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}

Responder1

A classe define tocprofundidade como 0, então seu exemplo nunca funcionaria. Você pode alterar a profundidade:

\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}

insira a descrição da imagem aqui

informação relacionada