summaryrefslogtreecommitdiff
path: root/otfl-luat-dum.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-02-25 00:38:44 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-02-25 00:41:34 +0200
commit6329e52d8aa7381a248e4a7dbf734d2ad083c50f (patch)
tree67c0f600cede869caf726c5d77a1d6371d6aa137 /otfl-luat-dum.lua
parente064aa2dc70fb819cfdb6b3c0bdf1d081859584f (diff)
downloadluaotfload-6329e52d8aa7381a248e4a7dbf734d2ad083c50f.tar.gz
Updating to latest ConTeXt beta (2010.02.24)
Now encoding related code gone.
Diffstat (limited to 'otfl-luat-dum.lua')
-rw-r--r--otfl-luat-dum.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-luat-dum.lua b/otfl-luat-dum.lua
index 34dd9ed..832f80d 100644
--- a/otfl-luat-dum.lua
+++ b/otfl-luat-dum.lua
@@ -64,7 +64,7 @@ local remapper = {
function resolvers.find_file(name,kind)
name = string.gsub(name,"\\","\/")
kind = string.lower(kind)
- return kpse.find_file(name,(kind and kind ~= "" and (remapper[kind] or kind)) or "tex")
+ return kpse.find_file(name,(kind and kind ~= "" and (remapper[kind] or kind)) or file.extname(name,"tex"))
end
function resolvers.findbinfile(name,kind)