I have to write an essay about another text. Therefore, I have to attach an additional table of contents, which does not actually show my document's structure, but lists sections that are not included in my document.
To clarify: There should be a normal TOC that lists my sections plus another TOC placed anywhere in my own document - not necessarily in the appendix or so.
To make things a little bit more difficult, the "second" TOC should not contain page numbers.
\documentclass[]{scrartcl}
\begin{document}
\tableofcontents
\section{Introduction}
Lorem ipsum...
\section{Some text}
blah blah
\section{Structure}
%Additional TOC defined here
\end{document}
It should look like this:
Table of Contents
1 Introduction..................................1
2 Some text.....................................2
3 Structure.....................................4
1 Introduction
Lorem ipsum...
2 Some text
blah blah
3 Structure
1 First Chapter
2 Second Chapter
2.1 A Subsection
2.2 Another Subsection
3 Last Chapter
Thanks for sharing your ideas.


\usepackage{chngcntr}, there are two left:Undefined control sequence. l.36 \listoftoc*{str}andLaTeX Error: Something's wrong--perhaps a missing \item. l.1 ... {section}{\numberline {1}First Chapter}{1}. After commenting out theDeclareNewTOCblock, all errors are gone, but the additional TOC has page numbers. – ckuenzle Jun 09 '19 at 07:38\DeclareTOCStyleEntriesby two\DeclareTOCStyleEntrycommands: one forstrsectionand one forstrsubsection. See my updated answer. – esdd Jun 09 '19 at 15:54