if not modules then modules = { } end modules ['data-ctx'] = { version = 1.001, comment = "companion to luat-lib.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } local format = string.format function resolvers.save_used_files_in_trees(filename,jobname) if not filename then filename = 'luatex.jlg' end local found = instance.foundintrees local f = io.open(filename,'w') if f then f:write("\n") f:write("\n") if jobname then f:write(format("\t%s\n",jobname)) end f:write("\t\n") local sorted = table.sortedkeys(found) for k=1,#sorted do local v = sorted[k] f:write(format("\t\t%s\n",found[v],v)) end f:write("\t\n") f:write("\n") f:close() end end