Am 24.05.2009 um 06:12 schrieb Zhichu Chen:
As you said before, in my problem, this kind of handler could break something like hyper-links, and I assume Yue wanted those kind of stuffs.
I don't think this is a problem for this example because the page dimension are always the same while in the code for you the real and the calculated coordinates are different.
Maybe just a \start(stop)setups which changes the background back to normal and \prependtoks it to some token list. So is there an \everypage or \everyshipout token? Then using \setuphead (I don't know if it's appropriate) or \appendtoks to every title page.
I posted a code to enable/disable the backgroundcolor for certain pages not so long ago, take a look in the mail archive. Wolfgang