Am 03.12.2010 um 10:32 schrieb Khaled Hosny:

> Is there a way to setup insertion of some stuff before/after \type{},
> tried \setuptyping but only works for \start/stoptyping.
> 
> \setuptyping[before=\framed]

You can try to convince Hans to add a command key to \setuptype, untill
then you can use this:

\unexpanded\def\mytype{\groupedcommand{\setgroupedtype\inframed}{\relax}}

\starttext
one \mytype{\two} three
\stoptext

„before“ and „after“ keys are used only for environments to change
the spacing (e.g. before=\blank) at the begin and end of a environment
or to frame it (e.g. before=\startframedtext).

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