[NTG-context] \pagenumber geeft altijd 1

Cecil Westerhof cldwesterhof at gmail.com
Mon Jan 3 12:10:46 CET 2011


2011/1/3 Wolfgang Schuster <schuster.wolfgang at googlemail.com>:
> You stop pagenumbering and wonder why context doesn’t report the current pagenumber.
>
> Line 15: \setuppagenumbering[state=stop]

I thought that \setuplayout[pagenumbers] took care of that. I changed
UsePageNumbers to:
\def\UsePageNumbers{
  \setuppagenumbering[state=start]
  \setuplayout[pagenumbers]
  \setupfootertexts[Pagina \pagenumber \space van \lastpage]
}

And now it works. Thanks.

-- 
Cecil Westerhof


More information about the ntg-context mailing list