In this document, I need all of the parts before the first chapter to be numbered with roman numerals (i, ii, iii, etc.) and afterwards with arabic numerals, starting with 1. The problem I've got is in the table of contents. The page numbering correctly starts at 1, but in the table of contents, it says the first section begins on page 4 (there are 3 pages of ToC). In other words, the page numbers in the ToC don't match those actually printed on the bottoms of the pages. (Code below)
\begin{document}
\renewcommand{\thepage}{\roman{page}}
\tableofcontents
\pagebreak
\setcounter{page}{1}
\renewcommand{\thepage}{\arabic{page}}