Am 20.04.2011 um 18:09 schrieb Aditya Mahajan:

> Another approach:
> 
> \unprotected\getparameters[defaultoptions][frame=off,topframe=on,leftframe=on,parent=\??ol]
> 
> \setupframed[framecolor=green]
> 
> \starttext
> \framed[parent=defaultoptions]{test}
> \stoptext


The parent setting is nothing you should care about on the user side.

BTW: here is my alternative:

\presetlocalframed[defaultoptions]
\copylocalframed[myoptions][defaultoptions]

\getparameters[defaultoptions][framecolor=green]
\getparameters[myoptions][frame=off,topframe=on,leftframe=on]

\starttext
\localframed[myoptions]{test}
\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
___________________________________________________________________________________

Reply via email to