Am 13.02.2013 um 17:49 schrieb H. van der Meer <h.vanderm...@uva.nl>:
> Is it possible to have a command automatically executed each time \stopbuffer > has been read? Preferably coupled to a specific named \startbuffer[this_one], > iff possible at all of course. > > Thus: > \startbuffer[this_one] > ..contents.. > \stopbuffer % in execution followed by \command \def\startmybuffer {\grabbufferdata[mybuffer][startmybuffer][stopmybuffer]} \def\stopmybuffer {\startframedtext[width=max] \getbuffer[mybuffer] \stopframedtext} \starttext \startmybuffer \input knuth \stopmybuffer \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________