diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-05-12 01:48:25 -0700 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-05-12 01:48:25 -0700 |
commit | f3c5f3f498afae003d3981a2c1c67dd90ddc0375 (patch) | |
tree | 31ffb7c42a1f79562cb3272c4a29f3dfe86e6111 /luaotfload.dtx | |
parent | 3548b2bd61510b5688bcf8aaad64662edd92f860 (diff) | |
parent | d8a8649ca9e2f25b028141e7d49e38a2840eb086 (diff) | |
download | luaotfload-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.dtx | 10 |
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 |