texlive[63459] Master/texmf-dist: siunitx (31may22)
commits+karl at tug.org
commits+karl at tug.org
Tue May 31 21:45:22 CEST 2022
Revision: 63459
http://tug.org/svn/texlive?view=revision&revision=63459
Author: karl
Date: 2022-05-31 21:45:21 +0200 (Tue, 31 May 2022)
Log Message:
-----------
siunitx (31may22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex
trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
Modified: trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md 2022-05-31 19:45:07 UTC (rev 63458)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md 2022-05-31 19:45:21 UTC (rev 63459)
@@ -7,6 +7,12 @@
## [Unreleased]
+## [v3.1.2] - 2022-05-31
+
+### Fixed
+- Correct sign when fixing a negative exponent (see issue
+ [\#602](https://github.com/josephwright/siunitx/issues/602))
+
## [v3.1.1] - 2022-05-03
### Changed
@@ -1774,7 +1780,8 @@
### Added
- First public testing release (as `si`)
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.1.1...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.1.2...HEAD
+[v3.1.2]: https://github.com/josephwright/siunitx/compare/v3.1.1...v3.1.2
[v3.1.1]: https://github.com/josephwright/siunitx/compare/v3.1.0...v3.1.1
[v3.1.0]: https://github.com/josephwright/siunitx/compare/v3.0.50...v3.1.0
[v3.0.50]: https://github.com/josephwright/siunitx/compare/v3.0.49...v3.0.50
Modified: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx 2022-05-31 19:45:07 UTC (rev 63458)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx 2022-05-31 19:45:21 UTC (rev 63459)
@@ -2042,7 +2042,8 @@
\exp_not:n { {#2} {#3} }
\@@_exponent_shift:nnn {#1} {#4} {#5}
\@@_exponent_uncert:n {#6}
- \exp_not:n { {#7} } { \int_use:N \l_@@_exponent_fixed_int }
+ { \int_compare:nNnT \l_@@_exponent_fixed_int < 0 { - } }
+ { \int_abs:n \l_@@_exponent_fixed_int }
}
\cs_new:Npn \@@_exponent_input:nnnnnnn #1#2#3#4#5#6#7
{ \exp_not:n { {#1} {#2} {#3} {#4} {#5} {#6} {#7} } }
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2022-05-31 19:45:07 UTC (rev 63458)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2022-05-31 19:45:21 UTC (rev 63459)
@@ -121,7 +121,7 @@
%
% Identify the package and give the over all version information.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2022-05-03} {3.1.1}
+\ProvidesExplPackage {siunitx} {2022-05-31} {3.1.2}
{A comprehensive (SI) units package}
% \end{macrocode}
%
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex 2022-05-31 19:45:07 UTC (rev 63458)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex 2022-05-31 19:45:21 UTC (rev 63459)
@@ -1656,7 +1656,7 @@
print-implicit-plus & Switch & false \\
print-unity-mantissa & Switch & true \\
print-zero-exponent & Switch & false \\
- print-zero-integer & Switch & false \\
+ print-zero-integer & Switch & true \\
tight-spacing & Switch & false \\
uncertainty-descriptor-mode & Choice & bracket-separator \\
uncertainty-descriptor-separator & Literal & \cs{ } \\
Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty 2022-05-31 19:45:07 UTC (rev 63458)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty 2022-05-31 19:45:21 UTC (rev 63459)
@@ -42,7 +42,7 @@
}%
\endinput
}%
-\ProvidesExplPackage {siunitx} {2022-05-03} {3.1.1}
+\ProvidesExplPackage {siunitx} {2022-05-31} {3.1.2}
{A comprehensive (SI) units package}
\msg_new:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -2532,7 +2532,8 @@
\exp_not:n { {#2} {#3} }
\__siunitx_number_exponent_shift:nnn {#1} {#4} {#5}
\__siunitx_number_exponent_uncert:n {#6}
- \exp_not:n { {#7} } { \int_use:N \l__siunitx_number_exponent_fixed_int }
+ { \int_compare:nNnT \l__siunitx_number_exponent_fixed_int < 0 { - } }
+ { \int_abs:n \l__siunitx_number_exponent_fixed_int }
}
\cs_new:Npn \__siunitx_number_exponent_input:nnnnnnn #1#2#3#4#5#6#7
{ \exp_not:n { {#1} {#2} {#3} {#4} {#5} {#6} {#7} } }
More information about the tex-live-commits
mailing list.