summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-11-21 17:53:00 +0100
committerHans Hagen <pragma@wxs.nl>2012-11-21 17:53:00 +0100
commit9e90c8ee8e8980f5adfdc0e1fc0c654692a0fb06 (patch)
tree4ca20fad7f5fe8f4700aaff2cc709ee1c1cb280e /scripts
parent4bc9f650e3e87812fa7daf77db51a7adf37efdb4 (diff)
downloadcontext-9e90c8ee8e8980f5adfdc0e1fc0c654692a0fb06.tar.gz
beta 2012.11.21 17:53
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-server-ctx-help.lua4
-rw-r--r--scripts/context/lua/mtxrun.lua2
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua2
-rwxr-xr-xscripts/context/stubs/unix/mtxrun2
4 files changed, 4 insertions, 6 deletions
diff --git a/scripts/context/lua/mtx-server-ctx-help.lua b/scripts/context/lua/mtx-server-ctx-help.lua
index 39a73dc4e..b8dc0dfb2 100644
--- a/scripts/context/lua/mtx-server-ctx-help.lua
+++ b/scripts/context/lua/mtx-server-ctx-help.lua
@@ -9,8 +9,6 @@ if not modules then modules = { } end modules ['mtx-server-ctx-help'] = {
-- todo in lua interface: noargument, oneargument, twoarguments, threearguments
-- todo: pickup translations from mult file
---~ dofile(resolvers.findfile("l-aux.lua","tex"))
---~ dofile(resolvers.findfile("l-url.lua","tex"))
dofile(resolvers.findfile("trac-lmx.lua","tex"))
-- problem ... serialize parent stack
@@ -615,7 +613,7 @@ local function doit(configuration,filename,hashed)
local formats = document.setups.formats
local start = os.clock()
- local detail = hashed.queries
+ local detail = hashed.queries or { }
if detail then
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index c2c8f0581..e83f5215d 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -14134,7 +14134,7 @@ local function collect_files(names)
if dname == "" or find(dname,"^%.") then
dname = false
else
-dname = gsub(dname,"*","%.*")
+ dname = gsub(dname,"*","%.*")
dname = "/" .. dname .. "$"
end
local hashes = instance.hashes
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index c2c8f0581..e83f5215d 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -14134,7 +14134,7 @@ local function collect_files(names)
if dname == "" or find(dname,"^%.") then
dname = false
else
-dname = gsub(dname,"*","%.*")
+ dname = gsub(dname,"*","%.*")
dname = "/" .. dname .. "$"
end
local hashes = instance.hashes
diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun
index c2c8f0581..e83f5215d 100755
--- a/scripts/context/stubs/unix/mtxrun
+++ b/scripts/context/stubs/unix/mtxrun
@@ -14134,7 +14134,7 @@ local function collect_files(names)
if dname == "" or find(dname,"^%.") then
dname = false
else
-dname = gsub(dname,"*","%.*")
+ dname = gsub(dname,"*","%.*")
dname = "/" .. dname .. "$"
end
local hashes = instance.hashes