summaryrefslogtreecommitdiff
path: root/tex/context/base/mlib-run.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-05-19 01:20:14 +0300
committerMarius <mariausol@gmail.com>2012-05-19 01:20:14 +0300
commit3821b4213bf250551cfa122313ae2c56f9923533 (patch)
tree291a4a12a622e6d081ba8b709ab3c03780e5d445 /tex/context/base/mlib-run.lua
parenteda07bb8527bbb5d411be813ccd1e916c83e9d5b (diff)
downloadcontext-3821b4213bf250551cfa122313ae2c56f9923533.tar.gz
beta 2012.05.18 23:50
Diffstat (limited to 'tex/context/base/mlib-run.lua')
-rw-r--r--tex/context/base/mlib-run.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mlib-run.lua b/tex/context/base/mlib-run.lua
index f42b53594..59dc88b90 100644
--- a/tex/context/base/mlib-run.lua
+++ b/tex/context/base/mlib-run.lua
@@ -148,7 +148,7 @@ if mplibone then
local preamble = [[
boolean mplib ; mplib := true ;
string mp_parent_version ; mp_parent_version := "%s" ;
- input %s ; dump ;
+ input "%s" ; dump ;
]]
metapost.parameters = {
@@ -244,7 +244,7 @@ else
local preamble = [[
boolean mplib ; mplib := true ;
let dump = endinput ;
- input %s ;
+ input "%s" ;
]]
function metapost.load(name)
@@ -257,7 +257,7 @@ else
if not mpx then
result = { status = 99, error = "out of memory"}
else
- result = mpx:execute(format(preamble, file.addsuffix(name,"mp")))
+ result = mpx:execute(format(preamble, file.addsuffix(name,"mp"))) -- addsuffix is redundant
end
stoptiming(mplib)
metapost.reporterror(result)