## LaTeX forum ⇒ Theses, Books, Title pages ⇒ Thesis writing in latex

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Srishino
Posts: 2
Joined: Wed Jul 08, 2020 1:48 pm

### Thesis writing in latex

Hi All,
I am writing my thesis in latex, everything was going perfectly well but now on adding chapters, the TOC is not showing the numbering of fresh chapters as I am adding them. It is showing only till chapter3, and after that it shows the title but not a new chapter number. Cant guess what's happening. Any suggestions ? Thanks

Stefan Kottwitz
Posts: 9602
Joined: Mon Mar 10, 2008 9:44 pm
Welcome to the forum!

Perhaps you have a command like `\setcounter{secnumdepth}{...}` in the code before that chapter, or a command that has implicitly the same effect. Perhaps show relevant code here.

Stefan

Srishino
Posts: 2
Joined: Wed Jul 08, 2020 1:48 pm
Hi, Thank you.
This is the code part where chapters are uncommented. In TOC only first three chapters are numbered while sections of 4 and 5 chapters are in continuation of the chapter 3.

\input{Chapters/Chapter1}
\input{Chapters/Chapter2}
\input{Chapters/Chapter3}
\input{Chapters/Chapter4}
\input{Chapters/Chapter5}

There is no other place where the included chapter are needed to be mentioned in the main.tex file.

Stefan Kottwitz
Posts: 9602
Joined: Mon Mar 10, 2008 9:44 pm
Can you post your .toc file? Either as code or as attachment here.