summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-03-27 00:08:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-03-27 00:08:00 +0100
commit9d7c4e950babe645f21d7c50b9fdba61832bacec (patch)
tree0ac39c8bcdf14ae2bbfcf72d378b51545190f0ae /scripts
parent9a00ccc904a5396ac780ba4785c30f1c1afa6471 (diff)
downloadcontext-9d7c4e950babe645f21d7c50b9fdba61832bacec.tar.gz
beta 2013.03.27 00:08
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-fonts.lua4
-rw-r--r--scripts/context/lua/mtxrun.lua10
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua10
-rwxr-xr-xscripts/context/stubs/unix/mtxrun10
4 files changed, 17 insertions, 17 deletions
diff --git a/scripts/context/lua/mtx-fonts.lua b/scripts/context/lua/mtx-fonts.lua
index 3f75a4fc6..d427f8b2f 100644
--- a/scripts/context/lua/mtx-fonts.lua
+++ b/scripts/context/lua/mtx-fonts.lua
@@ -170,7 +170,7 @@ function scripts.fonts.reload()
if getargument("simple") then
fonts.names.simple()
else
- fonts.names.load(true,arguments.force)
+ fonts.names.load(true,getargument("force"))
end
end
@@ -238,7 +238,7 @@ end
local function reloadbase(reload)
if reload then
report("fontnames, reloading font database")
- names.load(true,arguments.force)
+ names.load(true,getargument("force"))
report("fontnames, done\n\n")
end
end
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index bf5235f55..14112dec1 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -11211,7 +11211,7 @@ do -- create closure to overcome 200 locals limit
package.loaded["trac-xml"] = package.loaded["trac-xml"] or true
--- original size: 5959, stripped down to: 4594
+-- original size: 5962, stripped down to: 4596
if not modules then modules={} end modules ['trac-xml']={
version=1.001,
@@ -11324,7 +11324,6 @@ function reporters.help(t,...)
reporthelp(t,...)
end
end
-local exporters=logs.exporters
function reporters.export(t,method,filename)
if not xmlfound(t) then
return exporthelp(t)
@@ -11335,6 +11334,8 @@ function reporters.export(t,method,filename)
if not filename or filename=="" then
filename=environment.files[1]
end
+ dofile(resolvers.findfile("trac-exp.lua","tex"))
+ local exporters=logs.exporters
if not exporters or not method then
return exporthelp(t)
end
@@ -11349,7 +11350,6 @@ function reporters.export(t,method,filename)
t.report("export file %a will not be saved on the current path (safeguard)",filename)
return
end
- dofile(resolvers.findfile("trac-exp.lua","tex"))
for i=1,#method do
local m=method[i]
local result=exporters[m](t,m)
@@ -15614,8 +15614,8 @@ end -- of closure
-- used libraries : l-lua.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua luat-sta.lua luat-fmt.lua
-- skipped libraries : -
--- original bytes : 644424
--- stripped bytes : 232539
+-- original bytes : 644427
+-- stripped bytes : 232540
-- end library merge
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index bf5235f55..14112dec1 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -11211,7 +11211,7 @@ do -- create closure to overcome 200 locals limit
package.loaded["trac-xml"] = package.loaded["trac-xml"] or true
--- original size: 5959, stripped down to: 4594
+-- original size: 5962, stripped down to: 4596
if not modules then modules={} end modules ['trac-xml']={
version=1.001,
@@ -11324,7 +11324,6 @@ function reporters.help(t,...)
reporthelp(t,...)
end
end
-local exporters=logs.exporters
function reporters.export(t,method,filename)
if not xmlfound(t) then
return exporthelp(t)
@@ -11335,6 +11334,8 @@ function reporters.export(t,method,filename)
if not filename or filename=="" then
filename=environment.files[1]
end
+ dofile(resolvers.findfile("trac-exp.lua","tex"))
+ local exporters=logs.exporters
if not exporters or not method then
return exporthelp(t)
end
@@ -11349,7 +11350,6 @@ function reporters.export(t,method,filename)
t.report("export file %a will not be saved on the current path (safeguard)",filename)
return
end
- dofile(resolvers.findfile("trac-exp.lua","tex"))
for i=1,#method do
local m=method[i]
local result=exporters[m](t,m)
@@ -15614,8 +15614,8 @@ end -- of closure
-- used libraries : l-lua.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua luat-sta.lua luat-fmt.lua
-- skipped libraries : -
--- original bytes : 644424
--- stripped bytes : 232539
+-- original bytes : 644427
+-- stripped bytes : 232540
-- end library merge
diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun
index bf5235f55..14112dec1 100755
--- a/scripts/context/stubs/unix/mtxrun
+++ b/scripts/context/stubs/unix/mtxrun
@@ -11211,7 +11211,7 @@ do -- create closure to overcome 200 locals limit
package.loaded["trac-xml"] = package.loaded["trac-xml"] or true
--- original size: 5959, stripped down to: 4594
+-- original size: 5962, stripped down to: 4596
if not modules then modules={} end modules ['trac-xml']={
version=1.001,
@@ -11324,7 +11324,6 @@ function reporters.help(t,...)
reporthelp(t,...)
end
end
-local exporters=logs.exporters
function reporters.export(t,method,filename)
if not xmlfound(t) then
return exporthelp(t)
@@ -11335,6 +11334,8 @@ function reporters.export(t,method,filename)
if not filename or filename=="" then
filename=environment.files[1]
end
+ dofile(resolvers.findfile("trac-exp.lua","tex"))
+ local exporters=logs.exporters
if not exporters or not method then
return exporthelp(t)
end
@@ -11349,7 +11350,6 @@ function reporters.export(t,method,filename)
t.report("export file %a will not be saved on the current path (safeguard)",filename)
return
end
- dofile(resolvers.findfile("trac-exp.lua","tex"))
for i=1,#method do
local m=method[i]
local result=exporters[m](t,m)
@@ -15614,8 +15614,8 @@ end -- of closure
-- used libraries : l-lua.lua l-lpeg.lua l-function.lua l-string.lua l-table.lua l-io.lua l-number.lua l-set.lua l-os.lua l-file.lua l-md5.lua l-url.lua l-dir.lua l-boolean.lua l-unicode.lua l-math.lua util-str.lua util-tab.lua util-sto.lua util-prs.lua util-fmt.lua trac-set.lua trac-log.lua trac-inf.lua trac-pro.lua util-lua.lua util-deb.lua util-mrg.lua util-tpl.lua util-env.lua luat-env.lua lxml-tab.lua lxml-lpt.lua lxml-mis.lua lxml-aux.lua lxml-xml.lua trac-xml.lua data-ini.lua data-exp.lua data-env.lua data-tmp.lua data-met.lua data-res.lua data-pre.lua data-inp.lua data-out.lua data-fil.lua data-con.lua data-use.lua data-zip.lua data-tre.lua data-sch.lua data-lua.lua data-aux.lua data-tmf.lua data-lst.lua luat-sta.lua luat-fmt.lua
-- skipped libraries : -
--- original bytes : 644424
--- stripped bytes : 232539
+-- original bytes : 644427
+-- stripped bytes : 232540
-- end library merge