summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
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 75d1221..b3a1304 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1770,10 +1770,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