On 5/29/25 03:26, Matthias Weber wrote:
> [...]
> Is there a suitable incantation to make this work?

Hi Matthias,

I guess that this is only a workaround:

  \defineenumeration  [Solving]
                  [text={Solution:},
                  headstyle=bold,
                  style=normal,
                  title=no
                  ]

  \protected\def\Solution#1{%
    \ifmode{solution}\startSolving #1\stopSolving\fi}

  \starttext

  \enablemode[solution]

  Just whatever.

  \Solution{Enabled}
  \stoptext

But it might help. Cheers,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to