[Tugindia] how to get total no. of pages

S. venkataraman tugindia@tug.org
Tue, 5 Nov 2002 09:54:22 +0530


Use lastpage package with fancyhdr package. 
 Look at page no 15 of the fancyhdr package for details.
Venkataraman
> -----Original Message-----
> From:	Sumit Bhardwaj [SMTP:bhardwajs@softhome.net]
> Sent:	Monday, November 04, 2002 11:07 AM
> To:	tugindia@tug.org
> Subject:	[Tugindia] how to get total no. of pages
> 
> 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.
> 
> _______________________________________________
> Home:        http://www.tug.org.in/
> unsubscribe: http://tug.org/mailman/listinfo/tugindia