From a3609f5cd2e3e7ec844adab7f7220f02599e4743 Mon Sep 17 00:00:00 2001 From: Dohyun Kim Date: Mon, 29 Jun 2015 02:04:25 +0900 Subject: compatible-with-beamer revisited --- src/luaotfload.sty | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/luaotfload.sty') 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 -- cgit v1.2.3