Re: [NTG-context] accessing tex.sprint from pure Lua code.

2022-08-30 Thread Hans Hagen via ntg-context
On 8/30/2022 8:02 PM, Hans van der Meer wrote: In Terminal (say Unix window) calling lua some-file.lua and within that file code like tex.sprint ... token... Thus calling in the tex-library outside ConTeXt. no, tex is not a library .. but of course you can make a small tex file that wraps

Re: [NTG-context] accessing tex.sprint from pure Lua code.

2022-08-30 Thread Hans Hagen via ntg-context
On 8/30/2022 7:34 PM, Hans van der Meer via ntg-context wrote: How can ik access the tex library in pure Lua for tex.sprint and token.setmacro? I guess something like require XYZ ? what do you mean with pure lua Hans -

[NTG-context] accessing tex.sprint from pure Lua code.

2022-08-30 Thread Hans van der Meer via ntg-context
How can ik access the tex library in pure Lua for tex.sprint and token.setmacro? I guess something like require XYZ ? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry