Hi!

You are not in math mode.

/Mikael

Den sön 19 jan. 2025 10:45Bruce Horrocks <ntg@scorecrow.com> skrev:
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>

    {
<line 3.2>
    \frac{
    1}{2}

1     \starttext
2 >>  \frac{1}{2}
3     \stoptext
I've inserted a begin-math/end-math symbol since I think you left one out.
Proceed, with fingers crossed.
mtx-context     | fatal error: return code: 1


Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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
___________________________________________________________________________________