Does "pagenumber\ of \lastpage" help? Thomas On Dec 7, 2005, at 11:16 AM, Tobias Burnus wrote: > Hi, > > I use 'texexec --batch --pages=1:2' and "Page \pagenumber\ of > \totalnumberofpages". > > What I get is: "Page 1 of 1" and "Page 2 of 2". I of cause like to > see: "Page 1 of 2". > > Any ideas how to get this? > > Tobias