How do I solve this problem?

When my table of contents takes more than one page, the second page is labeled as page 1. Then my chapter 1 starts on page 2 instead of page 1. Below I give the skeleton of my .tex file.

\documentclass[11pt,a4paper,twoside,openany]{book}

\begin{document}
\frontmatter
\pagenumbering{roman}
\begin{titlepage}
...
\end{titlepage}
\chapter{Abstract}
...
\chapter{Preface}
...
\mainmatter
\pdfbookmark{Contents}{table}
\tableofcontents
\pagenumbering{arabic}

\chapter{Introduction}
....
\chapter{Two}
...
\backmatter
\chapter{Appendix}
\label{chapter:appendix}
\ldots
\end{document}

Any help?

-
Welcome to TeX.sx! – Kurt Oct 13 '12 at 23:16
The table of contents appears in the main matter, thus the behavior is correct. The first chapter starts on the page after the table of contents. You have to run LaTeX 3 times to get the correct value for the pages in the table of contents. – Guido Oct 13 '12 at 23:23

Just remove \pagenumbering{arabic} at the end of the table of contents. \tableofcontents is set right after \mainmatter. That already restarts the page counter with arabic numbers:

\mainmatter
\pdfbookmark{\contentsname}{table}
\tableofcontents
\chapter{Introduction}

Or if you want to put \tableofcontents in the front matter part:

\frontmatter
...
\chapter{Preface}
...