This is an interesting feature for handling a call to an undefined macro (as
might result from \csnam#1\endcsname, for example.
>
> \starttext
>
> \startluacode
>
> function interfaces.defined(name)
>return token.get_cmdname(token.create(name)) ~= "undefined_cs"
> end
>
> if interfaces.define
Thanx Hans.
Great! It works fine now! For me it is very useful and important macro.
One more thanx for reply.
Jaroslav Hajtmar
Dne 09.02.16 v 19:50 Hans Hagen napsal(a):
On 2/9/2016 1:28 PM, Jaroslav Hajtmar wrote:
Hello ConTeXist.
In the latest version ConTeXt it stopped working my macros
On 2/9/2016 1:28 PM, Jaroslav Hajtmar wrote:
Hello ConTeXist.
In the latest version ConTeXt it stopped working my macros which
contents function he once advised me Taco. It is low level lua code.
Can anyone advise me what the problem is, eventually. how to replace Lua
code in my function to mak
Hello ConTeXist.
In the latest version ConTeXt it stopped working my macros which
contents function he once advised me Taco. It is low level lua code.
Can anyone advise me what the problem is, eventually. how to replace Lua
code in my function to make it work again? Macros worked at least 6