diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-07 03:02:46 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-07 03:02:46 +0000 |
commit | 02646b6e89ef69971235e0c883e86fd746955e2b (patch) | |
tree | 203df1a9b40b37e9452e03d936e392da7d03c7af /macros/latex/contrib/siunitx/siunitx-number.dtx | |
parent | 240fd5fe8af67337e240c10434af4834fc86278f (diff) |
CTAN sync 202311070302
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx-number.dtx')
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx-number.dtx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx-number.dtx b/macros/latex/contrib/siunitx/siunitx-number.dtx index 2218e61022..04b302cf51 100644 --- a/macros/latex/contrib/siunitx/siunitx-number.dtx +++ b/macros/latex/contrib/siunitx/siunitx-number.dtx @@ -1777,7 +1777,7 @@ % \begin{macro} % { % \@@_parse_uncert_marker:nnnnnnN , -% \@@_parse_uncert_marker:xnnnnnN +% \@@_parse_uncert_marker:ennnnnN % } % \begin{macro}{\@@_parse_uncert_after:N} % Parsing a combined uncertainty has a very restricted range of allowed @@ -1954,7 +1954,7 @@ } \cs_new_protected:Npn \@@_parse_uncert_marker:nnnnnN #1#2#3#4#5#6 { - \@@_parse_uncert_marker:xnnnnnN + \@@_parse_uncert_marker:ennnnnN { \int_eval:n { \tl_count:n {#4} } } {#1} {#2} {#3} {#4} {#5} #6 } @@ -1990,7 +1990,7 @@ } #5#6#7 } -\cs_generate_variant:Nn \@@_parse_uncert_marker:nnnnnnN { x } +\cs_generate_variant:Nn \@@_parse_uncert_marker:nnnnnnN { e } % \end{macrocode} % At the end of collection, we can either start another one or be done: % either way we move the data around. @@ -4148,7 +4148,11 @@ { ! \str_if_eq_p:nn { #1 . #2 } { 1. } } { \bool_lazy_and_p:nn - { \str_if_eq_p:nn {#3} { 0 } } + { + \bool_lazy_or_p:nn + { \tl_if_blank_p:n {#3} } + { \str_if_eq_p:nn {#3} { 0 } } + } { ! \l_@@_zero_exponent_bool } } { |