Re: [NTG-context] Horizontal space in math subscript generated by Lua

2010-12-18 Thread Hans Hagen
On 15-12-2010 6:11, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, On Wed, 15 Dec 2010 13:06:42 +0100, Hans Hagen pra...@wxs.nl wrote: actually, the luacode was doing the right thing as there is a protect/unprotect mismatch (will be fixed); puttingthis at the top of you file works:

Re: [NTG-context] Horizontal space in math subscript generated by Lua

2010-12-15 Thread Hans Hagen
On 14-12-2010 12:25, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I encountered a strange effect. Let's have a code that generates the same math, firstly by Ctx and secondly by Lua: --- \starttext \startformula M_{t,WnT} = 1000 \stopformula \startluacode context.startformula()

Re: [NTG-context] Horizontal space in math subscript generated by Lua

2010-12-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Wed, 15 Dec 2010 13:06:42 +0100, Hans Hagen pra...@wxs.nl wrote: actually, the luacode was doing the right thing as there is a protect/unprotect mismatch (will be fixed); puttingthis at the top of you file works: \catcodetable\ctxcatcodes thank you, Hans. This makes both