From 9f6bac4b7884af8d5a457275e30fc5e253ff9de8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 8 Oct 2023 03:02:13 +0000 Subject: CTAN sync 202310080302 --- macros/latex/contrib/siunitx/CHANGELOG.md | 9 ++++++++- macros/latex/contrib/siunitx/siunitx-code.pdf | Bin 647898 -> 647636 bytes macros/latex/contrib/siunitx/siunitx-compound.dtx | 4 ++-- macros/latex/contrib/siunitx/siunitx-quantity.dtx | 7 ++++--- macros/latex/contrib/siunitx/siunitx.dtx | 2 +- macros/latex/contrib/siunitx/siunitx.pdf | Bin 705591 -> 705592 bytes 6 files changed, 15 insertions(+), 7 deletions(-) (limited to 'macros/latex/contrib/siunitx') diff --git a/macros/latex/contrib/siunitx/CHANGELOG.md b/macros/latex/contrib/siunitx/CHANGELOG.md index 5d7e746833..3e9be4b986 100644 --- a/macros/latex/contrib/siunitx/CHANGELOG.md +++ b/macros/latex/contrib/siunitx/CHANGELOG.md @@ -7,6 +7,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] +## [v3.3.7] - 2023-10-07 + +### Fixed +- Allow for empty exponent when combining exponents (see issue + [\#698](https://github.com/josephwright/siunitx/issues/698)) + ## [v3.3.6] - 2023-09-01 ### Fixed @@ -2019,7 +2025,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Added - First public testing release (as `si`) -[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.3.6...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.3.7...HEAD +[v3.3.7]: https://github.com/josephwright/siunitx/compare/v3.3.6...v3.3.7 [v3.3.6]: https://github.com/josephwright/siunitx/compare/v3.3.5...v3.3.6 [v3.3.5]: https://github.com/josephwright/siunitx/compare/v3.3.4...v3.3.5 [v3.3.4]: https://github.com/josephwright/siunitx/compare/v3.3.3...v3.3.4 diff --git a/macros/latex/contrib/siunitx/siunitx-code.pdf b/macros/latex/contrib/siunitx/siunitx-code.pdf index e6f9a48580..0e2b1d9aef 100644 Binary files a/macros/latex/contrib/siunitx/siunitx-code.pdf and b/macros/latex/contrib/siunitx/siunitx-code.pdf differ diff --git a/macros/latex/contrib/siunitx/siunitx-compound.dtx b/macros/latex/contrib/siunitx/siunitx-compound.dtx index 691ebf86c5..e6a2b67691 100644 --- a/macros/latex/contrib/siunitx/siunitx-compound.dtx +++ b/macros/latex/contrib/siunitx/siunitx-compound.dtx @@ -643,7 +643,7 @@ { drop-exponent = true , exponent-mode = fixed , - fixed-exponent = #6#7 + fixed-exponent = #6 0 #7 } } % \end{macrocode} @@ -778,7 +778,7 @@ { \@@_extract_exp:nnnnnnnN #1 #2 } \cs_generate_variant:Nn \@@_extract_exp:nN { V } \cs_new_protected:Npn \@@_extract_exp:nnnnnnnN #1#2#3#4#5#6#7#8 - { \fp_set:Nn #8 {#6#7} } + { \fp_set:Nn #8 { #6 0 #7 } } % \end{macrocode} % \end{macro} % \end{macro} diff --git a/macros/latex/contrib/siunitx/siunitx-quantity.dtx b/macros/latex/contrib/siunitx/siunitx-quantity.dtx index a89ee78682..d8e71d7f22 100644 --- a/macros/latex/contrib/siunitx/siunitx-quantity.dtx +++ b/macros/latex/contrib/siunitx/siunitx-quantity.dtx @@ -357,16 +357,17 @@ % \begin{macro}{\@@_extract_exp:nNN, \@@_extract_exp:VNN} % \begin{macro}{\@@_extract_exp:nnnnnnnNN} % To extract the exponent part for a combined prefix, we decompose the value -% and remove it. +% and remove it. As the exponent part may be entirely empty, we add a filler +% zero. % \begin{macrocode} \cs_new_protected:Npn \@@_extract_exp:nNN #1#2#3 { \@@_extract_exp:nnnnnnnNN #1 #2 #3 } \cs_generate_variant:Nn \@@_extract_exp:nNN { V } \cs_new_protected:Npn \@@_extract_exp:nnnnnnnNN #1#2#3#4#5#6#7#8#9 { - \fp_set:Nn #8 {#6#7} + \fp_set:Nn #8 { #6 0#7 } \tl_set:Nx #9 - { {#1} {#2} {#3} {#4} {#5} { } { 0 } } + { {#1} {#2} {#3} {#4} {#5} { } { } } } % \end{macrocode} % \end{macro} diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx index dee6c48699..88f313ab7f 100644 --- a/macros/latex/contrib/siunitx/siunitx.dtx +++ b/macros/latex/contrib/siunitx/siunitx.dtx @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2023-09-01} {3.3.6} +\ProvidesExplPackage {siunitx} {2023-10-07} {3.3.7} {A comprehensive (SI) units package} % \end{macrocode} % diff --git a/macros/latex/contrib/siunitx/siunitx.pdf b/macros/latex/contrib/siunitx/siunitx.pdf index 84048f928d..59e098502a 100644 Binary files a/macros/latex/contrib/siunitx/siunitx.pdf and b/macros/latex/contrib/siunitx/siunitx.pdf differ -- cgit v1.2.3