On 2-2-2011 10:43, Wolfgang Schuster wrote:
Hi Hans,
the \nonknuthmode in core-def.mkiv breaks _ in modules:
\starttext
\the\catcode`\_
\unprotect \the\catcode`\_ \protect
\the\catcode`\_
\stoptext
It helps when you enable \nonknuthmode with \everystarttext (or \everyjob), e.g.
\appendtoks \nonknuthmode \to \everystarttext
ah, interesting, indeed it changes the catcodes in the wrong vector \def\nonknuthmode {\pushcatcodes \setcatcodetable\ctxcatcodes \the\everynonknuthmode \let\nonknuthmode\relax \popcatcodes} \def\donknuthmode {\pushcatcodes \setcatcodetable\ctxcatcodes \the\everydonknuthmode \popcatcodes} is better ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------