summaryrefslogtreecommitdiff
path: root/src/luaotfload.sty
diff options
context:
space:
mode:
authorDohyun Kim <nomosnomos@gmail.com>2015-06-29 02:04:25 +0900
committerDohyun Kim <nomosnomos@gmail.com>2015-07-27 01:49:36 +0900
commita3609f5cd2e3e7ec844adab7f7220f02599e4743 (patch)
tree437261f4d3986505342ebf85ea7e477cb7235441 /src/luaotfload.sty
parent43031f08720cd2cd305e7c7b1eb5f40b52d0b36b (diff)
downloadluaotfload-a3609f5cd2e3e7ec844adab7f7220f02599e4743.tar.gz
compatible-with-beamer revisited
Diffstat (limited to 'src/luaotfload.sty')
-rw-r--r--src/luaotfload.sty20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/luaotfload.sty b/src/luaotfload.sty
index 34f9a87..c9c9864 100644
--- a/src/luaotfload.sty
+++ b/src/luaotfload.sty
@@ -46,23 +46,3 @@
\fi
\RequireLuaModule{luaotfload-main}
-% for compatibility with beamer class, which loads pgf package.
-\ifcsname selectfont\endcsname
- \AtBeginDocument{\@ifpackageloaded{pgfsys}{
- \csname newtoks\endcsname\pgf@sys@pgf@resource@list@extgs@toks
- \directlua{luaotfload.pgf_loaded=\the\allocationnumber}
- \def\pgf@sys@pgf@resource@list@extgs{\the\pgf@sys@pgf@resource@list@extgs@toks}
- \def\pgf@sys@addpdfresource@extgs@plain#1{\global\pgf@sys@pgf@resource@list@extgs@toks
- \expandafter{\the\pgf@sys@pgf@resource@list@extgs@toks #1}}
- }{}}
-\endinput\fi
-% under plain tex, tikz (pgf) should be loaded before luaotfload.
-\ifcsname pgf@sys@pgf@resource@list@extgs\endcsname\else\endinput\fi
-\count255=\the\catcode`@\relax
-\catcode`@=11\relax
-\newtoks\pgf@sys@pgf@resource@list@extgs@toks
-\directlua{luaotfload.pgf_loaded=\the\allocationnumber}
-\def\pgf@sys@pgf@resource@list@extgs{\the\pgf@sys@pgf@resource@list@extgs@toks}
-\def\pgf@sys@addpdfresource@extgs@plain#1{\global\pgf@sys@pgf@resource@list@extgs@toks
- \expandafter{\the\pgf@sys@pgf@resource@list@extgs@toks #1}}
-\catcode`@=\the\count255\relax