summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-11 16:14:36 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-11 16:14:36 +0200
commit3da43df46bb3ddc265ddedcf6bbb732d788ab269 (patch)
tree4c836735fb8e2c7d7c0d7a61521a4a2b60cb8680 /luaotfload.dtx
parent0004b213f99a77411c03811e3324c9a1e934e31a (diff)
parent78b43966b0e7f28137d971b3f6921beca473e966 (diff)
downloadluaotfload-3da43df46bb3ddc265ddedcf6bbb732d788ab269.tar.gz
Merge ../luaotfload-compat
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