Peter Münster wrote:
Hello,
Strange things happen, if \nonknuthmode is in an environment.
Here is my environment file:
\startenvironment e-test
\nonknuthmode
\stopenvironment
And here the test file with error "Missing $ inserted":
\environment e-test
\starttext
X_X
\stoptext
If I add \nonknuthmode *after* "\environment e-test", the same error will
occur.
If I add \nonknuthmode *before* "\environment e-test", there won't be such
problem.
has to do with restoring catcodes (modules are loaded under a different
catcode regime)
i'll fix it (tricky fix, since it might have side effects)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________