I have a large latex document, compiled with pdflatex. When it compiles (I compile twice, I have tried compiling thrice) the page numbers come out as: 1/141 2/141 ... 142/141 143/141
On the bottom.It seems to be two numbers short. In the rest of the document the page numbers rise in order and all is fine.
What are the typical reasons for such a problem? Normally I know where to start trouble shooting, when it comes to this I am pretty lost.