[Tugindia] how to get total no. of pages

Sumit Bhardwaj tugindia@tug.org
Mon, 4 Nov 2002 11:07:04 +0530


Hi,
I need to put following the footer:
Page <current page no> of <no . of total pages>
I don't know how to get the total no. of pages. Can someone help me?
I think one needs 2 passes to do this. Is there a 1-pass method to do so?

Regards,
Sumit
-- 
When arrogance blooms, it reaps a harvest rich in tears.