[Tugindia] Total number of pages

Sridhar M.A. sridharma at gmail.com
Sun Oct 3 03:24:36 CEST 2004

I am typesetting a book in LaTeX and things are going on nicely. I
have a small problem.

The book has a frontmatter section in which about 10-12 pages are
numbered in Roman and
the rest in Arabic. Using \pageref, I am able to indicate on the
copyright page the total number of pages as ix+242 (e.g.). Is there a
simple way to get the total number of pages in a
document (irrespective of whether the page counter is reset midway or not)?


Sridhar M.A.

More information about the tugindia mailing list