diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2010-01-19 18:54:10 +0200 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2010-01-19 18:54:10 +0200 |
commit | 9ba26d4410ab0af594febe2af037d3d4ec2536c5 (patch) | |
tree | 642d56e1304c5f91ee36c3b2bd6f1416d1fe121e | |
parent | d9ac83dfab6d7f301fe0a1b11a804d7aec6cb79e (diff) | |
download | luaotfload-9ba26d4410ab0af594febe2af037d3d4ec2536c5.tar.gz |
Not relying on require()
require() doesn't work with LuaTeX 0.50 from Debian.
-rw-r--r-- | luaotfload-fonts.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/luaotfload-fonts.lua b/luaotfload-fonts.lua index 7ed2a2d..582d815 100644 --- a/luaotfload-fonts.lua +++ b/luaotfload-fonts.lua @@ -13,11 +13,7 @@ luaotfload.fonts.module = { kpse.set_program_name("luatex") -if status and status.luatex_version and status.luatex_version > 44 then - require("luaextra.lua") -else - dofile(kpse.find_file("luaextra.lua")) -end +dofile(kpse.find_file("luaextra.lua")) local upper, splitpath, expandpath, glob, basename = string.upper, file.split_path, kpse.expand_path, dir.glob, file.basename |