[NTG-context] Compilation error with \ifnum

Maggyero maggyero at gmail.com
Tue May 5 12:42:22 CEST 2015

Dear list members,

Why the following code gives me the following error?


\begingroup \catcode`\"=12
    \ifnum\mathcode`\-=45 \else
        \mathchardef\std at minus\mathcode`\-\relax


tex error       > error on line 13 in file
/Users/maggyero/Desktop/test.tex: ! Extended mathchar used as mathchar
<to be read again>
\newmcodes ...thcode `\."613A\ifnum \mathcode `\-=
                                                  45 \else \mathchardef
<argument> \newmcodes @
             \kern \zeropoint \mfunction {fancy-function-name'*.:}
\486>nolop #1->\mathop {#1
l.13 $\xyz

Thank you in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150505/e528c72f/attachment.html>

More information about the ntg-context mailing list