texlive[41540] Master/texmf-dist: skmath (25jun16)

commits+karl at tug.org commits+karl at tug.org
Sun Jun 26 00:11:07 CEST 2016


Revision: 41540
          http://tug.org/svn/texlive?view=revision&revision=41540
Author:   karl
Date:     2016-06-26 00:11:07 +0200 (Sun, 26 Jun 2016)
Log Message:
-----------
skmath (25jun16)

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

Modified: trunk/Master/texmf-dist/doc/latex/skmath/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/skmath/README	2016-06-25 22:10:57 UTC (rev 41539)
+++ trunk/Master/texmf-dist/doc/latex/skmath/README	2016-06-25 22:11:07 UTC (rev 41540)
@@ -1,6 +1,6 @@
 %% skmath improved math commands
 %%
-%% Copyright (C) 2012-2015 by Simon Sigurdhsson <sigurdhsson at gmail.com>
+%% Copyright (C) 2012-2016 by Simon Sigurdhsson <sigurdhsson at gmail.com>
 %%
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -17,7 +17,7 @@
 %% This work consists of the file skmath.tex
 %% and the derived file skmath.sty.
 
-This is version 0.4 of the skmath package, a package which provides
+This is version 0.4a of the skmath package, a package which provides
 improved and new math commands for superior typesetting with lower effort.
 
 The following files are enclosed.

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

Modified: trunk/Master/texmf-dist/source/latex/skmath/skmath.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/skmath/skmath.tex	2016-06-25 22:10:57 UTC (rev 41539)
+++ trunk/Master/texmf-dist/source/latex/skmath/skmath.tex	2016-06-25 22:11:07 UTC (rev 41540)
@@ -1,6 +1,6 @@
 %% skmath improved math commands
 %%
-%% Copyright (C) 2012-2015 by Simon Sigurdhsson <sigurdhsson at gmail.com>
+%% Copyright (C) 2012-2016 by Simon Sigurdhsson <sigurdhsson at gmail.com>
 %%
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -56,7 +56,7 @@
 % This is where the documentation begins
 \begin{document}
   % Change & version info
-  \version{0.4}
+  \version{0.4a}
   \changes{0.1}{Initial version}
   \changes{0.1c}{Moved package from \pkg{docstrip} to \pkg{skdoc}}
   \changes{0.1d}{Fixed fatal documentation and package errors}
@@ -67,6 +67,7 @@
   \changes{0.3a}{Added \cs{sinh}, \cs{cosh} and \cs{tanh}}
   \changes{0.3b}{Detect empty arguments in trigonometric and logarithmic functions, fix \cs{ln}}
   \changes{0.4}{Added \opt{notation} option, macros for complex numbers}
+  \changes{0.4a}{Replaced deprecated/removed \pkg{expl3} constructs}
   % Don't forget to update the version number and release date of
   % the package declaration in the implementation!
 
@@ -301,7 +302,7 @@
 \begin{MacroCode}{package}
 \RequirePackage{expl3,l3keys2e,xparse}
 \ProvidesExplPackage{skmath}
-    {2015/01/05}{0.4}{improved math commands}
+    {2016/06/25}{0.4a}{improved math commands}
 \PassOptionsToPackage{intlimits,sumlimits,namelimits}{amsmath}
 \RequirePackage{amssymb,mathtools,xfrac}
 \end{MacroCode}
@@ -784,18 +785,20 @@
     {Token or string}
 \begin{MacroCode}{package}
 \prg_new_conditional:Npnn\__skmath_if_numerical:n#1{p,T,F,TF}{
-  \str_case_x:nnn{#1}{
-    {0}{\prg_return_true:}
-    {1}{\prg_return_true:}
-    {2}{\prg_return_true:}
-    {3}{\prg_return_true:}
-    {4}{\prg_return_true:}
-    {5}{\prg_return_true:}
-    {6}{\prg_return_true:}
-    {7}{\prg_return_true:}
-    {8}{\prg_return_true:}
-    {9}{\prg_return_true:}
-  }{\prg_return_false:}
+  \str_case_x:nnTF{#1}{
+    {0}{}
+    {1}{}
+    {2}{}
+    {3}{}
+    {4}{}
+    {5}{}
+    {6}{}
+    {7}{}
+    {8}{}
+    {9}{}
+  }
+  {\prg_return_false:}
+  {\prg_return_false:}
 }
 \end{MacroCode}
   \end{macro*}

Modified: trunk/Master/texmf-dist/tex/latex/skmath/skmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/skmath/skmath.sty	2016-06-25 22:10:57 UTC (rev 41539)
+++ trunk/Master/texmf-dist/tex/latex/skmath/skmath.sty	2016-06-25 22:11:07 UTC (rev 41540)
@@ -1,7 +1,7 @@
 %% This is file `skmath.sty', generated from `skmath.tex' (key `package').
 %% skmath improved math commands
 %%
-%% Copyright (C) 2012-2015 by Simon Sigurdhsson <sigurdhsson at gmail.com>
+%% Copyright (C) 2012-2016 by Simon Sigurdhsson <sigurdhsson at gmail.com>
 %%
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -20,7 +20,7 @@
 
 \RequirePackage{expl3,l3keys2e,xparse}
 \ProvidesExplPackage{skmath}
-    {2015/01/05}{0.4}{improved math commands}
+    {2016/06/25}{0.4a}{improved math commands}
 \PassOptionsToPackage{intlimits,sumlimits,namelimits}{amsmath}
 \RequirePackage{amssymb,mathtools,xfrac}
 \msg_new:nnnn{skmath}{undefined-macro}{The~macro~`\token_to_str:N#1'~was~undefined!}
@@ -272,18 +272,20 @@
 \RenewDocumentCommand\frac{mm}{\genfrac{}{}{}{}%
              {\displaystyle #1}{\displaystyle #2}}
 \prg_new_conditional:Npnn\__skmath_if_numerical:n#1{p,T,F,TF}{
-  \str_case_x:nnn{#1}{
-    {0}{\prg_return_true:}
-    {1}{\prg_return_true:}
-    {2}{\prg_return_true:}
-    {3}{\prg_return_true:}
-    {4}{\prg_return_true:}
-    {5}{\prg_return_true:}
-    {6}{\prg_return_true:}
-    {7}{\prg_return_true:}
-    {8}{\prg_return_true:}
-    {9}{\prg_return_true:}
-  }{\prg_return_false:}
+  \str_case_x:nnTF{#1}{
+    {0}{}
+    {1}{}
+    {2}{}
+    {3}{}
+    {4}{}
+    {5}{}
+    {6}{}
+    {7}{}
+    {8}{}
+    {9}{}
+  }
+  {\prg_return_false:}
+  {\prg_return_false:}
 }
 \cs_new_nopar:Npn\__skmath_pd_vars_sum:n#1{
   \tl_clear:N\l_tmpa_tl



More information about the tex-live-commits mailing list