summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.code.tex32
1 files changed, 0 insertions, 32 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.code.tex b/Master/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.code.tex
index a84276adbc0..8af2ed312c6 100644
--- a/Master/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.code.tex
+++ b/Master/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.code.tex
@@ -2058,38 +2058,6 @@
\gdef\pgfplotsHASH{#}%
\catcode`\%=12 \gdef\pgfplotsPERCENT{%}}
-\def\pgfplots@alloc@catcodetable{%
- % it is task of the TeX format to load this.
- % context comes with it out-of-the box, and pgfplots.sty loads luatexbase.sty
- \pgfutil@IfUndefined{newcatcodetable}{%
- % Oh. The TeX format does not have support for
- % \newcatcodetable and the associated pgfplots module did not
- % load an addon-package!?
- %
- % We _need_ the catcodes which are active when pgfplots starts.
- % And there is no central mechanism to allocate catcodes. I will
- % take one for me now and hope that it will not be used (soon).
- \def\pgfplotsglobalretval{41}%
- }{%
- % the macro \pgfplots@luabackend@table is never used by TeX
- % code.
- % I only need the value inside of the .lua files: whenever
- % they print something, they need to use it.
- \newcatcodetable\pgfplots@luabackend@table
- \let\pgfplotsglobalretval=\pgfplots@luabackend@table
- }%
-}%
-\pgfutil@IfUndefined{directlua}{}{%
- \directlua{tex.enableprimitives("",tex.extraprimitives())}%
- \pgfplots@log3{Initializing with LUA version \directlua{tex.print(_VERSION)}}%
- \directlua{require("pgfplots"); pgfplots.pgfplotsversion = "\pgfplotsversion";}%
- %
- \pgfplots@alloc@catcodetable
- \c@pgf@counta=\pgfplotsglobalretval
- \savecatcodetable\c@pgf@counta
- \directlua{pgfplots.LOAD_TIME_CATCODETABLE = \the\c@pgf@counta}%
-}%
-
% swaps the content of two macros
\def\pgfplotsutil@swap#1#2{%
\let\pgfplotsutil@swap@=#1%