[NTG-context] \pagenumber geeft altijd 1

Jaroslav Hajtmar hajtmar at gyza.cz
Mon Jan 3 11:57:55 CET 2011


Hello,

\UsePageNumbers must be after \starttext


\starttext
\UsePageNumbers

Is working...

Jaroslav



Dne 3.1.2011 11:54, Jaroslav Hajtmar napsal(a):
> Hello Cecil,
> Are you calling  \UsePageNumbers macro at start?
> I don't see any problem ...
>
> For example this short code is working:
>
> \setupfootertexts[Page \pagenumber \space of \lastpage]
>
> \starttext
> \dorecurse{20}{\input tufte }
> \stoptext
>
> Jaroslav
>
>
>
> Dne 3.1.2011 10:32, Cecil Westerhof napsal(a):
>> \def\UsePageNumbers{
>>    \setuplayout[pagenumbers]
>>    \setupfootertexts[Page \pagenumber \space of \lastpage]
>> }
>
> ___________________________________________________________________________________ 
>
> If your question is of interest to others as well, please add an entry 
> to the Wiki!
>
> maillist : ntg-context at ntg.nl / 
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________ 
>
>



More information about the ntg-context mailing list