texlive[52641] Master/texmf-dist: withargs (4nov19)

commits+karl at tug.org commits+karl at tug.org
Mon Nov 4 23:17:41 CET 2019


Revision: 52641
          http://tug.org/svn/texlive?view=revision&revision=52641
Author:   karl
Date:     2019-11-04 23:17:41 +0100 (Mon, 04 Nov 2019)
Log Message:
-----------
withargs (4nov19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/withargs/README
    trunk/Master/texmf-dist/doc/latex/withargs/withargs.pdf
    trunk/Master/texmf-dist/doc/latex/withargs/withargs.tex
    trunk/Master/texmf-dist/tex/latex/withargs/withargs.sty

Modified: trunk/Master/texmf-dist/doc/latex/withargs/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/withargs/README	2019-11-04 22:17:11 UTC (rev 52640)
+++ trunk/Master/texmf-dist/doc/latex/withargs/README	2019-11-04 22:17:41 UTC (rev 52641)
@@ -1,6 +1,6 @@
-LaTeX Package : withargs 0.2.0
+LaTeX Package : withargs 0.3.1
 
-Last Modified : 2016-12-19
+Last Modified : 2019-11-04
 
 Author        : Michiel Helvensteijn  (www.mhelvens.net)
 

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

Modified: trunk/Master/texmf-dist/doc/latex/withargs/withargs.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/withargs/withargs.tex	2019-11-04 22:17:11 UTC (rev 52640)
+++ trunk/Master/texmf-dist/doc/latex/withargs/withargs.tex	2019-11-04 22:17:41 UTC (rev 52641)
@@ -30,6 +30,20 @@
 	withargs:nn,withargs:cn
 }
 
+% Ugly hack, because of the unfortunate deprecation of 'n' to 'c' conversion,
+% plus the fact that kernel errors, even non-fatal ones, cannot be redirected.
+% Will think of a better solution at some point, but not now.
+\ExplSyntaxOn
+\let\__withargs_docs_old_kernel_msg_error:nnnnnn\__kernel_msg_error:nnnnnn
+\def\__kernel_msg_error:nnnnnn#1#2{
+  \str_if_eq:nnTF { #1/#2 } { kernel/deprecated-variant }{
+    \__kernel_msg_warning:nnnnnn{#1}{#2}
+  }{
+    \__withargs_docs_old_kernel_msg_error:nnnnnn{#1}{#2}
+  }
+}
+\ExplSyntaxOff
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Global Changes                                                               %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -46,6 +60,9 @@
 \changes{0.2.0}{2016/12/19}
   {adjusted code to new version of expl3}
 
+\changes{0.3.1}{2019/11/04}
+  {adjusted code to new version of expl3}
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \begin{document}                                                               %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/Master/texmf-dist/tex/latex/withargs/withargs.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/withargs/withargs.sty	2019-11-04 22:17:11 UTC (rev 52640)
+++ trunk/Master/texmf-dist/tex/latex/withargs/withargs.sty	2019-11-04 22:17:41 UTC (rev 52641)
@@ -17,7 +17,7 @@
 %                                                                              %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%%
 
-% \CheckSum{117}
+% \CheckSum{116}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -46,7 +46,7 @@
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\ProvidesExplPackage{withargs}{2016/12/19}{0.2.0}
+\ProvidesExplPackage{withargs}{2019/11/04}{0.3.1}
   {an inline construct for passing token lists as TeX parameters}
 %    \end{macrocode}
 %
@@ -66,7 +66,6 @@
 %  
 %    \begin{macrocode}
 \RequirePackage{xparse}
-\RequirePackage{l3regex}
 %    \end{macrocode}
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex-live-commits mailing list