diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-10-07 11:15:06 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-10-07 11:15:06 +0200 |
commit | 961f357ef202a44da1f4b315c82ef143a6f51497 (patch) | |
tree | 223ba0e720367452bcb7c906850430a660bbf74c /scripts/context/lua/mtx-plain.lua | |
parent | d81d584da5152af05c07f7842054a926aae20e10 (diff) | |
download | context-961f357ef202a44da1f4b315c82ef143a6f51497.tar.gz |
2015-10-06 12:51:00
Diffstat (limited to 'scripts/context/lua/mtx-plain.lua')
-rw-r--r-- | scripts/context/lua/mtx-plain.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-plain.lua b/scripts/context/lua/mtx-plain.lua index 1076572fc..de62b19ea 100644 --- a/scripts/context/lua/mtx-plain.lua +++ b/scripts/context/lua/mtx-plain.lua @@ -49,7 +49,7 @@ scripts.plain = scripts.plain or { } local function execute(...) local command = string.format(...) report("running command %a\n",command) - os.execute(command) + return os.execute(command) end local function resultof(...) @@ -91,6 +91,7 @@ function scripts.plain.make(texengine,texformat) end end end + local fmtpath = --expand-path $safe-out-name=$TEXFORMATS if not fmtpath or fmtpath == "" then fmtpath = "." else |