On 15 Apr 2008 at 13:31, ntg-context-request@ntg.nl wrote: Hallo Taco,
(I have temporary appended 'dump;' to plain.mp)
After the above, you should have plain.mem in the local directory.
No. There is neither a 'plain.fmt' nor a 'plain.mem'! I have searched in the local directory, where it should be. It is not in 'D:\context\tex\texmf-mswin\web2c' where format-files usally exist. It is not in the cache. I run this: ------------------------------------------------------- \enableregime[utf-8] \starttext % start low-level \startlua local function finder(name, mode, ftype) if mode=="w" then return name else return kpse.find_file(name,ftype) end end mp = mplib.new ( { hash_size = 100000, main_memory = 2000000, param_size = 100000, find_file = finder, ini_version = true } ) if mp then res = mp:execute("plain") print(table.serialize(res)) res = mp:finish() print(table.serialize(res)) end \stoplua % stop low-level \stoptext ------------------------------------------------------- with the following output: ------------------------------------------------------- t={ ["log"]="This is MetaPost, Version 1.003 (INIMP) 15 APR 2008 21:00 (plain.mpPreloading the plain mem file, version 0.99", ["status"]=0, ["term"]="This is MetaPost, Version 1.003 (Cweb version 0.40) (INIMP)\ (plain.mpPreloading the plain mem file, version 0.99", } t={ ["log"]=" )\ Beginning to dump on file plain.mem\ (mem=plain 8.4.15)\ at most 735 strings of total length 3629\ 3326 memory locations dumped; current usage is 1021&2227\ 501 symbolic tokens\ ", ["status"]=0, ["term"]=" )\ Beginning to dump on file plain.mem\ (mem=plain 8.4.15)\ at most 735 strings of total length 3629\ 3326 memory locations dumped; current usage is 1021&2227\ 501 symbolic tokens\ Transcript written on plain.log.\ ", } ------------------------------------------------------- Can you see, what I am missing? Wolfgang