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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________