texlive[63964] Master/texmf-dist: siunitx (23jul22)
commits+karl at tug.org
commits+karl at tug.org
Sat Jul 23 23:39:21 CEST 2022
Revision: 63964
http://tug.org/svn/texlive?view=revision&revision=63964
Author: karl
Date: 2022-07-23 23:39:20 +0200 (Sat, 23 Jul 2022)
Log Message:
-----------
siunitx (23jul22)
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/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-07-23 21:38:51 UTC (rev 63963)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md 2022-07-23 21:39:20 UTC (rev 63964)
@@ -7,12 +7,17 @@
## [Unreleased]
+## [v3.1.5] - 2022-07-23
+
+### Fixed
+- Rounding to figures with a trailing zero and non-zero integer part (see issue
+ [\#615](https://github.com/josephwright/siunitx/issues/615))
+
## [v3.1.4] - 2022-06-22
-
### Fixed
- Spacing of `\arcminute` and `\arcsecond` in quantities (see issue
- [\#6048(https://github.com/josephwright/siunitx/issues/608))
+ [\#608](https://github.com/josephwright/siunitx/issues/608))
## [v3.1.3] - 2022-06-07
@@ -1793,7 +1798,8 @@
### Added
- First public testing release (as `si`)
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.1.4...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.1.5...HEAD
+[v3.1.5]: https://github.com/josephwright/siunitx/compare/v3.1.4...v3.1.5
[v3.1.4]: https://github.com/josephwright/siunitx/compare/v3.1.3...v3.1.4
[v3.1.3]: https://github.com/josephwright/siunitx/compare/v3.1.2...v3.1.3
[v3.1.2]: https://github.com/josephwright/siunitx/compare/v3.1.1...v3.1.2
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-07-23 21:38:51 UTC (rev 63963)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx 2022-07-23 21:39:20 UTC (rev 63964)
@@ -2660,8 +2660,17 @@
{
\int_compare:nNnTF {#3} = 0
{
- \@@_round_final_decimal:nnw
- {#1} { 1 \@@_round_truncate:n {#2} }
+ \bool_lazy_or:nnTF
+ { \tl_if_blank_p:n {#1} }
+ { \int_compare_p:nNn {#1} = { 0 } }
+ {
+ \@@_round_final_decimal:nnw
+ {#1} { 1 \@@_round_truncate:n {#2} }
+ }
+ {
+ \@@_round_final_decimal:nnw
+ {#1} { 1 #2 }
+ }
}
{
\@@_round_final:fn
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2022-07-23 21:38:51 UTC (rev 63963)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2022-07-23 21:39:20 UTC (rev 63964)
@@ -121,7 +121,7 @@
%
% Identify the package and give the over all version information.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2022-06-22} {3.1.4}
+\ProvidesExplPackage {siunitx} {2022-07-23} {3.1.5}
{A comprehensive (SI) units package}
% \end{macrocode}
%
Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty 2022-07-23 21:38:51 UTC (rev 63963)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty 2022-07-23 21:39:20 UTC (rev 63964)
@@ -42,7 +42,7 @@
}%
\endinput
}%
-\ProvidesExplPackage {siunitx} {2022-06-22} {3.1.4}
+\ProvidesExplPackage {siunitx} {2022-07-23} {3.1.5}
{A comprehensive (SI) units package}
\msg_new:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -2985,8 +2985,17 @@
{
\int_compare:nNnTF {#3} = 0
{
- \__siunitx_number_round_final_decimal:nnw
- {#1} { 1 \__siunitx_number_round_truncate:n {#2} }
+ \bool_lazy_or:nnTF
+ { \tl_if_blank_p:n {#1} }
+ { \int_compare_p:nNn {#1} = { 0 } }
+ {
+ \__siunitx_number_round_final_decimal:nnw
+ {#1} { 1 \__siunitx_number_round_truncate:n {#2} }
+ }
+ {
+ \__siunitx_number_round_final_decimal:nnw
+ {#1} { 1 #2 }
+ }
}
{
\__siunitx_number_round_final:fn
More information about the tex-live-commits
mailing list.