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 your lua and run that file with context
keep in mind that tex is a ecosystem: fotns, languages etc
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------