hi, I'm creating a command that can format multiple choice questions on my own. I've done most of it at the moment. But I want more, so I'm trying to create more versions of this command that is already nearing completion. So I'm using the following command to create a command with more possibilities. I've noticed that ‘startitem stopitem’ isn't working. Their location and serial number are anomalous. %%%% Removed some unnecessary commands to show what the problem was. % macros=mkvi \starttext \unprotect \installnamespace {chitem} \installcommandhandler \????chitem {chitem} \????chitem \appendtoks \setuevalue{\e!start\currentchitem}{\startnamedchitem [\currentchitem]}% \setuevalue{\e!stop \currentchitem}{\stopnamedchitem}% \to \everydefinechitem \tolerant\protected\def\markedchoice#1{{\sym{@} \red sym : #1}} \tolerant\protected\def\normalchoice#1{\startitem normal : #1\stopitem} \tolerant\protected\def\\calc_maxwidth#1{} %The longest option text is calculated by comparison to % determine the number of columns that can be typeset \tolerant\protected\def\startnamedchitem[#chitem]#*[#mark]#*[#option]#*#choice\stopnamedchitem% {\begingroup % \ifarguments 0\or :1\or +2\or =3\or !4\fi \def\currentchitem{#chitem}% \edef\p_correctmark{*}\edef\p_paramark{#mark}% \calc_maxwidth{#choice}% \ifx\p_paramark\p_correctmark \markedchoice{#choice}% \else \normalchoice{#choice}% \fi\endgroup} \def\stopnamedchitem{} \definechitem[chitem] \protect \startitemize[n,horizontal,two]% % The process of calculating the number of formattable columns % has been removed and the results of the calculations are used directly. \startchitem xxx\stopchitem \startchitem[*]correct choice\stopchitem \startchitem xxx\stopchitem \startchitem xxx\stopchitem \stopitemize \stoptext %%%%% thanks for any help, autumnus