Hello all, I would like to typeset a certain enumeration when a corresponding mode is enabled, like so:
\defineenumeration [Solution] [text={Solution:}, headstyle=bold, before={\startmode[solution]}, after={\stopmode}, style=normal, title=no ] \starttext \enablemode[solution] \startSolution Enabled \stopSolution \stoptext This works, but when I disable the mode, I get the error message tex error > runaway error: end of file encountered mtx-context | fatal error: return code: 1 Is there a suitable incantation to make this work? Thanks for all the help, Matthias ___________________________________________________________________________________ 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 ___________________________________________________________________________________