summaryrefslogtreecommitdiff
path: root/otfl-basics-gen.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-07 19:50:05 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-07 19:50:05 +0200
commita38dcda19542af3e9d27e6792166a027e29a125b (patch)
tree681cf843e437217796bbdeedacab9a2b154dcf69 /otfl-basics-gen.lua
parent2e59059d0a2e74c55fad59847679f2c61e72f476 (diff)
downloadluaotfload-a38dcda19542af3e9d27e6792166a027e29a125b.tar.gz
Fixing character escaping errors
Some syntax errors in Lua for character escaping were silently ignore by old versions of LuaTeX, but the new one raises errors. Maybe a side effect of Lua 5.2?
Diffstat (limited to 'otfl-basics-gen.lua')
-rw-r--r--otfl-basics-gen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-basics-gen.lua b/otfl-basics-gen.lua
index bdbc3cf..bfd81fd 100644
--- a/otfl-basics-gen.lua
+++ b/otfl-basics-gen.lua
@@ -85,7 +85,7 @@ local remapper = {
}
function resolvers.findfile(name,fileformat)
- name = string.gsub(name,"\\","\/")
+ name = string.gsub(name,"\\","/")
fileformat = fileformat and string.lower(fileformat)
local found = kpse.find_file(name,(fileformat and fileformat ~= "" and (remapper[fileformat] or fileformat)) or file.extname(name,"tex"))
if not found or found == "" then