summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/skmath
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-17 03:01:04 +0000
committerNorbert Preining <norbert@preining.info>2019-10-17 03:01:04 +0000
commit4b52b3987478d3197855edc2e7e24276fc2c3cb3 (patch)
tree881f845b0e30331ce74c758b8449577459cb1747 /macros/latex/contrib/skmath
parentd2f68b646eb0ca42dcb488171a6e36ea3da68a5d (diff)
CTAN sync 201910170301
Diffstat (limited to 'macros/latex/contrib/skmath')
-rw-r--r--macros/latex/contrib/skmath/Makefile14
-rw-r--r--macros/latex/contrib/skmath/README2
-rw-r--r--macros/latex/contrib/skmath/skmath.pdfbin283968 -> 304439 bytes
-rw-r--r--macros/latex/contrib/skmath/skmath.tex25
4 files changed, 28 insertions, 13 deletions
diff --git a/macros/latex/contrib/skmath/Makefile b/macros/latex/contrib/skmath/Makefile
index 2eb81ad8e6..9c29d61894 100644
--- a/macros/latex/contrib/skmath/Makefile
+++ b/macros/latex/contrib/skmath/Makefile
@@ -1,3 +1,13 @@
+ZIP_NOATTRS :=
+ifeq ($(shell uname -s),Darwin)
+ ZIP_NOATTRS += -X
+endif
+
+TAR_NOATTRS :=
+ifeq ($(shell uname -s),Darwin)
+ TAR_NOATTRS += --disable-copyfile
+endif
+
TEXMFHOME ?= $(shell kpsewhich -var-value TEXMFHOME)
.PHONY: all clean distclean install dist test clean-test
all: skmath.tex skmath.pdf skmath.sty README
@@ -36,7 +46,7 @@ skmath.tds.zip: all
mkdir -p skmath/source/latex/skmath
cp skmath.tex skmath/source/latex/skmath/skmath.tex
cp README skmath/doc/latex/skmath/README
- cd skmath && zip -r ../skmath.tds.zip *
+ cd skmath && zip $(ZIP_NOATTRS) -r ../skmath.tds.zip *
rm -rf skmath
skmath.tar.gz: all skmath.tds.zip
@@ -45,7 +55,7 @@ skmath.tar.gz: all skmath.tds.zip
cp skmath.pdf skmath/skmath.pdf
cp README skmath/README
cp Makefile skmath/Makefile
- tar -czf $@ skmath skmath.tds.zip
+ tar $(TAR_NOATTRS) -czf $@ skmath skmath.tds.zip
rm -rf skmath
dist: skmath.tar.gz
diff --git a/macros/latex/contrib/skmath/README b/macros/latex/contrib/skmath/README
index 6c27ea912e..a5f1ea7c35 100644
--- a/macros/latex/contrib/skmath/README
+++ b/macros/latex/contrib/skmath/README
@@ -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.
diff --git a/macros/latex/contrib/skmath/skmath.pdf b/macros/latex/contrib/skmath/skmath.pdf
index 170c185bd5..b2ea462be5 100644
--- a/macros/latex/contrib/skmath/skmath.pdf
+++ b/macros/latex/contrib/skmath/skmath.pdf
Binary files differ
diff --git a/macros/latex/contrib/skmath/skmath.tex b/macros/latex/contrib/skmath/skmath.tex
index 424e795f6b..d65e2a0887 100644
--- a/macros/latex/contrib/skmath/skmath.tex
+++ b/macros/latex/contrib/skmath/skmath.tex
@@ -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 @@ We optionally load \pkg{isomath}, depending on notation style.
{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 @@ We optionally load \pkg{isomath}, depending on notation style.
\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 @@ We optionally load \pkg{isomath}, depending on notation style.
\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 @@ We optionally load \pkg{isomath}, depending on notation style.
\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 @@ We optionally load \pkg{isomath}, depending on notation style.
\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}
}