From 2bd4f7f317b392c32ce18c70d03fd5ba9ddd9e6d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 26 Mar 2020 03:02:49 +0000 Subject: CTAN sync 202003260302 --- macros/latex/contrib/xpatch/README | 8 ++++++-- macros/latex/contrib/xpatch/xpatch.dtx | 9 +++++---- macros/latex/contrib/xpatch/xpatch.ins | 2 +- macros/latex/contrib/xpatch/xpatch.pdf | Bin 450940 -> 470369 bytes 4 files changed, 12 insertions(+), 7 deletions(-) (limited to 'macros/latex/contrib/xpatch') diff --git a/macros/latex/contrib/xpatch/README b/macros/latex/contrib/xpatch/README index e228ead5cc..41c2870bf4 100644 --- a/macros/latex/contrib/xpatch/README +++ b/macros/latex/contrib/xpatch/README @@ -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 diff --git a/macros/latex/contrib/xpatch/xpatch.dtx b/macros/latex/contrib/xpatch/xpatch.dtx index f901c32048..2fe484e667 100644 --- a/macros/latex/contrib/xpatch/xpatch.dtx +++ b/macros/latex/contrib/xpatch/xpatch.dtx @@ -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|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> @@ -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 { diff --git a/macros/latex/contrib/xpatch/xpatch.ins b/macros/latex/contrib/xpatch/xpatch.ins index 28ca5db676..dc0ad457d6 100644 --- a/macros/latex/contrib/xpatch/xpatch.ins +++ b/macros/latex/contrib/xpatch/xpatch.ins @@ -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 diff --git a/macros/latex/contrib/xpatch/xpatch.pdf b/macros/latex/contrib/xpatch/xpatch.pdf index f84680cc4f..be1e39fe49 100644 Binary files a/macros/latex/contrib/xpatch/xpatch.pdf and b/macros/latex/contrib/xpatch/xpatch.pdf differ -- cgit v1.2.3