I want to publish a book, and our publishing center style guide suggests the following style rules for the table of contents:
- Every book chapter and section must have its entry in TOC.
- If a book chapter doesn't have any sections, then it must have its page number in TOC, preceded by dots,
- If a book chapter has nested sections, then only its name without page number must be present in TOC.
So I would like to suppress page numbers for numbered chapters, and show them only for unnumbered chapters, such as Introduction and Conclusion.
The MWE is below:
\documentclass[paper=a4,
fontsize=14pt,
DIV=calc,
twoside=false,
headings=small,
numbers=endperiod,
chapterentrydots=true,
]{scrbook}
\begin{document}
\tableofcontents
\chapter*{Introduction}\addcontentsline{toc}{chapter}{Introduction}
\newpage
\newpage
\chapter{Chapter without page number}
\section{Section One}
\end{document}