summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-04-04 20:55:44 +0000
committerKarl Berry <karl@freefriends.org>2019-04-04 20:55:44 +0000
commitacab24042d34dd439e1d074820d1da2fa1d591cd (patch)
tree32881f869e20a69711c5fe86134aa48143d9b1e8 /Master/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex
parent93f5c4643a3d0a596d220ff14756ce68d99afe33 (diff)
pgf (4apr19)
git-svn-id: svn://tug.org/texlive/trunk@50758 c570f23f-e606-0410-a88d-b1316a301751
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 c559a0cc1ba..300ba52e989 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}%