texlive[47233] Master/texmf-dist: regexpatch (31mar18)

commits+karl at tug.org commits+karl at tug.org
Mon Apr 2 00:31:15 CEST 2018


Revision: 47233
          http://tug.org/svn/texlive?view=revision&revision=47233
Author:   karl
Date:     2018-04-02 00:31:14 +0200 (Mon, 02 Apr 2018)
Log Message:
-----------
regexpatch (31mar18)

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

Modified: trunk/Master/texmf-dist/doc/latex/regexpatch/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/regexpatch/README	2018-04-01 22:31:00 UTC (rev 47232)
+++ trunk/Master/texmf-dist/doc/latex/regexpatch/README	2018-04-01 22:31:14 UTC (rev 47233)
@@ -4,13 +4,12 @@
 powerful `\regexpatchcmd' based on the `l3regex' module of LaTeX3
 experimental packages.
 
-In this version the code and the documentation have been polished;
-the `biblatex' related macros already in `xpatch' have been added
-also to `regexpatch'.
+In this version a function name has been fixed and loading
+l3regex have been removed.
 
-This is version 0.2b of the package (a maintainance release)
+This is version 0.2c of the package (a maintainance release)
 
- Copyright 2012-2016 Enrico Gregorio
+ Copyright 2012-2018 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
@@ -42,5 +41,5 @@
   it (the FAQ on CTAN in /help/uktug-FAQ gives more
   information about this magic place
 
-2016/05/15
+2018/03/31
 Enrico Gregorio

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

Modified: trunk/Master/texmf-dist/source/latex/regexpatch/regexpatch.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/regexpatch/regexpatch.dtx	2018-04-01 22:31:00 UTC (rev 47232)
+++ trunk/Master/texmf-dist/source/latex/regexpatch/regexpatch.dtx	2018-04-01 22:31:14 UTC (rev 47233)
@@ -1,4 +1,4 @@
-% \iffalse meta-comment
+ % \iffalse meta-comment
 %
 %% File: regexpatch.dtx (C) Copyright 2012-2016 Enrico Gregorio
 %%
@@ -11,7 +11,7 @@
 %%
 %% This file is part of the "regexpatch bundle" (The Work in LPPL)
 %% and all files in that bundle must be distributed together.
-%% 
+%%
 %% The released version of this bundle is available from CTAN.
 %%
 %
@@ -25,7 +25,7 @@
 \newcommand{\sv}{[\texttt{*}]}
 %</driver>
 %<*driver|package>
-\GetIdInfo$Id: regexpatch.dtx 0.2b 2016-05-15 12:00:00Z Enrico $
+\GetIdInfo$Id: regexpatch.dtx 0.2c 2018-03-31 12:00:00Z Enrico $
           {Extending etoolbox patching commands}
 %</driver|package>
 %<*driver>
@@ -55,11 +55,12 @@
 %
 % \maketitle
 %
+% \changes{v0.2c}{2018/03/31}{Removed loading of \texttt{l3regex}}
 % \changes{v0.2b}{2016/05/15}{Fix for removed function}
 % \changes{v0.2a}{2015/05/20}{Fixed silly mistake}
 % \changes{v0.2}{2013/03/28}{Polished code and documentation}
 % \changes{v0.2}{2013/03/28}{Additional biblatex related macros}
-% \changes{v0.1c}{2013/03/25}{Replaced obsolete command 
+% \changes{v0.1c}{2013/03/25}{Replaced obsolete command
 %   \texttt{\protect\string\protect\prg_case_str:onn}}
 % \changes{v0.1c}{2013/03/25}{Replaced \texttt{\protect\string\protect\msg_term:x}
 %    with \texttt{\protect\string\protect\msg_term:n}}
@@ -212,7 +213,7 @@
 %
 %
 % \section{Important notices}
-% 
+%
 % If the command to be patched contains `|@|-commands' in its
 % replacement text, \emph{always} ensure that the patching code is
 % enclosed between |\makeatletter| and |\makeatother|; this is
@@ -297,7 +298,7 @@
 %\end{verbatim}
 % that would become an astonishing
 %\begin{verbatim}
-% \expandafter\patchcmd\csname\expandafter\string\csname 
+% \expandafter\patchcmd\csname\expandafter\string\csname
 %   abx at macro@\detokenize{foo.bar}\endcsname\endcsname
 %   {and}{und}{}{}
 %\end{verbatim}
@@ -501,7 +502,7 @@
 % It's important to remember that patching commands that have |@| in
 % their name must \emph{always} be performed between |\makeatletter|
 % and |\makeatother|.
-% 
+%
 % \section{Examples}
 %
 % From \texttt{http://tex.stackexchange.com/a/42894}: the series
@@ -666,7 +667,7 @@
       }
     \tex_endinput:D
   }
-\RequirePackage{xparse,l3regex}
+\RequirePackage{xparse}
 %    \end{macrocode}
 %
 % \subsection{Variables}
@@ -1191,11 +1192,11 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn
      { abx at macro@ \tl_to_str:n {#2} } {#3}{#4}{#5}{#6}
    }
    {
-    \xpatch_main:Ncnnnn \xpatch_patchcmd_once:Nnnnn
+    \xpatch_main)four:Ncnnnn \xpatch_patchcmd_once:Nnnnn
      { abx at macro@ \tl_to_str:n {#2} } {#3}{#4}{#5}{#6}
    }
  }
@@ -1207,7 +1208,7 @@
      { abx at macro@ \tl_to_str:n {#2} } {#3}{#4}{#5}{#6}
    }
    {
-    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_once:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_once:Nnnnn
      { abx at macro@ \tl_to_str:n {#2} } {#3}{#4}{#5}{#6}
    }
  }
@@ -1241,6 +1242,7 @@
    { \exp_args:Nc \xpatch_regexpatchcmd_once:Nnnnn {blx at bbx@#2} {#3}{#4}{#5}{#6} }
  }
 %    \end{macrocode}
+% \changes{v0.2c}{2018/03/31}{Fixed wrong function name in \texttt{\protect\string\protect\xpatchbibmacro}}
 % \changes{v0.2a}{2015/05/20}{Fixed silly mistake}
 % Other \pkg{biblatex} related macros, added by request of the
 % maintainers.
@@ -1263,7 +1265,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn
      { abx at ffd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1275,7 +1277,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn
      { abx at ffd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1287,7 +1289,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn
      { abx at ffd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1299,7 +1301,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn
      { abx at ffd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1325,7 +1327,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn
      { abx at nfd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1337,7 +1339,7 @@
  {
   \IfBooleanTF{#1}
    {
-   \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn 
+   \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn
      { abx at nfd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1349,7 +1351,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn
      { abx at nfd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1361,7 +1363,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn
      { abx at nfd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1387,7 +1389,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn
      { abx at lfd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1399,7 +1401,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn
      { abx at lfd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1411,7 +1413,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn
      { abx at lfd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1423,7 +1425,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn
      { abx at lfd@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1449,7 +1451,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn
      { abx at fid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1461,7 +1463,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn
      { abx at fid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1473,7 +1475,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn
      { abx at fid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1485,7 +1487,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn
      { abx at fid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1511,7 +1513,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn
      { abx at nid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1523,7 +1525,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn
      { abx at nid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1535,7 +1537,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn
      { abx at nid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1547,7 +1549,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn
      { abx at nid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1573,7 +1575,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_pretocmd_all:Nnnn
      { abx at lid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1585,7 +1587,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn 
+    \xpatch_main_three:Ncnnn \xpatch_apptocmd_all:Nnnn
      { abx at lid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}
    }
    {
@@ -1597,7 +1599,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_patchcmd_all:Nnnnn
      { abx at lid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1609,7 +1611,7 @@
  {
   \IfBooleanTF{#1}
    {
-    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn 
+    \xpatch_main_four:Ncnnnn \xpatch_regexpatchcmd_all:Nnnnn
      { abx at lid@ \tl_to_str:n {#2} @ \tl_to_str:n {#3} } {#4}{#5}{#6}{#7}
    }
    {
@@ -1678,7 +1680,7 @@
    {
     \group_begin:
     \bool_set_true:N \l_xpatch_tracing_bool
-    \xpatch_message:n 
+    \xpatch_message:n
      {
       Macro~`\token_to_str:N #1'~ has~no~optional~argument~
       or~it~has~been~defined~with~`xparse'~and~operating~

Modified: trunk/Master/texmf-dist/source/latex/regexpatch/regexpatch.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/regexpatch/regexpatch.ins	2018-04-01 22:31:00 UTC (rev 47232)
+++ trunk/Master/texmf-dist/source/latex/regexpatch/regexpatch.ins	2018-04-01 22:31:14 UTC (rev 47233)
@@ -1,6 +1,6 @@
 \iffalse meta-comment
 
-File regexpatch.ins Copyright (C) 2012-2013 Enrico Gregorio
+File regexpatch.ins Copyright (C) 2012-2018 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/regexpatch/regexpatch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/regexpatch/regexpatch.sty	2018-04-01 22:31:00 UTC (rev 47232)
+++ trunk/Master/texmf-dist/tex/latex/regexpatch/regexpatch.sty	2018-04-01 22:31:14 UTC (rev 47233)
@@ -9,6 +9,7 @@
 %% Do not distribute this file without also distributing the
 %% source files specified above.
 %% 
+ % \iffalse meta-comment
 %% File: regexpatch.dtx (C) Copyright 2012-2016 Enrico Gregorio
 %%
 %% It may be distributed and/or modified under the conditions of the
@@ -24,7 +25,7 @@
 %% The released version of this bundle is available from CTAN.
 %%
 \RequirePackage{expl3}
-\GetIdInfo$Id: regexpatch.dtx 0.2b 2016-05-15 12:00:00Z Enrico $
+\GetIdInfo$Id: regexpatch.dtx 0.2c 2018-03-31 12:00:00Z Enrico $
           {Extending etoolbox patching commands}
 \ProvidesExplPackage
   {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
@@ -39,7 +40,7 @@
       }
     \tex_endinput:D
   }
-\RequirePackage{xparse,l3regex}
+\RequirePackage{xparse}
 \bool_new:N \l_xpatch_protect_bool
 \bool_new:N \l_xpatch_optional_bool
 \bool_new:N \l_xpatch_patchable_bool
@@ -419,7 +420,7 @@
      { abx at macro@ \tl_to_str:n {#2} } {#3}{#4}{#5}{#6}
    }
    {
-    \xpatch_main:Ncnnnn \xpatch_patchcmd_once:Nnnnn
+    \xpatch_main)four:Ncnnnn \xpatch_patchcmd_once:Nnnnn
      { abx at macro@ \tl_to_str:n {#2} } {#3}{#4}{#5}{#6}
    }
  }



More information about the tex-live-commits mailing list