On 28/10/2018 16:06, Joseph Wright wrote:
Hello all,

Looking at management of global Lua tables (for the obvious cases ...), I notice that all of the core Mk IV files use the construct

     if not modules then modules = { } end
     modules["<file-name"] = { -- meta-data here

From a ConTeXt point-of-view, is it acceptable for third-parties to use this construct, or is it 'ConTeXt maintainers only'? I'm wondering for code used generically: it would be good to use the same approach, but I don't want to tread on any reserved namespaces.

Joseph

Somehow I've managed to loose Hans' reply, but I've seen it in the archive :)

Hans: Thanks for the quick reply. I'll suggest to the LaTeX team that we treat table modules as ConTeXt-specific/reserved, and will think of a different name.

Joseph
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to