On Wed, 20 Apr 2011, Wolfgang Schuster wrote:


Am 20.04.2011 um 12:35 schrieb Reviczky, Adam:

Hi

As a follow-up to this:
http://www.ntg.nl/pipermail/ntg-context/2011/058569.html

I was wondering if it is possible to something like this:

\startsetups test
\setupframed[frame=off,topframe=on,leftframe=on]
\stopsetups
\starttext
\framed[setups=test]{A fancy title}
\stoptext

\framed[extras=\setup{test}]{…}

but you can’t change all values because the hook is called to late.

Another approach:

\unprotected\getparameters[defaultoptions][frame=off,topframe=on,leftframe=on,parent=\??ol]

\setupframed[framecolor=green]

\starttext
\framed[parent=defaultoptions]{test}
\stoptext

Aditya
___________________________________________________________________________________
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