From d3f5e8a258263f321cd3c9dbbb72951ad0ab9efe Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 16 Oct 2019 20:56:14 +0000 Subject: skmath (16oct19) git-svn-id: svn://tug.org/texlive/trunk@52411 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/skmath/skmath.sty | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/skmath/skmath.sty b/Master/texmf-dist/tex/latex/skmath/skmath.sty index e856f324f67..94d5daad8c7 100644 --- a/Master/texmf-dist/tex/latex/skmath/skmath.sty +++ b/Master/texmf-dist/tex/latex/skmath/skmath.sty @@ -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} } -- cgit v1.2.3