currently, LaTeX drives me wild on a very weird
"Something is wrong – perhaps a missing item"
It happens in line 3 of the following document, although it only imports the scrpage2-package
. Commenting the line doesn't even fix it – the same error appears. Any clues what could be the reason of this weird error?
\documentclass[oneside,12pt]{scrartcl}
\usepackage[ngerman]{babel} %Deutsche Sprachunterstützung
\usepackage{scrpage2} %Kopf- und Fußzeilen
\usepackage[utf8]{inputenc} %Umlaute
\usepackage{tabularx}
\usepackage{dramatist}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tcolorbox}
%\pagestyle{scrheadings}
\begin{document}
\title{Szene 12 \\ TenSing Theaterskript}
\author{Lukas Rose}
\date{2016}
\maketitle
\tableofcontents
\renewcommand{\casttitlename}{Personen}
\renewcommand{\actname}{Akt}
\renewcommand{\scenename}{Szene}
\renewcommand{\casttitlefont}{\scshape \bf \LARGE}
\renewcommand{\scenenamefont}{\scshape \LARGE}
\renewcommand{\printscenenum}{\scenenumfont \thescene}
\renewcommand{\printscenetitle}[1]{\scenetitlefont \addcontentsline{toc}{section}{Banane} #1}
\begin{CharacterGroup}{Omas}
\GCharacter{Eine/r Alte/r}{Eine/r Alte/r}{hb}
\end{CharacterGroup}
\newcommand{\ac}[1]{\item\begin{tcolorbox}[title=\hb,colframe=Red]#1\end{tcolorbox}}
\DramPer
\setcounter{scene}{11}
\scene{}
\StageDir{}
\begin{drama}
\ac {\direct{Banane} Hallo! Ich kann sprechen!}
\end{drama}
\end{document}
Best Answer
You are using chapter level constructs in the table of contents but the article class does not have chapters, use report: