1) wie heißt der counter von listings?, so dass ich so was wie \captionof{listings}[Steuerung]{Steuerung} verwenden kann.
2) Aus http://www.komascript.de/node/477 folgere ich, dass Debian Lenny bei listings schon veraltert ist, da ich (fast) das (gleiche) Problem auch habe. Allerdings trat das auch mit frisch heruntergeladenen listings auf.
3) Wie kann ich \lstlistoflistings von chapter zu section degradieren, analog zu \KOMAoption{listof}{leveldown} für \listoffigures und \listoftables?
Miniaturbeispiel:
\documentclass{scrbook} \usepackage{caption} \usepackage{listings} %\lstset{ %} \makeatletter \@ifundefined{float@listhead}{}{% \renewcommand*{\lstlistoflistings}{% \begingroup \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse \fi \float@listhead{\lstlistlistingname}% \setlength{\parskip}{\z@}% \setlength{\parindent}{\z@}% \setlength{\parfillskip}{\z@ \@plus 1fil}% \@starttoc{lol}% \if@restonecol\twocolumn\fi \endgroup }% } \makeatother \renewcommand\lstlistingname{Quellcode} \begin{document} \chapter{Inhalt} \begin{table} \captionof{listings}[Steuerung]{Steuerung}%geht so nicht \label{code:Steuerung} \begin{tabular}{ll} bei listings & nicht vorhandene Programmiersprache \end{tabular} \end{table} \chapter{Abbildungen, Quellcode und Tabellen} \KOMAoption{listof}{leveldown} %\listoffigures %\listoftables \renewcommand\lstlistlistingname{Quellcodeverzeichnis} \lstlistoflistings \end{document}