Using ConTeXt Lua libraries
![](https://secure.gravatar.com/avatar/23c65792d6f3eb5f6194f6ec9eadc2ac.jpg?s=120&d=mm&r=g)
Hi everyone! I want to know the proper way to load ConTeXt Lua modules/libraries *en masse*. such as those listed in cld-mkiv, without actual typesetting in order to write some scripts. I thought about creating a .cld file with no output, but I suspect there's a better way. Thanks in advance. Regards, Jairo
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 7/28/2021 10:54 AM, Jairo A. del Rio via ntg-context wrote:
Hi everyone!
I want to know the proper way to load ConTeXt Lua modules/libraries /en masse/. such as those listed in cld-mkiv, without actual typesetting in order to write some scripts. I thought about creating a .cld file with no output, but I suspect there's a better way. Thanks in advance.
not sure what you mean ... when you do mtxrun --script yourscript.lua you basically have most libs (there are ways to add more and create a proper stub but that's a different topic) 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Jairo A. del Rio