Dear Hans, Thank you for the solution which works well. After adding a line “ text={\translate[en=Example, kr=예제]},” for Korean text, it works fine too. I understand the meaning of headcommand, numbercommand, and titlecommnad from your code more clearly.
Thanks again for a quick solution. Best regards, Dalyoung > you need "numbercommand": > > \defineenumeration > [Example] > [headcommand={\framed[background=color,backgroundcolor=red]}, > > numbercommand={\inframed[height=2ex,background=color,backgroundcolor=green]}, > > titlecommand={\inframed[height=2ex,background=color,backgroundcolor=blue]}, > title=yes, > alternative=left, > before={\blank[big]}, > after=\blank] > > \starttext > \chapter{first} > \startExample{foo} > This is a test for enumeration. > \stopExample > \startExample > This is a test for enumeration. > \stopExample > \stoptext > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > > > ------------------------------ > > Subject: Digest Footer > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ > > ------------------------------ > > End of ntg-context Digest, Vol 162, Issue 8 > ******************************************* ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________