summaryrefslogtreecommitdiff
path: root/luaotfload.sty
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2009-04-16 15:54:55 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2009-04-16 15:54:55 +0200
commitfed311d67f0258a26530e04c43acf3d0261a25ce (patch)
treed0f5a332f65e0ed66e4f4c542f7b57ca4e80e8cb /luaotfload.sty
parent74fe1c58a90d884f227a7354181633c0452ac0f9 (diff)
downloadluaotfload-fed311d67f0258a26530e04c43acf3d0261a25ce.tar.gz
making a dtx for luaotfload, with documentation
Diffstat (limited to 'luaotfload.sty')
-rw-r--r--luaotfload.sty52
1 files changed, 0 insertions, 52 deletions
diff --git a/luaotfload.sty b/luaotfload.sty
deleted file mode 100644
index b35d4e5..0000000
--- a/luaotfload.sty
+++ /dev/null
@@ -1,52 +0,0 @@
-\expandafter\ifx\csname ProvidesPackage\endcsname\relax
-\expandafter\ifx\csname luaUseModule\endcsname\relax
-\input luatextra.sty
-\fi
-\else
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{luaotfload}%
- [2009/04/08 v1.001 ConTeXt font loading system]
-\RequirePackage{luatextra}
-\fi
-
-\ifnum\pdfoutput<1
- \expandafter\ifx\csname PackageWarning\endcsname\relax
- \write16{}
- \write16{Warning: luaotfload only works in PDF mode, otf fonts won't work.}
- \write16{}
- \else
- \PackageWarning{luaotfload}{luaotfload only works in PDF mode, otf fonts won't work.}
- \fi
-\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