summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlisle <d.p.carlisle@gmail.com>2015-10-03 13:30:55 +0100
committerDavid Carlisle <d.p.carlisle@gmail.com>2015-10-03 13:30:55 +0100
commit7653d470fb19a1d1c83c674f847a3abc926fd115 (patch)
tree29404436bed9e0bb6c81b7459d36321b49ac620b
parentc27df305c157a77e1832589a16b7ec1365e7e2c9 (diff)
downloadluaotfload-7653d470fb19a1d1c83c674f847a3abc926fd115.tar.gz
just use ltluatex not luatexbase
-rw-r--r--src/luaotfload.sty24
1 files changed, 7 insertions, 17 deletions
diff --git a/src/luaotfload.sty b/src/luaotfload.sty
index 825a3a5..1445a28 100644
--- a/src/luaotfload.sty
+++ b/src/luaotfload.sty
@@ -33,24 +33,14 @@
%%
\csname ifluaotfloadloaded\endcsname
\let\ifluaotfloadloaded\endinput
-\bgroup\expandafter\expandafter\expandafter\egroup
-\expandafter\ifx\csname selectfont\endcsname\relax
- \ifdefined\newluafunction\else
- \input luatexbase.sty
- \fi
-\else
- \NeedsTeXFormat{LaTeX2e}
+\let\ifluaotfloadloaded\endinput
+\ifx\newluafunction\@undefined
+ \input ltluatex
+\fi
+\ifdefined\ProvidesPackage
\ProvidesPackage{luaotfload}%
%% FIXME The date is meaningless, we need to find a way to
%% use the git revision instead.
- [2015/03/29 v2.6 OpenType layout system]
- \ifdefined\newluafunction\else
- \RequirePackage{luatexbase}
- \fi
-\fi
-\ifdefined \RequireLuaModule
- \RequireLuaModule{luaotfload-main}
-\else
- \directlua{require("luaotfload-main")}
+ [2014/08/10 v2.5-4 OpenType layout system]
\fi
-
+\directlua{require('luaotfload-main')}