diff options
author | Karl Berry <karl@freefriends.org> | 2022-05-31 19:45:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-05-31 19:45:21 +0000 |
commit | 9c6b4db391c5d4f8b94800929e0c9dd5c7faaeda (patch) | |
tree | e347b5e3cf48302dba1238525d82795094c1def1 /Master/texmf-dist | |
parent | 239cf9b4f7376e59672e1c6df16e3c4cf2cd4ef0 (diff) |
siunitx (31may22)
git-svn-id: svn://tug.org/texlive/trunk@63459 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf | bin | 617928 -> 618034 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/siunitx/siunitx.pdf | bin | 663039 -> 663038 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | 3 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 5 |
7 files changed, 15 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md index 28789f440fc..810f2805ae9 100644 --- a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md @@ -7,6 +7,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [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 @@ 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.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 diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf Binary files differindex 41fb8e8464e..94538d4f930 100644 --- a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf +++ b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf Binary files differindex 126c670133e..df22c1b862a 100644 --- a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf +++ b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx index f64fb851929..2f153d46864 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx @@ -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} } } diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index 49446acfa5a..9e03d6c4bfe 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-05-03} {3.1.1} +\ProvidesExplPackage {siunitx} {2022-05-31} {3.1.2} {A comprehensive (SI) units package} % \end{macrocode} % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.tex b/Master/texmf-dist/source/latex/siunitx/siunitx.tex index b10016c3b47..05c3e70ffa5 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.tex +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.tex @@ -1656,7 +1656,7 @@ conveys. The options are summarised in Table~\ref{tab:opt:num:out}. 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{ } \\ diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index 84db69f1966..6975e81ca55 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -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} } } |