summaryrefslogtreecommitdiff
path: root/luaotfload.sty
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-15 13:13:18 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-15 13:13:18 +0200
commit690cd37becccf9e1f63c7c09054f82e54a50a13d (patch)
tree9f04512b49814b3147a89bc24240a438bea84d2e /luaotfload.sty
parentba7ad3c0cbede3e91fac9101b6f57f1849726725 (diff)
downloadluaotfload-690cd37becccf9e1f63c7c09054f82e54a50a13d.tar.gz
avoid two calls to the file library
Diffstat (limited to 'luaotfload.sty')
-rw-r--r--luaotfload.sty14
1 files changed, 12 insertions, 2 deletions
diff --git a/luaotfload.sty b/luaotfload.sty
index b2b574b..a6714d9 100644
--- a/luaotfload.sty
+++ b/luaotfload.sty
@@ -20,8 +20,6 @@
\csname ifluaotfloadloaded\endcsname
\let\ifluaotfloadloaded\endinput
\bgroup\expandafter\expandafter\expandafter\egroup
-%\RequireLuaModule{lualibs}
-%\RequireLuaModule{luaotfload}
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
\input luatexbase.sty
\else
@@ -30,6 +28,18 @@
[2011/10/06 v2.0 OpenType layout system]
\RequirePackage{luatexbase}
\fi
+%% --------------------------------------------------------------------
+%% from luatex-basics.tex
+% As soon as we feel the need this file will file will contain an extension
+% to the standard plain register allocation. For the moment we stick to a
+% rather dumb attribute allocator. We start at 256 because we don't want
+% any interference with the attributes used in the font handler.
+%\newcount \lastallocatedattribute \lastallocatedattribute=255
+
+%\def\newattribute#1%
+ %{\global\advance\lastallocatedattribute 1
+ %\attributedef#1\lastallocatedattribute}
+%% --------------------------------------------------------------------
\directlua{require"luaotfload"}
\endinput
%%