> 3. Using only \mathlabeltext with \setuplabeltext is also more consistent with the current \labeltext that works with \setuplabeltext.3. Using only \mathlabeltext with \setupmathlabeltext is also more consistent with the current \labeltext that works with \setuplabeltext.
— Second typo:
> \define\function{\dosingleempty\dofunction}
> \def\dofunction[#1]#2{%
> \iffirstargument
> \doifelse{#1}{limop}{\mathop{\mathlabel{#2}}}{\mathop{\mathlabel{#2}}\nolimits}
> \else
> \mathop{\mathlabel{#2}}\nolimits
> \fi}
\define\function{\dosingleempty\dofunction}
\def\dofunction[#1]#2{%
\iffirstargument
\doifelse{#1}{op}{\mathop{\mathlabel{#2}}}{\doifelse{#1}{limop}{\mathop{\mathlabel{#2}}}{\mathop{\mathlabel{#2}}\nolimits}}
\else
\mathop{\mathlabel{#2}}\nolimits
\fi}
Plus these 2 definitions were not supposed to be in this post (I forgot to remove them during my tests). Nevertheless Hans could had them as well in math-ini.mkiv if he thinks the user should have access to this \function command, which is the ConTeXt version of the well known \operatorname and \operatorname* command in LaTeX. It provides:
\starttext
\startformula
\function{lim}_{x\to a} f(x)\quad \function[op]{lim}_{x\to a} f(x)\quad \function[limop]{lim}_{x\to a} f(x)
\stopformula
\stoptext
— Third typo:
> \definemathcommand[arsinh][op]{\mathlabel{arsinh}}
\definemathcommand[arsinh][nolop]{\mathlabel{arsinh}}