diff options
Diffstat (limited to 'tex/context/base/mlib-run.lua')
-rw-r--r-- | tex/context/base/mlib-run.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tex/context/base/mlib-run.lua b/tex/context/base/mlib-run.lua index 16ab55c3b..18abf5aae 100644 --- a/tex/context/base/mlib-run.lua +++ b/tex/context/base/mlib-run.lua @@ -289,16 +289,20 @@ else local methods = { double = "double", + scaled = "scaled", + default = "scaled", decimal = false, -- for the moment } function metapost.load(name,method) starttiming(mplib) + method = method and methods[method] or "scaled" local mpx = mplib.new { ini_version = true, find_file = finder, - math_mode = method and methods[method] or nil, + math_mode = method, } +report_metapost("initializing number mode %q",method) local result if not mpx then result = { status = 99, error = "out of memory"} |