All my section are numbered X.Y.0 instead of X.Y., e.g. 2.1.0 instead of 2.0. The subsection start then at number 2.1.1. In the index the sections are correctly numbered as X.Y.
Where is this configured? I cannot find anything or I am searching with the wrong terms.
\thesectionhas been incorrectly defined to use\thesubsectionwhich is 0 because there are no subsections, but if you want someone to say what is wrong with the code it helps if you show the code. make a small but complete document that shows the problem. – David Carlisle Nov 25 '17 at 22:29