Hallo,

the following compiles ok, but gives me an status 3=fatal error.
Can someone please point me to the error?

\startlua
mp = mplib.new ( {
    hash_size = 100000,
    main_memory = 2000000,
    param_size = 100000,
} )

if mp then
    res = mp:execute(
"beginfig(1) draw (0,0) .. (1,1) .. (2,1); endfig; bye;" )
    tex.print("[" .. tostring(res.status) .. "]")
    mp:finish()
end
\stoplua

Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to