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 you
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
-
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 t