diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-10 22:30:38 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-10 22:30:38 +0200 |
commit | 0eef3d6c5ffbbc97f5e2dd5443b6823da94213b5 (patch) | |
tree | 876e9490943b2ae3dfe0bd27b4894585e76259fe /luaotfload.dtx | |
parent | 258f95aa327b6e4eed9fdff211806c1b733a9816 (diff) | |
download | luaotfload-0eef3d6c5ffbbc97f5e2dd5443b6823da94213b5.tar.gz |
add version switch to dtx
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r-- | luaotfload.dtx | 10 |
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 |