summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex b/Master/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex
index 300ba52e989..c559a0cc1ba 100644
--- a/Master/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex
@@ -62,15 +62,15 @@
\pgfutil@ifluatex
\let\pgfutil@directlua\directlua
\pgfutil@directlua{%
- tex.enableprimitives('pgfutil@',{'luaescapestring'})}%
+ tex.enableprimitives('pgfutil@',{'luaescapestring'})}
\else
- \def\pgfutil@directlua#1{}%
- \def\pgfutil@luaescapestring#1{}%
+ \def\pgfutil@directlua#1{}
+ \def\pgfutil@luaescapestring#1{}
\fi
\pgfutil@directlua{%
pgfluamathfunctions = require("pgf.luamath.functions")
- pgfluamathparser = require("pgf.luamath.parser")}%
+ pgfluamathparser = require("pgf.luamath.parser")}
% Patch some configuration macros such that the modifications are
@@ -78,7 +78,7 @@
\pgfkeys{
/pgf/trig format/deg/.add code={}{\directlua{pgfluamathfunctions.setTrigFormat("deg")}\aftergroup\pgfmath@settrigformat},
/pgf/trig format/rad/.add code={}{\directlua{pgfluamathfunctions.setTrigFormat("rad")}\aftergroup\pgfmath@settrigformat},
-}%
+}
% ... and reactivate the key:
\pgfmathiftrigonometricusesdeg{%
\pgfkeys{/pgf/trig format/deg}%