summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-05-12 01:48:25 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-05-12 01:48:25 -0700
commitf3c5f3f498afae003d3981a2c1c67dd90ddc0375 (patch)
tree31ffb7c42a1f79562cb3272c4a29f3dfe86e6111 /luaotfload.dtx
parent3548b2bd61510b5688bcf8aaad64662edd92f860 (diff)
parentd8a8649ca9e2f25b028141e7d49e38a2840eb086 (diff)
downloadluaotfload-f3c5f3f498afae003d3981a2c1c67dd90ddc0375.tar.gz
Merge pull request #64 from phi-gamma/master
brute force compatibility with older Luatex
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx10
1 files changed, 8 insertions, 2 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index 785a879..7ccd6e8 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1792,10 +1792,16 @@ loadmodule"auxiliary.lua" --- additionaly high-level functionality (new)
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luaotfload}%
- [2013/04/16 v2.2 OpenType layout system]
+ [2013/05/10 v2.2 OpenType layout system]
\RequirePackage{luatexbase}
\fi
-\RequireLuaModule{luaotfload}
+\ifnum\luatexversion<76
+ %% here some deprecation warning would be in order
+ \RequireLuaModule{lualibs}
+ \RequireLuaModule{luaotfload-legacy}
+\else
+ \RequireLuaModule{luaotfload}
+\fi
\endinput
% \end{macrocode}
% \iffalse