I’m trying to create a conditional that changes the symbol used for certain 
item numbers. Here’s my code that doesn’t work.

\define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces}
\defineitemgroup[Steps]
\setupitemgroup[Steps][each][n,packed]
\setupitemgroup[Steps][each][left=\StepsCommand]

\starttext
\startSteps
\item A
\item B % the item number should be replaced with 'k'
\item C 
\stopSteps
\stoptext

The second item “B” should have the letter ‘k’ instead of the number “2.” Is 
this possible?

Thanks,
-kk
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to