I am using the scrbook
class.
In some chapters, I have sections so the elements therein get numbered x.y.z where x denotes the numbering of the chapter, y the one of the section and z the one of the specific element within the section.
However, I also have chapters without sections and I don't want to have a single section title for the whole chapter. If I just use no section, the elements in the content get numbered x.0.z since there is no section.
How can I get rid of the 0 for the chapters without section, so to have a numbering
x.1
x.2
...
therein?
\documentclass{...}
and ending with\end{document}
.