2011/1/3 Wolfgang Schuster : > > Am 03.01.2011 um 10:32 schrieb Cecil Westerhof: > >> I am using the folowing code: >> \def\UsePageNumbers{ >>  \setuplayout[pagenumbers] >>  \setupfootertexts[Page \pagenumber \space of \lastpage] >> } >> >> The number of pages is displayed correctly, but the pagenumber is >> always 1. What am I doing wrong? > > Make a complete example, you don’t where you call the \UsePageNumbers. Attached are the tex and pdf file. -- Cecil Westerhof