Re: [NTG-context] Testing TeX macros through Lua

2010-04-23 Thread Hans Hagen
On 22-4-2010 9:15, Taco Hoekwater wrote: Jaroslav Hajtmar wrote: Hello everybody. Is there any possibility discover through Lua in ConTeXt whether it has been defined in ConTeXt source any regular TeX macros? \starttext \directlua{print(token.command_name(token.create('starttext')))} \directl

Re: [NTG-context] Testing TeX macros through Lua

2010-04-22 Thread Taco Hoekwater
Jaroslav Hajtmar wrote: Hello everybody. Is there any possibility discover through Lua in ConTeXt whether it has been defined in ConTeXt source any regular TeX macros? \starttext \directlua{print(token.command_name(token.create('starttext')))} \directlua{print(token.command_name(token.create(

[NTG-context] Testing TeX macros through Lua

2010-04-22 Thread Jaroslav Hajtmar
Hello everybody. Is there any possibility discover through Lua in ConTeXt whether it has been defined in ConTeXt source any regular TeX macros? Be enough for me any simple example or relevant link. Thanx J.Hajtmar __