diff options
author | Marius <mariausol@gmail.com> | 2010-09-03 12:35:26 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-09-03 12:35:26 +0300 |
commit | 16895587e51f8243a7e4dc6185979894fb199d4f (patch) | |
tree | 923fe9fe4d34a11202e06a4258ba71bab6ccde8d /scripts/context/lua/mtx-timing.lua | |
parent | 20da4ce347921be291c8804041bd8756e3bf1707 (diff) | |
download | context-16895587e51f8243a7e4dc6185979894fb199d4f.tar.gz |
beta 2010.09.03 11:05
Diffstat (limited to 'scripts/context/lua/mtx-timing.lua')
-rw-r--r-- | scripts/context/lua/mtx-timing.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/context/lua/mtx-timing.lua b/scripts/context/lua/mtx-timing.lua index 40e33cdae..ee658f461 100644 --- a/scripts/context/lua/mtx-timing.lua +++ b/scripts/context/lua/mtx-timing.lua @@ -8,8 +8,8 @@ if not modules then modules = { } end modules ['mtx-timing'] = { local format, gsub, concat = string.format, string.gsub, table.concat -dofile(resolvers.find_file("trac-tim.lua","tex")) -dofile(resolvers.find_file("trac-lmx.lua","tex")) +dofile(resolvers.findfile("trac-tim.lua","tex")) +dofile(resolvers.findfile("trac-lmx.lua","tex")) local meta = [[ beginfig(%s) ; @@ -74,7 +74,7 @@ function plugins.progress.make_svg(filename,other) metadata[#metadata+1] = "end ." metadata = concat(metadata,"\n\n") if directrun then - dofile(resolvers.find_file("mlib-run.lua","tex")) + dofile(resolvers.findfile("mlib-run.lua","tex")) commands = commands or { } commands.writestatus = logs.report local result = metapost.directrun("metafun","timing data","svg",true,metadata) @@ -138,7 +138,7 @@ function plugins.progress.make_lmx_page(name,launch,remove) local htmldata = plugins.progress.makehtml(filename,other,menudata,metadata) lmx.htmfile = function(name) return name .. "-timing.xhtml" end - lmx.lmxfile = function(name) return resolvers.find_file(name,'tex') end + lmx.lmxfile = function(name) return resolvers.findfile(name,'tex') end local variables = { ['title-default'] = 'ConTeXt Timing Information', |