diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/data-ctx.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/data-ctx.lua | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/context/base/data-ctx.lua b/Master/texmf-dist/tex/context/base/data-ctx.lua index 89eb2742d68..345e9c7411a 100644 --- a/Master/texmf-dist/tex/context/base/data-ctx.lua +++ b/Master/texmf-dist/tex/context/base/data-ctx.lua @@ -6,26 +6,4 @@ if not modules then modules = { } end modules ['data-ctx'] = { 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("<?xml version='1.0' standalone='yes'?>\n") - f:write("<rl:job>\n") - if jobname then - f:write(format("\t<rl:name>%s</rl:name>\n",jobname)) - end - f:write("\t<rl:files>\n") - local sorted = table.sortedkeys(found) - for k=1,#sorted do - local v = sorted[k] - f:write(format("\t\t<rl:file n='%s'>%s</rl:file>\n",found[v],v)) - end - f:write("\t</rl:files>\n") - f:write("</rl:usedfiles>\n") - f:close() - end -end +-- empty |