[NTG-context] Interactive table of content -- jumps always 1 page too far

Wolfgang Schuster schuster.wolfgang at gmail.com
Sat Jan 31 19:04:16 CET 2015


> Am 31.01.2015 um 17:42 schrieb Rob Heusdens <robheus at xs4all.nl>:
> 
> \starttitlepagemakeup
> BIG TITLE
> \stoptitlepagemakeup % <- empty page inserted after here, so page number becomes 5
> \setcounter[userpage][5] % <- without this, the page number = 3

You don’t need this manual setting for the pagenumber when you set „pagestate=start”
for the markup environment. Below you can see that the second makeup environment
increments the page number.

\starttext

\startmakeup[standard]
Standardmakeup page
\stopmakeup

\input knuth

\startmakeup[standard][pagestate=start]
Standardmakeup page
\stopmakeup

\input knuth

\stoptext

Wolfgang



More information about the ntg-context mailing list