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