diff options
| author | Khaled Hosny <khaledhosny@eglug.org> | 2010-11-11 07:14:41 +0200 | 
|---|---|---|
| committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-11-11 07:14:41 +0200 | 
| commit | 9883a4f6bb58473e3620ec6614315b546a2c6a9b (patch) | |
| tree | c0da210fcf709f26b4e14aa0ebec44bf611ac6ed | |
| parent | 4025717d680f107c9673e268190e1d28e3660059 (diff) | |
| parent | d78999a570833c495e55af7bc0035a969a626bec (diff) | |
| download | luaotfload-9883a4f6bb58473e3620ec6614315b546a2c6a9b.tar.gz | |
Merge branch 'lltxb' into unstable
| -rw-r--r-- | luaotfload.dtx | 27 | 
1 files changed, 5 insertions, 22 deletions
| diff --git a/luaotfload.dtx b/luaotfload.dtx index 1464b05..1643239 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -458,7 +458,7 @@ luaotfload.module = {      license       = "CC0"  } -luatexbase.provides_module(luaotfload.module) +local error, warning, info, log = luatexbase.provides_module(luaotfload.module)  %    \end{macrocode}  %  %    This is a necessary initalization in order not to rebuild an existing font. @@ -471,24 +471,6 @@ luatexbase.provides_module(luaotfload.module)  kpse.init_prog('', 600, '/')  %    \end{macrocode}  % -%    Some helper functions. -% -%    \begin{macrocode} -local format = string.format - -local function log(...) -    luatexbase.module_log    ('luaotfload', format(...)) -end - -local function error(...) -    luatexbase.module_error  ('luaotfload', format(...)) -end - -local function warning(...) -    luatexbase.module_warning('luaotfload', format(...)) -end -%    \end{macrocode} -%  %    The minimal required \LuaTeX\ version.  %  %    \begin{macrocode} @@ -771,13 +753,14 @@ end  \bgroup\expandafter\expandafter\expandafter\egroup  \expandafter\ifx\csname ProvidesPackage\endcsname\relax -  \input luatextra.sty +  \input luatexbase.sty  \else    \NeedsTeXFormat{LaTeX2e}    \ProvidesPackage{luaotfload}%      [2010/10/16 v1.20 OpenType layout system] -  \RequirePackage{luatextra} +  \RequirePackage{luatexbase}  \fi +\RequireLuaModule{lualibs}  \expandafter\edef\csname otfl@AtEnd\endcsname{%    \catcode64 \the\catcode64\relax @@ -802,7 +785,7 @@ end  %    We load the |lua| file, and we turn the package on.  %  %    \begin{macrocode} -\luatexUseModule{luaotfload} +\RequireLuaModule{luaotfload}  \otfl@on | 
