* Giuseppe Bilotta
Weird indeed. I'm not using the latest ConTeXt. (Actually I'm quite back with the updates ... gotta get down to it.) I'll see if upgrading gives me the same problem and in case get a fix.
OK.
\def\over{\ifmmode\n@err{Disabled command \string\over } {No more a valid command. Replace {A \over B} with \frac A B.}\else\o@over\fi} \def\atop{\ifmmode\n@err{Disabled command \string\atop } {No more a valid command. Use array instead.}\else\o@atop\fi} \def\choose{\ifmmode\n@err{Disabled command \string\choose } {No more a valid command. Replace {A \choose B} with \binom A B.}\else\o@choose\fi}
Ah, of course... nikolai
It works like that? Excellent.
It seems I spoke too soon. It does in fact not work. \o@over can't be put like that inside the if-statement. A suggestion would be to re-work the whole section and instead make it \appendtoks \def\over{\n@err{Disabled command \string\over } {No more a valid command. Replace {A \string\over B} with \string\frac A B.}} \def\atop{\n@err{Disabled command \string\atop } {No more a valid command. Use array instead.}} \def\choose{\n@err{Disabled command \string\choose } {No more a valid command. Replace {A \string\choose B} with \string\binom A B. >>> }} \to\everymath but I don't know if that's a good solution. It forces you to use \string\over in the second argument to \n@err which I don't understand why, but otherwise TeX runs out of stack space. I suppose it's being expanded even though it shouldn't be. nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}