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