summaryrefslogtreecommitdiff
path: root/mkglyphlist
diff options
context:
space:
mode:
Diffstat (limited to 'mkglyphlist')
-rwxr-xr-xmkglyphlist8
1 files changed, 5 insertions, 3 deletions
diff --git a/mkglyphlist b/mkglyphlist
index 954ffef..9ee1528 100755
--- a/mkglyphlist
+++ b/mkglyphlist
@@ -19,9 +19,11 @@ local glyph_source = "http://partners.adobe.com/public/developer/en/opentype/gl
-----------------------------------------------------------------------
require"lpeg"
require"socket"
-require"lualibs-lua"
-require"lualibs-lpeg"
-require"lualibs-table" --- for serialization
+
+kpse.set_program_name"luatex"
+dofile(kpse.find_file("lualibs-lua.lua", "lua"))
+dofile(kpse.find_file("lualibs-lpeg.lua", "lua"))
+dofile(kpse.find_file("lualibs-table.lua", "lua")) --- for serialization
local C, Cf, Cg, Ct, P, R =
lpeg.C, lpeg.Cf, lpeg.Cg, lpeg.Ct, lpeg.P, lpeg.R