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 Wolfgang
On 2-2-2011 10:43, Wolfgang Schuster wrote:
so it's time to move the letter catcodes into the other catcode vectors ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 2-2-2011 1:37, Wolfgang Schuster wrote:
no, 'other', as it is supposed to be a normal symbol in regular ctx mode; so, unprotect sets _ to letter temporary Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 2-2-2011 10:43, Wolfgang Schuster wrote:
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Wolfgang Schuster