On Sun, May 24, 2009 at 4:57 PM, Wolfgang Schuster
Am 24.05.2009 um 10:46 schrieb Zhichu Chen:
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.
Found it. Well, then it's just as easy as it sounds:
This could be the better method for the background color (when the code is rewritten in a better style) but to change the textcolor you need my other code.
Yes, I noticed that. I added the foregroundcolor part to your code but only pagenumbers are affected. And by appending \setuppapersize [A4][A4,negative] to \afterpage gives a really weird result....
Wolfgang
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Best Regards Chen ---------------------------------------------------------------- Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ----------------------------------------------------------------