Hi,
I have two enumerations:
\defineenumeration
[exercici]
[alternative=serried,text={\startcolor[middlecyan]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss]
\defineenumeration
[exercicivora]
[alternative=serried,text={\startcolor[middlecyan]Exercici\stopcolor},stopper={.\space},left={\bgroup\startframedtext[background=screen,frame=off,width=broad]},right={\stopframedtext\egroup},width=fit,headstyle=\ss]
I just want to join into one: when I do \startexercici ... \stopexercici
ConTeXt do the first, and when I pass \startexercici[vora] ...
\stopexercici then do the second. That is, 'vora' as optional argument.
How can I achieve that?
I use MKIV.
Thanks in advance,
Xan.
PS: Please CCme
___________________________________________________________________________________
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
___________________________________________________________________________________