texlive[54563] Master/texmf-dist: xpatch (26mar20)

commits+karl at tug.org commits+karl at tug.org
Thu Mar 26 22:29:18 CET 2020


Revision: 54563
          http://tug.org/svn/texlive?view=revision&revision=54563
Author:   karl
Date:     2020-03-26 22:29:18 +0100 (Thu, 26 Mar 2020)
Log Message:
-----------
xpatch (26mar20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/xpatch/README
    trunk/Master/texmf-dist/doc/latex/xpatch/xpatch.pdf
    trunk/Master/texmf-dist/source/latex/xpatch/xpatch.dtx
    trunk/Master/texmf-dist/source/latex/xpatch/xpatch.ins
    trunk/Master/texmf-dist/tex/latex/xpatch/xpatch.sty

Modified: trunk/Master/texmf-dist/doc/latex/xpatch/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xpatch/README	2020-03-26 21:29:05 UTC (rev 54562)
+++ trunk/Master/texmf-dist/doc/latex/xpatch/README	2020-03-26 21:29:18 UTC (rev 54563)
@@ -1,14 +1,18 @@
 The xpatch package generalizes the macro patching commands provided by
 P. Lehmann's `etoolbox'.
 
-This is version 0.3 of the package
+This is version 0.3a of the package
 
+Changes from version 0.3
+o Changed deprecated function \token_get_replacement_spec:N
+  to \cs_replacement_spec:N
+
 Changes from version 0.2
 o Added \xpatch...format, \xpreto...format and \xappto...format  macros 
   for patching internal biblatex macros defined \Declare...Format
   (under kind request by Audrey Boruvka)
 
- Copyright 2012 Enrico Gregorio
+ Copyright 2012-2020 Enrico Gregorio
 
  It may be distributed and/or modified under the conditions of the
  LaTeX Project Public License (LPPL), either version 1.3c of this

Modified: trunk/Master/texmf-dist/doc/latex/xpatch/xpatch.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/xpatch/xpatch.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/xpatch/xpatch.dtx	2020-03-26 21:29:05 UTC (rev 54562)
+++ trunk/Master/texmf-dist/source/latex/xpatch/xpatch.dtx	2020-03-26 21:29:18 UTC (rev 54563)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-%% File: xpatch.dtx (C) Copyright 2012 Enrico Gregorio
+%% File: xpatch.dtx (C) Copyright 2012-2020 Enrico Gregorio
 %%
 %% It may be distributed and/or modified under the conditions of the
 %% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -24,7 +24,7 @@
 \usepackage{bookmark}
 %</driver>
 %<*driver|package>
-\GetIdInfo$Id: xpatch.dtx 0.3 2012-10-02 12:00:00Z Enrico $
+\GetIdInfo$Id: xpatch.dtx 0.3a 2020-03-25 12:00:00Z Enrico $
           {Extending etoolbox patching commands}
 %</driver|package>
 %<*driver>
@@ -36,6 +36,7 @@
 % \changes{v0.2}{2012/01/13}{Added \texttt{\char`\\x...bibdriver} macros; fixed a bug for
 %  control symbols defined with \texttt{\char`\\newcommand} and an optional argument.}
 % \changes{v0.3}{2012/10/01}{Added a bunch of biblatex related commands}
+% \changes{v0.3a}{2020/03/25}{Changed deprecated function}
 %
 % \title{^^A
 %   The \textsf{xpatch} package\\ Extending \textsf{etoolbox} patching
@@ -543,7 +544,7 @@
 % \pkg{l3regex} stabilizes.}
 %    \begin{macrocode}
    \tl_set:Nx \l__xpatch_repl_tl
-     { \c__xpatch_bizarre_tl \token_get_replacement_spec:N #2 }
+     { \c__xpatch_bizarre_tl \cs_replacement_spec:N #2 }
 %    \end{macrocode}
 % We look whether the token list contains the bizarre list followed by
 % |\protect| and the same name (with two spaces) which happens if |#2|
@@ -635,7 +636,7 @@
      {
       \tl_set:Nx \l__xpatch_repl_tl
         { \c__xpatch_bizarre_tl 
-          \exp_after:wN \token_get_replacement_spec:N 
+          \exp_after:wN \cs_replacement_spec:N 
             \cs:w \l__xpatch_name_tl \cs_end: }
       \tl_if_in:NxT \l__xpatch_repl_tl
         {

Modified: trunk/Master/texmf-dist/source/latex/xpatch/xpatch.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/xpatch/xpatch.ins	2020-03-26 21:29:05 UTC (rev 54562)
+++ trunk/Master/texmf-dist/source/latex/xpatch/xpatch.ins	2020-03-26 21:29:18 UTC (rev 54563)
@@ -1,6 +1,6 @@
 \iffalse meta-comment
 
-File xpatch.ins Copyright (C) 2012 Enrico Gregorio
+File xpatch.ins Copyright (C) 2012-2020 Enrico Gregorio
 
 It may be distributed and/or modified under the conditions of the
 LaTeX Project Public License (LPPL), either version 1.3c of this

Modified: trunk/Master/texmf-dist/tex/latex/xpatch/xpatch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xpatch/xpatch.sty	2020-03-26 21:29:05 UTC (rev 54562)
+++ trunk/Master/texmf-dist/tex/latex/xpatch/xpatch.sty	2020-03-26 21:29:18 UTC (rev 54563)
@@ -9,7 +9,7 @@
 %% Do not distribute this file without also distributing the
 %% source files specified above.
 %% 
-%% File: xpatch.dtx (C) Copyright 2012 Enrico Gregorio
+%% File: xpatch.dtx (C) Copyright 2012-2020 Enrico Gregorio
 %%
 %% It may be distributed and/or modified under the conditions of the
 %% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -24,7 +24,7 @@
 %% The released version of this bundle is available from CTAN.
 %%
 \RequirePackage{expl3}
-\GetIdInfo$Id: xpatch.dtx 0.3 2012-10-02 12:00:00Z Enrico $
+\GetIdInfo$Id: xpatch.dtx 0.3a 2020-03-25 12:00:00Z Enrico $
           {Extending etoolbox patching commands}
 \ProvidesExplPackage
   {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
@@ -53,7 +53,7 @@
     \bool_set_false:N \l__xpatch_protect_bool
    \tl_set:Nx \l__xpatch_name_tl { \cs_to_str:N #2  }
    \tl_set:Nx \l__xpatch_repl_tl
-     { \c__xpatch_bizarre_tl \token_get_replacement_spec:N #2 }
+     { \c__xpatch_bizarre_tl \cs_replacement_spec:N #2 }
    \tl_if_in:NxT \l__xpatch_repl_tl
      {
       \c__xpatch_bizarre_tl
@@ -107,7 +107,7 @@
      {
       \tl_set:Nx \l__xpatch_repl_tl
         { \c__xpatch_bizarre_tl
-          \exp_after:wN \token_get_replacement_spec:N
+          \exp_after:wN \cs_replacement_spec:N
             \cs:w \l__xpatch_name_tl \cs_end: }
       \tl_if_in:NxT \l__xpatch_repl_tl
         {



More information about the tex-live-commits mailing list.