On Sun, May 24, 2009 at 6:36 PM, Hans Hagen
something like state=once would be handy but i'm not going to touch that code till i'm redoing some page-* code in mkiv
I don't get it, the "once" made me confused. Should that just be "affectedpage=current" or "range={1,2,15}" which will make more sense to me. I don't know the range for "once" Anyway, hi Yue, this small test file may be useful: % \tracingmacros=2 \def\Reverse {\global\negateprintboxtrue \appendtoks\global\negateprintboxfalse\to\afterpage} \setuphead [chapter] [before=\Reverse] \setupcolors[state=start] \starttext \dorecurse{10}{\input zapf\par} \chapter{hello} \dorecurse{10}{\input zapf\par} \chapter{hello} \dorecurse{10}{\input zapf\par} \chapter{hello} \dorecurse{10}{\input zapf\par} \stoptext
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ----------------------------------------------------------------