diff options
author | Dohyun Kim <nomosnomos@gmail.com> | 2015-06-29 02:04:25 +0900 |
---|---|---|
committer | Dohyun Kim <nomosnomos@gmail.com> | 2015-06-29 02:04:25 +0900 |
commit | fbf06cfeaa65ed3e3cee8275c892ae5b7c90e667 (patch) | |
tree | be6ac852aa44e209b98a8190cbaff226aa4629d8 /src/luaotfload.sty | |
parent | e8a56b051a32ed4c468c9325048ded01002a841a (diff) | |
download | luaotfload-fbf06cfeaa65ed3e3cee8275c892ae5b7c90e667.tar.gz |
compatible-with-beamer revisited
Diffstat (limited to 'src/luaotfload.sty')
-rw-r--r-- | src/luaotfload.sty | 20 |
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 |