summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-28 23:42:13 +0000
committerKarl Berry <karl@freefriends.org>2009-06-28 23:42:13 +0000
commitebcd9fe4ce10c5b310f01d67556875888f62fff6 (patch)
tree10178a7932142bb9f3a20e77d3a264ea9625b4e1 /Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty
parentd4b87c8c93728a6a0ee29b0f1bc522da8d0c352b (diff)
new generic luatex package otfload (24jun09)
git-svn-id: svn://tug.org/texlive/trunk@13992 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty64
1 files changed, 64 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty
new file mode 100644
index 00000000000..d29d67498b7
--- /dev/null
+++ b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty
@@ -0,0 +1,64 @@
+%%
+%% This is file `luaotfload.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% luaotfload.dtx (with options: `package')
+%% This is a generated file.
+%%
+%% Copyright (C) 2009 by Elie Roux <elie.roux@telecom-bretagne.eu>
+%%
+%% This work is under the CC0 license.
+%%
+%% This work consists of the main source file luaotfload.dtx
+%% and the derived files
+%% luaotfload.sty, luaotfload.lua
+%%
+\csname ifluaotfloadloaded\endcsname
+\let\ifluaotfloadloaded\endinput
+
+\expandafter\ifx\csname ProvidesPackage\endcsname\relax
+ \input luatextra.sty
+\else
+ \NeedsTeXFormat{LaTeX2e}
+ \ProvidesPackage{luaotfload}%
+ [2009/06/11 v1.02 ConTeXt font loading system]
+ \RequirePackage{luatextra}
+\fi
+
+\expandafter\edef\csname otfl@AtEnd\endcsname{%
+ \catcode64 \the\catcode64\relax
+}
+
+\catcode64 11
+
+
+\newluaattribute\otfl@state
+\newluaattribute\otfl@markbase
+\newluaattribute\otfl@markdone
+\newluaattribute\otfl@markmark
+\newluaattribute\otfl@cursbase
+\newluaattribute\otfl@curscurs
+\newluaattribute\otfl@cursdone
+\newluaattribute\otfl@kernpair
+\newluaattribute\otfl@color
+
+
+\def\otfl@off{
+\luadirect{luaotfload.unregister_callbacks()}
+}
+
+\def\otfl@on{
+\luadirect{luaotfload.register_callbacks()}
+}
+
+
+\luaUseModule{luaotfload}
+
+\otfl@on
+
+\otfl@AtEnd
+\endinput
+%%
+%% End of file `luaotfload.sty'.