Also guessing without a MWE, but here are the general rules about page numbering and how to alter them the way you want.
Traditionally, books are typeset with frontmatter, mainmatter, and backmatter. Frontmatter is traditionally typeset with folios (page numbers) in romanettes (lowercase Roman numerals); mainmatter and backmatter are numbered consecutively, starting at 1, in Indo-arabic numerals. LaTeX does this with the \frontmatter
, \mainmatter
, and \backmatter
commands. \frontmatter
does other things besides numbering in romanettes; it also suppresses chapter numbers, for example. \mainmatter
turns on chapter numbering, and also resets the page number to zero.
LaTeX does not do this, however, unless you tell it to by saying \frontmatter
and \mainmatter
at the appropriate points. For example, the following:
\documentclass[openany]{book}
\title{Test}
\author{Somebody}
\begin{document}
\frontmatter
\maketitle
\tableofcontents
\chapter{Introduction}
\chapter{Preface}
\mainmatter
\chapter{Real Chapter One}
\chapter{Real Chapter Two}
\end{document}
gives you a table of contents that looks like this:

If you delete the \frontmatter
and \mainmatter
pages, however, you'll get the following:

As you can see, you can get consecutive page numbering, start to finish, in Indo-arabic numerals simply by not issuing \frontmatter
and \mainmatter
.
On the other hand, \frontmatter
does other things besides change the page numbering, and maybe you want those things. So you need to manually instruct LaTeX not to change you page numbers into romanettes, and not to reset the page number when \mainmatter
is issued.
So after you issue \frontmatter
, cancel that command's conversion of page numbers to romanettes by saying \renewcommand{\thepage}{\arabic{page}}
; that will give you your Indo-arabic page numbers, starting at 1, from the point you issue \frontmatter
.
Then, create a new counter to save the page number in later, by saying \newcounter{savepage}
.
Finally, before you issue \mainmatter
, save the current page number to your new counter by saying \setcounter{savepage}{\value{page}}
. Then, after you issue \mainmatter
(which resets the page number to 1, remember), tell LaTeX that the page number is really whatever it was before \mainmatter
was issued, with \setcounter{page}{\value{savepage}}
. Finally, because you're actually one page further on than that, add one to the page number with \stepcounter{page}
. So you'll wind up with something like this:
\documentclass[openany]{book}
\title{Test}
\author{Somebody}
\begin{document}
\frontmatter
\renewcommand{\thepage}{\arabic{page}}
\newcounter{savepage}
\maketitle
\tableofcontents
\chapter{Introduction}
\chapter{Preface}
\setcounter{savepage}{\value{page}}
\mainmatter
\setcounter{page}{\value{savepage}}
\stepcounter{page}
\chapter{Real Chapter One}
\chapter{Real Chapter Two}
\end{document}
which produces something like this:

You've got your consecutive page numbering while retaining the other aspects of traditional frontmatter/mainmatter distinctions. Hope that helps.
\documentclass{...}
and ending with\end{document}
. – cfr Nov 5 '14 at 0:29