diff options
Diffstat (limited to 'tex/context/base/core-uti.lua')
-rw-r--r-- | tex/context/base/core-uti.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tex/context/base/core-uti.lua b/tex/context/base/core-uti.lua index 9a44aef78..e98012dab 100644 --- a/tex/context/base/core-uti.lua +++ b/tex/context/base/core-uti.lua @@ -1,6 +1,6 @@ if not modules then modules = { } end modules ['core-uti'] = { version = 1.001, - comment = "companion to core-uti.tex", + comment = "companion to core-uti.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" @@ -39,8 +39,6 @@ end job.comment(format("version: %1.2f",jobs.version)) -job._save_, job._load_ = { }, { } - function job.initialize(loadname,savename) job.load(loadname) main.register_stop_actions(function() @@ -185,7 +183,6 @@ function packer.strip(p) p.hash = nil end - local packlist = { "numbers", "metadata", @@ -195,13 +192,15 @@ local packlist = { "pagedata", "directives", "specification", - "references", +-- "references", -- we need to rename of them as only one packs (not structure.lists.references) } local jobpacker = packer.new(packlist,1.01) job.pack = true +job._save_, job._load_ = { }, { } -- registers timing + function job.save(filename) statistics.starttiming(job._save_) local f = io.open(filename,'w') @@ -246,7 +245,7 @@ function job.load(filename) for l=1,#savelist do local list = savelist[l] local target, initializer = list[1], list[3] - packer.unpack(aux.accesstable(target),job.packer,true) + packer.unpack(aux.accesstable(target),job.packer,true) if type(initializer) == "function" then initializer(aux.accesstable(target)) end |