Re: [NTG-context] Lua & \let

2013-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Fri, 04 Oct 2013 10:54:37 +0200, Hans Hagen wrote: On 10/4/2013 10:47 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello all, how to call \let from within Lua? I'd need to "\let\T=4" using Lua. The following code doesn't work (not so surprisingly): \startluacode a = 4 \stop

Re: [NTG-context] Lua & \let

2013-10-04 Thread Wolfgang Schuster
Am 04.10.2013 um 10:47 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello all, > > how to call \let from within Lua? > > I'd need to "\let\T=4" using Lua. > > The following code doesn't work (not so surprisingly): > > > \startluacode > a = 4 > \stopluacode > > \expandafter\let\e

Re: [NTG-context] Lua & \let

2013-10-04 Thread Hans Hagen
On 10/4/2013 10:47 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello all, how to call \let from within Lua? I'd need to "\let\T=4" using Lua. The following code doesn't work (not so surprisingly): \startluacode a = 4 \stopluacode \expandafter\let\expandafter\T=\cldcontext{a} \

[NTG-context] Lua & \let

2013-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello all, how to call \let from within Lua? I'd need to "\let\T=4" using Lua. The following code doesn't work (not so surprisingly): \startluacode a = 4 \stopluacode \expandafter\let\expandafter\T=\cldcontext{a} \starttext Test \T. \stoptext What's the correct way? TIA. Luk