[NTG-context] What is preloaded by “mtxrun --script”?

Hans Hagen pragma at wxs.nl
Wed Feb 16 23:59:15 CET 2011

On 16-2-2011 11:44, Philipp Gesang wrote:
> Hi all,
> I noticed that although mtxrun preloads some of the context libs
> that doesn’t cover everything available during an ordinary mkiv
> run.  What would be the canonical way to load additional libs
> like “luat-ini”&c. on demand? “environment.loadluafile()”? Can
> this be configured globally? Is it wise to mess with “own.libs”
> in mtxrun?
> Example: This snippet checks the global env for some tables.
> “mtxrun --script” doesn’t find any while some of them are there
> when processed as cld.



but keep in mind that most of the mkiv code depends on other code and 
often they depend on functionality that is only available when we're in 
luatex mode and not in texlua mode


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the ntg-context mailing list