On 01/31/2015 05:42 PM, Rob Heusdens wrote:
> [...]
> The code looks likes this, but this examples does not exhibit the same
> faulty off-by-1-page interactive page jump behaviour. In the chapters in
> the body matter, always directly after a new chapter a section begins (in
> this example omitted).

Hi Rob,

include in your preamble the following command to avoid makeups not
being numbered as pages:

    \setupmakeup[pagestate=start]

So you don’t have to worry about setting counters for userpage.

I don’t see any special problem here.

You could define a colophon makeup for the colophon:

    \definemakeup[colophon][bottom=]

(BTW, I thought colophons were at the end of the book.)

I wonder what makes your links point to the next page from their
destinations.

BTW, which OS and PDF interpreter are you using?


Pablo


> \setupinteraction[state=start]
> \setuppagenumbering[location=,alternative=doublesided]
> \definemakeup
>   [titlepage]
>   [align=middle,style=\bf]
> \starttext
> \startfrontmatter
> Small title
> \page
> \phantom{x}\vfill
> Colofon
> \page
> \starttitlepagemakeup
> BIG TITLE
> \stoptitlepagemakeup % <- empty page inserted after here, so page number
> becomes 5
> \setcounter[userpage][5] % <- without this, the page number = 3
> \setuppagenumbering[location={footer,middle}]
> \completecontent
> \chapter{Introduction} \dorecurse{4}{\input zapf}
> \stopfrontmatter
> \startbodymatter
> \setuppagenumbering[location={header,middle}]
> \dorecurse{21}{\chapter{Knuth} \dorecurse{10}{\input knuth}}
> \stopbodymatter
> \startappendices
> \chapter{Appendix} \dorecurse{4}{\input zapf}
> \stopappendices
> \startbackmatter
> \chapter{Notes} \dorecurse{4}{\input zapf}
> \stopbackmatter
> \stoptext

-- 
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___________________________________________________________________________________

Reply via email to