On Mon January 26 2009 10:57:23 am Wolfgang Schuster wrote: > Am 26.01.2009 um 17:51 schrieb Bart C. Wise: > > Thanks Wolfgang for the insight. > > Here is one that did exactly you wrote, nothing else. > > \defineframedtext[CenteredTextFrame][width=fit,location=middle] > > \def\startCenteredText > {\dosingleempty\dostartCenteredText} > > \def\dostartCenteredText[#1]% > {\bgroup > \iffirstargument > \def\docommand##1{\getparameters[][##1]}% > \processcommalist[#1]\docommand > \fi > \startCenteredTextFrame} > > \def\stopCenteredText > {\stopCenteredTextFrame > \egroup} > > \starttext > > \startCenteredText[myownparm="This is a test"] > \startlines > My own parm is: \myownparm > \stoplines > \stopCenteredText > > \stoptext > Yes, a much simpler solution, but I appreciate having both.
Thanks, Bart ___________________________________________________________________________________ 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 ___________________________________________________________________________________