
What am I doing wrong here, please?
\starttext
\frac{1}{2}
\stoptext
gives
tex error > tex error on line 2 in file ./tt.tex: Missing $ inserted
<inserted text>
$\mathatom
<macro> \math_atom_by_parameter_indeed
#1->\mathatom
\s!class \mathcodechecked {#1}
<macro> \math_frac
...meter #2\or \setupcurrentmathfraction [#2]\fi \edef \p_math_fraction_fences {\mathfractionparameter \c!fences }\dostarttagged \t!mfractionstack {\mathfractionparameter \c!mathmeaning }\math_atom_by_parameter \mathfractionparameter
\bgroup \ifem ...
<to be read again>
{

Well, I tried \m{\frac{1}{2}} and got the same error. So to produce an MWE I cut the \m{} out. :-) But now I've exited and restarted TexShop it's working - so I assume it must have been TeXShop being a bit confused and not using the updated source. Sorry for the noise. — Bruce Horrocks Hampshire, UK
participants (2)
-
Bruce Horrocks
-
Mikael Sundqvist