texlive[52411] Master/texmf-dist: skmath (16oct19)

commits+karl at tug.org commits+karl at tug.org
Wed Oct 16 22:56:14 CEST 2019


Revision: 52411
          http://tug.org/svn/texlive?view=revision&revision=52411
Author:   karl
Date:     2019-10-16 22:56:14 +0200 (Wed, 16 Oct 2019)
Log Message:
-----------
skmath (16oct19)

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	2019-10-16 20:55:44 UTC (rev 52410)
+++ trunk/Master/texmf-dist/doc/latex/skmath/README	2019-10-16 20:56:14 UTC (rev 52411)
@@ -17,7 +17,7 @@
 %% This work consists of the file skmath.tex
 %% and the derived file skmath.sty.
 
-This is version 0.5 of the skmath package, a package which provides
+This is version 0.5a 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	2019-10-16 20:55:44 UTC (rev 52410)
+++ trunk/Master/texmf-dist/source/latex/skmath/skmath.tex	2019-10-16 20:56:14 UTC (rev 52411)
@@ -58,7 +58,7 @@
 % This is where the documentation begins
 \begin{document}
   % Change & version info
-  \version{0.5}
+  \version{0.5a}
   \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}
@@ -72,6 +72,7 @@
   \changes{0.4a}{Replaced deprecated/removed \pkg{expl3} constructs}
   \changes{0.4b}{Track \pkg{expl3} changes (thanks to Joseph Wright)}
   \changes{0.5}{Added \cs{td} and \cs{ee}}
+  \changes{0.5a}{Track \pkg{expl3} changes (thanks to Phelype Oleinik)}
   % Don't forget to update the version number and release date of
   % the package declaration in the implementation!
 
@@ -305,6 +306,10 @@
         is due to the redifinition of \cs{sin} (and friends), which
         is incompatible with the original \pkg{amsmath} definition.
         This is a feature, not a bug.
+      \item[\#29] The spacing between operator names and parentheses
+        is typographically incorrect. A work-around until this is
+        fixed in \pkg{skmath} is to use the \cs{mleftright} macro from
+        \pkg{mleftright} to redefine \cs{left} and \cs{right}.
   \end{description}
 
   If you discover any bugs in this package, please report them to the issue
@@ -319,7 +324,7 @@
 \begin{MacroCode}{package}
 \RequirePackage{expl3,l3keys2e,xparse}
 \ProvidesExplPackage{skmath}
-    {2018/12/29}{0.5}{improved math commands}
+    {2019/10/15}{0.5a}{improved math commands}
 \PassOptionsToPackage{intlimits,sumlimits,namelimits}{amsmath}
 \RequirePackage{amssymb,mathtools,xfrac}
 \end{MacroCode}
@@ -818,7 +823,7 @@
     {Token or string}
 \begin{MacroCode}{package}
 \prg_new_conditional:Npnn\__skmath_if_numerical:n#1{p,T,F,TF}{
-  \str_case_x:nnTF{#1}{
+  \str_case_e:nnTF{#1}{
     {0}{}
     {1}{}
     {2}{}
@@ -848,7 +853,7 @@
   \clist_set:Nn\l_tmpa_clist{#1}
   \clist_map_inline:Nn\l_tmpa_clist{
     \seq_set_split:Nnn\l_tmpa_seq{^}{##1}
-    \int_compare:nT{\seq_count:N\l_tmpa_seq<\c_two}{
+    \int_compare:nT{\seq_count:N\l_tmpa_seq<2}{
       \seq_put_right:Nn\l_tmpa_seq{1}
     }
     \seq_get_right:NN\l_tmpa_seq\l_tmpb_tl
@@ -860,9 +865,9 @@
       \tl_put_right:Nx\l_tmpa_tl{\tl_use:N\l_tmpb_tl}
     }
   }
-  \int_compare:nT{\l_tmpa_int>\c_zero}{\int_use:N\l_tmpa_int}
+  \int_compare:nT{\l_tmpa_int>\c_zero_int}{\int_use:N\l_tmpa_int}
   \bool_if:NF\l_tmpa_bool{
-    \int_compare:nT{\l_tmpa_int>\c_zero}{+}
+    \int_compare:nT{\l_tmpa_int>\c_zero_int}{+}
     \tl_use:N\l_tmpa_tl
   }
 }
@@ -876,12 +881,12 @@
 \begin{MacroCode}{package}
 \prg_new_conditional:Npnn\__skmath_pd_if_vars_sum_above_one:n#1{p,T,F,TF}{
   \clist_set:Nn\l_tmpa_clist{#1}
-  \int_compare:nTF{\clist_count:N\l_tmpa_clist>\c_one}{
+  \int_compare:nTF{\clist_count:N\l_tmpa_clist>\c_one_int}{
     \prg_return_true:
   }{
     \clist_pop:NN\l_tmpa_clist\l_tmpa_tl
     \seq_set_split:NnV\l_tmpa_seq{^}{\l_tmpa_tl}
-    \int_compare:nTF{\seq_count:N\l_tmpa_seq<\c_two}{
+    \int_compare:nTF{\seq_count:N\l_tmpa_seq<2}{
       \prg_return_false:
     }{
       \prg_return_true:
@@ -920,8 +925,8 @@
   \clist_map_inline:Nn\l_tmpa_clist{
     \seq_set_split:Nnn\l_tmpa_seq{^}{##1}
     \seq_pop:NN\l_tmpa_seq\l_tmpa_tl
-    \int_set:Nn\l_tmpa_int{\c_one}
-    \int_compare:nT{\seq_count:N\l_tmpa_seq>\c_zero}{
+    \int_set:Nn\l_tmpa_int{\c_one_int}
+    \int_compare:nT{\seq_count:N\l_tmpa_seq>\c_zero_int}{
       \seq_pop:NN\l_tmpa_seq\l_tmpb_tl
       \int_set:Nn\l_tmpa_int{\tl_use:N\l_tmpb_tl}
     }

Modified: trunk/Master/texmf-dist/tex/latex/skmath/skmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/skmath/skmath.sty	2019-10-16 20:55:44 UTC (rev 52410)
+++ trunk/Master/texmf-dist/tex/latex/skmath/skmath.sty	2019-10-16 20:56:14 UTC (rev 52411)
@@ -20,7 +20,7 @@
 
 \RequirePackage{expl3,l3keys2e,xparse}
 \ProvidesExplPackage{skmath}
-    {2018/12/29}{0.5}{improved math commands}
+    {2019/10/15}{0.5a}{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!}
@@ -285,7 +285,7 @@
 \RenewDocumentCommand\frac{mm}{\genfrac{}{}{}{}%
              {\displaystyle #1}{\displaystyle #2}}
 \prg_new_conditional:Npnn\__skmath_if_numerical:n#1{p,T,F,TF}{
-  \str_case_x:nnTF{#1}{
+  \str_case_e:nnTF{#1}{
     {0}{}
     {1}{}
     {2}{}
@@ -307,7 +307,7 @@
   \clist_set:Nn\l_tmpa_clist{#1}
   \clist_map_inline:Nn\l_tmpa_clist{
     \seq_set_split:Nnn\l_tmpa_seq{^}{##1}
-    \int_compare:nT{\seq_count:N\l_tmpa_seq<\c_two}{
+    \int_compare:nT{\seq_count:N\l_tmpa_seq<2}{
       \seq_put_right:Nn\l_tmpa_seq{1}
     }
     \seq_get_right:NN\l_tmpa_seq\l_tmpb_tl
@@ -319,20 +319,20 @@
       \tl_put_right:Nx\l_tmpa_tl{\tl_use:N\l_tmpb_tl}
     }
   }
-  \int_compare:nT{\l_tmpa_int>\c_zero}{\int_use:N\l_tmpa_int}
+  \int_compare:nT{\l_tmpa_int>\c_zero_int}{\int_use:N\l_tmpa_int}
   \bool_if:NF\l_tmpa_bool{
-    \int_compare:nT{\l_tmpa_int>\c_zero}{+}
+    \int_compare:nT{\l_tmpa_int>\c_zero_int}{+}
     \tl_use:N\l_tmpa_tl
   }
 }
 \prg_new_conditional:Npnn\__skmath_pd_if_vars_sum_above_one:n#1{p,T,F,TF}{
   \clist_set:Nn\l_tmpa_clist{#1}
-  \int_compare:nTF{\clist_count:N\l_tmpa_clist>\c_one}{
+  \int_compare:nTF{\clist_count:N\l_tmpa_clist>\c_one_int}{
     \prg_return_true:
   }{
     \clist_pop:NN\l_tmpa_clist\l_tmpa_tl
     \seq_set_split:NnV\l_tmpa_seq{^}{\l_tmpa_tl}
-    \int_compare:nTF{\seq_count:N\l_tmpa_seq<\c_two}{
+    \int_compare:nTF{\seq_count:N\l_tmpa_seq<2}{
       \prg_return_false:
     }{
       \prg_return_true:
@@ -358,8 +358,8 @@
   \clist_map_inline:Nn\l_tmpa_clist{
     \seq_set_split:Nnn\l_tmpa_seq{^}{##1}
     \seq_pop:NN\l_tmpa_seq\l_tmpa_tl
-    \int_set:Nn\l_tmpa_int{\c_one}
-    \int_compare:nT{\seq_count:N\l_tmpa_seq>\c_zero}{
+    \int_set:Nn\l_tmpa_int{\c_one_int}
+    \int_compare:nT{\seq_count:N\l_tmpa_seq>\c_zero_int}{
       \seq_pop:NN\l_tmpa_seq\l_tmpb_tl
       \int_set:Nn\l_tmpa_int{\tl_use:N\l_tmpb_tl}
     }



More information about the tex-live-commits mailing list