[texhax] Page number end of chapter.

Adam M adimar at utp.edu.pl
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.



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

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

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


Adam M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20091008/908cf91d/attachment.html>


More information about the texhax mailing list