On Thu, 27 May 2010 00:32:28 -0400, ntg-context-boun...@ntg.nl wrote:
> Am 27.05.10 00:59, schrieb Aditya Mahajan:
> > Hi,
> >
> > How do you use catcodetables in MkII. The following works fine in MkIV
> >
> > \unprotect
> > \newcatcodetable\vimcatcodes
> >
> > \startcatcodetable \vimcatcodes
> >   \catcode`\^^I = \@@active
> >   \catcode`\^^M = \@@active
> >   \catcode`\^^L = \@@active
> >   \catcode`\    = 12
> >   \catcode`\^^Z = \@@ignore
> > \stopcatcodetable
> > \protect
> >
> > \starttext
> > \pushcatcodetable\vimcatcodes
> > hello
> > \popcatcodetable
> > \stoptext
> >
> >
> > but gives
> >
> > ! Missing $ inserted.
> > <inserted text>
> >                 $
> > <to be read again>
> >                    \vimcatcodes
> > l.14 \pushcatcodetable\vimcatcodes
> >
> >
> > in MkII (both pdftex and xetex). What am I missing?
> 
> You need a entry for the backslash.

Thanks. 

Aditya

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to