accessing tex.sprint from pure Lua code.
![](https://secure.gravatar.com/avatar/be49110e195f5eac47c04570251121c1.jpg?s=120&d=mm&r=g)
30 Aug
2022
30 Aug
'22
7:34 p.m.
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
![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
30 Aug
30 Aug
8 p.m.
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 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
715
Age (days ago)
715
Last active (days ago)
1 comments
2 participants
participants (2)
-
Hans Hagen
-
Hans van der Meer