From acab24042d34dd439e1d074820d1da2fa1d591cd Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 4 Apr 2019 20:55:44 +0000
Subject: pgf (4apr19)

git-svn-id: svn://tug.org/texlive/trunk@50758 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/generic/pgf/utilities/pgfkeys.code.tex     | 46 +++++++++++-----------
 1 file changed, 23 insertions(+), 23 deletions(-)

(limited to 'Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex')

diff --git a/Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex b/Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
index 6d9f08fdcba..f89e43639f4 100644
--- a/Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
@@ -9,8 +9,8 @@
 
 
 % The files pgfkeys.code.tex and pgfkeysfiltered.code.tex are
-% perfectly self-contained, except that the catcode of @ 
-% should be made a letter. 
+% perfectly self-contained, except that the catcode of @
+% should be made a letter.
 
 
 % Guard against reading twice
@@ -19,8 +19,8 @@
 \else
   \expandafter\endinput
 \fi
-  
-% The purpose of this file is to provide a general settings engine that 
+
+% The purpose of this file is to provide a general settings engine that
 % works with all TeX formats and has no save-stack impact
 
 
@@ -56,7 +56,7 @@
 % Description:
 %
 % This command sets the key to the given tokens. The tokens are stored as
-% is and can even contain things like #9. 
+% is and can even contain things like #9.
 %
 % Keys are organized hierarchically using something similar to Unix
 % paths. Thus, a typically key might be called "/tikz/length" or
@@ -78,7 +78,7 @@
 
 \long\def\pgfkeyssetevalue#1#2{%
   \pgfkeys@temptoks={#2}%
-  \pgfkeys@temptoks=\scantokens\expandafter{\expandafter{\the\pgfkeys@temptoks}}%
+  \pgfkeys@temptoks=\pgfutil@scantokens\expandafter{\expandafter{\the\pgfkeys@temptoks}}%
   \expandafter\edef\csname pgfk@#1\expandafter\endcsname\expandafter{\the\pgfkeys@temptoks}%
 }
 
@@ -156,7 +156,7 @@
 % Description:
 %
 % This command will expand to the value stored in the key. The key
-% should previously have been set using \pgfkeyasetkey or \pgfkeyslet. 
+% should previously have been set using \pgfkeyasetkey or \pgfkeyslet.
 %
 % Example:
 %
@@ -213,7 +213,7 @@
 % specified, the value of the token register "\pgfkeypath" is used. If
 % "=value" is missing, the value of the setting "/path/key/.@def" is used
 % instead. If this key is set to "\pgfvaluerequired", the key
-% "/errors/value required/.@cmd" is executed. Theis error handler,
+% "/errors/value required/.@cmd" is executed. This error handler,
 % like all other error handlers, will get the current key as its first
 % parameter (unexpanded) and the current value as its second value
 % (also unexpanded).
@@ -247,7 +247,7 @@
 % 3) Otherwise, if the key /handlers/key/.@cmd is present, it is executed
 %    with the same parameters as in 1). Additionally, the
 %    token register \pgfcurrentkeypath will be set to "/path/" and the
-%    macor \pgfcurrentkeywithoutpath to "key". So, in the above
+%    macro \pgfcurrentkeywithoutpath to "key". So, in the above
 %    example if neither "/stuff/height/.@cmd" nor
 %    "/stuff/height" is present, but "/handlers/height" is,
 %    then "/handlers/height" is executed with the parameters:
@@ -326,7 +326,7 @@
 \def\pgfkeys@cleanup\pgfkeys@mainstop{}
 
 \def\pgfkeys@mainstop{\pgfkeys@mainstop} % equals only itself
-\def\pgfkeys@novalue{} 
+\def\pgfkeys@novalue{}
 \def\pgfkeysnovalue{\pgfkeys@novalue} % equals only itself
 \def\pgfkeysnovalue@text{\pgfkeysnovalue}
 \def\pgfkeysvaluerequired{\pgfkeysvaluerequired} % equals only itself
@@ -400,7 +400,7 @@
     % '/my search path'
     %
     % Idea:
-    % set 
+    % set
     % - path := '/my search path'
     % - name := 'key/.code'
     % - key = '/my search path/key/.code'
@@ -417,7 +417,7 @@
   }%
 }
 
-% this macro is to implement the |handly only existing| key in key filtering:
+% this macro is to implement the |handle only existing| key in key filtering:
 % #1: the code to invoke IF the key handler shall be executed
 % #2: the code to invoke if it shall not run.
 \def\pgfkeys@ifexecutehandler#1#2{#1}%
@@ -533,7 +533,7 @@
 % #1 = default path
 % #2 = key-value pairs
 %
-% Desscription:
+% Description:
 %
 % This command starts the execution with the default path set to
 % #1. This command should only be used when speed is important (like
@@ -553,7 +553,7 @@
 %
 % #1 = key-value pairs
 %
-% Desscription:
+% Description:
 %
 % This code may only be called inside the code that is executed for a
 % key. The #1 should be a list of settings pairs. They will be executed
@@ -572,7 +572,7 @@
 % #1 = default path
 % #2 = key-value pairs
 %
-% Desscription:
+% Description:
 %
 % This command executes #2 with the default path set to #1. This
 % command will cause chaos if used incorrectly. The only safe
@@ -588,7 +588,7 @@
 
 
 
-% Now setup the default handelers and keys:
+% Now setup the default handlers and keys:
 
 % Define a key macro with one argument (\def or \edef)
 %
@@ -616,7 +616,7 @@
 }
 
 
-% Define a key macro with mutliple arguments (\def or \edef)
+% Define a key macro with multiple arguments (\def or \edef)
 %
 % #1 = key
 % #2 = argument pattern
@@ -664,7 +664,7 @@
 %     {2}
 % }
 % ->defnargs: 1=`1', 2=`2'
-% 
+%
 % defargs:
 % \pgfkeysdefargs{/b}{#1#2}{1=`#1', 2=`#2'}
 % \pgfkeys{
@@ -678,7 +678,7 @@
 % \pgfkeysdefargs{/b}{#1#2}{1=`#1', 2=`#2'}
 % \pgfkeys{
 %   /b=
-%     {1}% 
+%     {1}%
 %     {2}
 % }
 % ->defargs: 1=`1', 2=`2'
@@ -863,7 +863,7 @@
     \edef\pgf@keys@list@path{\pgfkeyscurrentpath}%
     \expandafter\expandafter\expandafter\pgf@keys@do@list%
     \expandafter\expandafter\expandafter{\expandafter\pgf@keys@list@path\expandafter}\pgf@keys@temp\pgf@stop%
-  }% 
+  }%
 }
 \def\pgf@keys@do@list#1{\pgf@keys@utilifnextchar\bgroup{\pgf@keys@do@list@item{#1}}\pgf@keys@gobble}
 \def\pgf@keys@do@list@item#1#2{\pgfkeysalso{#1={#2}}\pgf@keys@do@list{#1}}
@@ -878,7 +878,7 @@
 
 % Inspection handlers
 
-\pgfkeys{/handlers/.show value/.code=\pgfkeysgetvalue{\pgfkeyscurrentpath}{\pgfkeysshower}\show\pgfkeysshower} % inspect the value 
+\pgfkeys{/handlers/.show value/.code=\pgfkeysgetvalue{\pgfkeyscurrentpath}{\pgfkeysshower}\show\pgfkeysshower} % inspect the value
 \pgfkeys{/handlers/.show code/.code=\pgfkeysgetvalue{\pgfkeyscurrentpath/.@cmd}{\pgfkeysshower}\show\pgfkeysshower} % inspect the body of the command
 
 
@@ -988,7 +988,7 @@
     {%
       \pgfkeys@split@path%
       \pgfkeysifdefined{/handlers/\pgfkeyscurrentname/.@cmd}{%
-      % in the standard configuration, this check here is redundand
+      % in the standard configuration, this check here is redundant
       % because pgfkeys@ifexecutehandler === true.
     % It is only interesting for 'handle only existing'.
         \pgfkeys@ifexecutehandler{%
@@ -1055,7 +1055,7 @@
     \def\pgf@temp{#2}%
     \pgfkeys@error{%
       I do not know the key '\the\toks1'\ifx\pgf@temp\pgfkeysnovalue@text\space\else, to which you passed
-      '\the\toks2', \fi and I am going to ignore it. Perhaps you 
+      '\the\toks2', \fi and I am going to ignore it. Perhaps you
       misspelled it%
     }
   }
-- 
cgit v1.2.3

