[texhax] Page number end of chapter.

Thu Oct 8 14:59:27 CEST 2009

Hi,

I'm have small (big for me) problem with extract number ends page any of article in my document. I update this information only when I use \maketitle command.
In bellow code start page number work OK, but do not know how get information about end number page. I know that the next start page number is a bigger one than end page numbers.

\underline{\parbox[b]{10.5cm}{%
pp. \arabic{@ppstart}-\arabic{@ppstop}}}\hfill\thepage
}
...

\newcounter{@ppstart}
\newcounter{@ppstop}

...
\renewcommand{\maketitle}{%
\setcounter{@ppstart}{\thepage}
\setcounter{@ppstop}{???????????????????}
}