On Fri, Dec 03, 2010 at 03:36:14PM +0100, Wolfgang Schuster wrote:
> 
> 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

Thanks Wolfgang.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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