diff options
author | Marius <mariausol@gmail.com> | 2013-01-27 22:40:36 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-01-27 22:40:36 +0200 |
commit | 11315fc4ef7dc87885f46bf875540da27dd7fa5d (patch) | |
tree | cfec2a69d5a6370dff6015a1b3d34dd2b5d13acd /tex/context/base/mlib-run.lua | |
parent | b2630c4b37ae895cde00ff9468ca7488998c88df (diff) | |
download | context-11315fc4ef7dc87885f46bf875540da27dd7fa5d.tar.gz |
beta 2013.01.27 21:24
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"} |