Nikolai Weibull wrote:

! Undefined control sequence.
\dodosmash [#1]->\edef \@@smash
                                {#1}\futurelet \nexttoken \dododosmash
\relbar ->\mathrel {\smash
                           -}

Uh-uh. The problem is clear: \inlinemath tries (in the definition of \inlinemath@) to expand the formula (in the sense of TeX macro expansion). \longrightarrow cum suis are, however, not expandable in ConTeXt.


Now, I do believe the xdef is a bug in nath, but the following workaround does work:

\protected\def\longrightarrow    {\relbar\joinrel\rightarrow}

Hans, do you have a command that sort of changes an existing definition as if \protected had been used in the first place?

regards,
        Christopher

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to