diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luaotfload/luaotfload.sty | 64 |
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'. |