Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
On Apr 25, 2020, at 2:34 PM, Wolfgang Schuster wrote: > > \starttext > > \startitemize[n] > \item A > \txt{k} B > \noitem > \item C > \stopitemize > > \stoptext > > Wolfgang Nice…so many options. :) -kk___ If

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 23:30: Ah…thanks for the pointer to \definecoversion. Looks promising. I had also tried: \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \starttext \startSteps \item A \sym{k} B\incrementnumber[itemgroup:Steps] \item C \stopSteps \stoptext

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
Ah…thanks for the pointer to \definecoversion. Looks promising. I had also tried: \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \starttext \startSteps \item A \sym{k} B\incrementnumber[itemgroup:Steps] \item C \stopSteps \stoptext Which is similar to your \txt solution and

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 21:24: 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]

[NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
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]