summaryrefslogtreecommitdiff
path: root/src/luaotfload.sty
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-07-30 07:34:57 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2015-07-30 07:34:57 +0200
commitbc277dc065a8ca8bae05b9a5224ef377c5d88964 (patch)
tree8c17f3391358897a5b73ce44b792504de13481cf /src/luaotfload.sty
parent43031f08720cd2cd305e7c7b1eb5f40b52d0b36b (diff)
parent6e87573031e27cc0741f3f42c65b6ae8cbeae9fd (diff)
downloadluaotfload-bc277dc065a8ca8bae05b9a5224ef377c5d88964.tar.gz
Merge pull request #3 from dohyunkim/newpgf
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