diff options
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 2 |
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} % |