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
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
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}
\
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