Kevin D. Robbins wrote:
Hi all,

I have a module with lots of lua code, and I'd like to move most of the lua code to a separate file, say t-module.lua. I have written all of the lua code using \modulecode and \startmodulecode ... \stopmodulecode. But, when I move the lua code to t-module.lua and load it with dofile, it seems to load in the global instance instead of the third party module instance. Is there any method to load an external lua file in a named instance?

\registerctxluafile{t-module}{}


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to