[NTG-context] Accent wrecking \mathboxanchored

Gavin gavinpublic at comcast.net
Thu Dec 22 15:08:34 CET 2022


Hi Hans, Mikael and list,

I’ve been testing the connectors, which work great with the latest upload. One problem I found: an accent in the \mathboxanchored causes a "Missing number, treated as zero” error and no output. MWE below.

Thanks for all of the improvements. I’m making all kinds of connections!
Gavin


\starttext

\startboxanchoring[+]
\connectboxanchors[top]    [top]    [distance=1ex,arrow=no] {c1}{c2}
\connectboxanchors[bottom] [bottom] [distance=1ex,arrow=no] {c2}{c3}
\startformula
    \mathboxanchored[nucleus]{c1}{e}^{\dot\alpha}
%    \mathboxanchored[nucleus]{c2}{e}_{\mu}        % <-- This works, without accent
%    \mathboxanchored[nucleus]{c2}{\bar{e}}_{\mu} % <-- This does not work, with accent
    \bar{\mathboxanchored[nucleus]{c2}{e}}_{\mu} % <-- This works, but connector punches through accent
    \mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}}
    \bar\sigma^{\dot\alpha\beta}_{\mu}
\stopformula
\stopboxanchoring

\stoptext



More information about the ntg-context mailing list