summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-13 20:58:44 +0000
committerKarl Berry <karl@freefriends.org>2022-01-13 20:58:44 +0000
commit9ab74bc42f4dec6bc77857a29d4a2d9969c76f8a (patch)
tree909864a72180e37585f6fed5726a1e1ea5fb71d3 /Master/texmf-dist/source/latex/siunitx
parenta23370aa985dab90107baf2674cecce72e815d9e (diff)
siunitx (13jan22)
git-svn-id: svn://tug.org/texlive/trunk@61597 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx6
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx2
2 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
index 97600d5d4be..a7bd0b7e160 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
@@ -2848,7 +2848,11 @@
\prg_replicate:nn
{
\int_max:nn
- { 0 - ( \tl_count:n {#4} - \tl_count:n {#2} - #5 + 1 ) }
+ {
+ \tl_if_blank:nTF {#4}
+ { #5 }
+ { 0 - ( \tl_count:n {#4} - \tl_count:n {#2} - #5 + 1 ) }
+ }
{ 0 }
}
{ 0 }
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 2381945c380..35902e25c77 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -121,7 +121,7 @@
%
% Identify the package and give the over all version information.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2022-01-12} {3.0.40}
+\ProvidesExplPackage {siunitx} {2022-01-13} {3.0.41}
{A comprehensive (SI) units package}
% \end{macrocode}
%