I have to write an Exposé which needs to contain a second table of contents within a section in the document. The requirements are basically the same as already discussed in this question, with the difference, that i not only need \section and \subsection but also \subsubsection.
Edit: It seems that my question was not detailed enough, because it was closed as it was already answered elsewhere. The linked question was about the same TOC multiple times. I do need a separate TOC with individual headings not connected to the current document. The TOC needs to be the TOC of a future document, so it must not refer to any regular headings of the current one.
\documentclass[]{scrartcl}
\begin{document}
\tableofcontents
\section{Introduction}
Lorem ipsum...
\section{Some text}
blah blah
\section{Structure}
%TOC of future document without page numbers, not referring to other current headings.
\section{Discussion}
Some Text
\end{document}
Should look like this:
Table of Contents
1 Introduction..................................1
2 Some text.....................................2
3 Structure.....................................4
4 Discussion....................................6
1 Introduction
Lorem ipsum...
2 Some text
blah blah
3 Structure
%TOC of future document without page numbers
1 First Chapter
2 Second Chapter
2.1 A Subsection
2.2 Another Subsection
2.2.1 A Subsubsection
2.2.1 Another Subsubsection
3 Last Chapter
4 Discussion
Some Text
I was basically able to implement the proposed solution and have also tried to add a \subsubsection by myself but was not able to.
The other proposed solutions using enumitem has a different styling then my normal TOC. Would prefer to have the additional TOC in the same styling as my main TOC for the document.
Do you have any tips how to add a third layer to the KOMA-Script solution? Thanks a lot for your support!


