summaryrefslogtreecommitdiff
path: root/otfl-luat-dum.lua
diff options
context:
space:
mode:
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)