diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/expl3/l3keyval.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/expl3/l3keyval.dtx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/expl3/l3keyval.dtx b/Master/texmf-dist/source/latex/expl3/l3keyval.dtx index 086827188f4..54a89df8955 100644 --- a/Master/texmf-dist/source/latex/expl3/l3keyval.dtx +++ b/Master/texmf-dist/source/latex/expl3/l3keyval.dtx @@ -35,7 +35,7 @@ \RequirePackage{l3names} %</driver|package> %\fi -\GetIdInfo$Id: l3keyval.dtx 1872 2010-03-24 07:53:45Z mittelba $ +\GetIdInfo$Id: l3keyval.dtx 1890 2010-04-11 03:37:15Z will $ {L3 Experimental keyval processing} %\iffalse %<*driver> @@ -443,7 +443,7 @@ \char_set_catcode:nn{`\Q}{3} % \end{macrocode} % \begin{macrocode} -\cs_gnew:Npn\KV_remove_surrounding_spaces:nw#1#2\q_nil{ +\cs_new:Npn\KV_remove_surrounding_spaces:nw#1#2\q_nil{ % \end{macrocode} % The idea in this processing is to use a Q with strange catcode to % remove a trailing space. But first, how to get this expansion going? @@ -481,7 +481,7 @@ % |\KV_remove_surrounding_spaces_auxii:w| to work properly we need to % put back a Q first. % \begin{macrocode} -\cs_gnew:Npn\KV_remove_surrounding_spaces_auxi:w#1~Q{ +\cs_new:Npn\KV_remove_surrounding_spaces_auxi:w#1~Q{ \KV_remove_surrounding_spaces_auxii:w #1 Q } % \end{macrocode} @@ -489,14 +489,14 @@ % taken care of by the function used to initiate the expansion. Simply % return the argument before the funny Q. % \begin{macrocode} -\cs_gnew:Npn\KV_remove_surrounding_spaces_auxii:w#1Q#2{#1} +\cs_new:Npn\KV_remove_surrounding_spaces_auxii:w#1Q#2{#1} % \end{macrocode} % % Here are some specialized versions of the above. They do exactly % what we want in one go. First trim spaces from the value and then % put the result surrounded in braces onto |\l_KV_parse_tl|. % \begin{macrocode} -\cs_gnew_protected:Npn\KV_add_value_element:w\q_stop#1\q_nil{ +\cs_new_protected:Npn\KV_add_value_element:w\q_stop#1\q_nil{ \tl_set:Nf\l_KV_currval_tl { \KV_remove_surrounding_spaces_auxi:w \exp_not:N#1Q~Q } @@ -508,7 +508,7 @@ % When storing the key we firstly remove spaces plus the prepended % |\q_no_value|. % \begin{macrocode} -\cs_gnew_protected:Npn\KV_set_key_element:w#1\q_nil{ +\cs_new_protected:Npn\KV_set_key_element:w#1\q_nil{ \tl_set:Nf\l_KV_currkey_tl { \exp_last_unbraced:NNo \KV_remove_surrounding_spaces_auxi:w |