diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-10-29 16:18:49 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-10-29 16:18:49 +0100 |
commit | 5c195236a1a69b23762df71a791e6b4e2c671892 (patch) | |
tree | d2275861813078d707913b4f7969708913df815b /tex/context/base/mkiv/l-lua.lua | |
parent | f58a2cb5d22c5931581274db1f0ec85ac903b747 (diff) | |
download | context-5c195236a1a69b23762df71a791e6b4e2c671892.tar.gz |
2019-10-29 15:08:00
Diffstat (limited to 'tex/context/base/mkiv/l-lua.lua')
-rw-r--r-- | tex/context/base/mkiv/l-lua.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/l-lua.lua b/tex/context/base/mkiv/l-lua.lua index 6e9606e84..51399216c 100644 --- a/tex/context/base/mkiv/l-lua.lua +++ b/tex/context/base/mkiv/l-lua.lua @@ -35,6 +35,12 @@ if LUAVERSION < 5.2 and jit then LUAVERSION = 5.2 end +-- this is lmtx only: + +if lua and lua.openfile then + io.open = lua.openfile +end + -- lpeg if not lpeg then |