I have created a table of contents page using \tableofcontents
and I have enough chapters and sections that it fills an entire page and goes into another.
The problem is that since it takes a second page all of the page numbering is off by 1.
Is there a way that I can fix that?
\usepackage{lastpage}
forces the process to do the required runs of LaTeX when the ToC occupies more than one page. Maybe it's better to put the reference to ScribTeX in the question.