ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] \defineenumeration options?
@ 2013-05-21 15:41 Xan
  2013-05-21 16:41 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Xan @ 2013-05-21 15:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 761 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1696 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-21 17:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-21 15:41 [***SPAM***] \defineenumeration options? Xan
2013-05-21 16:41 ` Wolfgang Schuster
2013-05-21 17:59   ` Xan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).