Re: [NTG-context] Using ConTeXt Lua libraries

2021-07-28 Thread Hans Hagen via ntg-context

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Using ConTeXt Lua libraries

2021-07-28 Thread Jairo A. del Rio via ntg-context
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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___