diff options
author | Karl Berry <karl@freefriends.org> | 2024-04-12 21:45:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-04-12 21:45:49 +0000 |
commit | 091c827be3210f22240ccaddbc70f36cee788bb1 (patch) | |
tree | a02dbaab26b8dfb9bacfbc7358543035f8102548 | |
parent | 5ef50ed1e00c96d7538682b49b49d77fe81a8af1 (diff) |
siunitx (12apr24)
git-svn-id: svn://tug.org/texlive/trunk@70929 c570f23f-e606-0410-a88d-b1316a301751
23 files changed, 53 insertions, 48 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md index 2c9d384bf93..87c775ca83a 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.3.13] - 2024-04-12 + +### Fixed +- Minimum digits in uncertainties under some circumstances (see issue + [\#725](https://github.com/josephwright/siunitx/issues/725)) + ## [v3.3.12] - 2024-02-15 ### Fixed @@ -2080,7 +2086,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.12...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.3.13...HEAD +[v3.3.13]: https://github.com/josephwright/siunitx/compare/v3.3.12...v3.3.13 [v3.3.12]: https://github.com/josephwright/siunitx/compare/v3.3.11...v3.3.12 [v3.3.11]: https://github.com/josephwright/siunitx/compare/v3.3.10...v3.3.11 [v3.3.10]: https://github.com/josephwright/siunitx/compare/v3.3.9...v3.3.10 diff --git a/Master/texmf-dist/doc/latex/siunitx/README.md b/Master/texmf-dist/doc/latex/siunitx/README.md index 9b5881aead7..9619de2d6b1 100644 --- a/Master/texmf-dist/doc/latex/siunitx/README.md +++ b/Master/texmf-dist/doc/latex/siunitx/README.md @@ -17,8 +17,8 @@ ability to control tabular alignment of numbers. ## Author -This package is maintained by Joseph Wright: joseph.wright@morningstar2.co.uk +This package is maintained by Joseph Wright: joseph@texdev.net ## License -Released under the LaTeX Project Public License v1.3c or later. See https://www.latex-project.org/lppl.txt
\ No newline at end of file +Released under the LaTeX Project Public License v1.3c or later. See https://www.latex-project.org/lppl.txt 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 71adbfb38c1..cf002514278 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 3d70a9723bb..8bd9cefb62c 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-abbreviation.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-abbreviation.dtx index 2d4e60e1d45..f1235463899 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-abbreviation.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-abbreviation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-abbreviation.dtx Copyright (C) 2018,2019,2021-2023 Joseph Wright +% File: siunitx-abbreviation.dtx Copyright (C) 2018,2019,2021-2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -49,7 +49,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx index 7b2b012e13a..ac933f46364 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-angle.dtx Copyright (C) 2016-2019,2021-2023 Joseph Wright +% File: siunitx-angle.dtx Copyright (C) 2016-2019,2021-2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -50,7 +50,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-binary.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-binary.dtx index bcb643808e4..04e18e6e069 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-binary.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-binary.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-binary.dtx Copyright (C) 2021,2023 Joseph Wright +% File: siunitx-binary.dtx Copyright (C) 2021,2023,2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -49,7 +49,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-code.tex b/Master/texmf-dist/source/latex/siunitx/siunitx-code.tex index a0a4319e236..f392a6178f9 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-code.tex +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-code.tex @@ -1,6 +1,6 @@ \iffalse meta-comment -File: siunitx-code.tex Copyright (C) 2016-2023 Joseph Wright +File: siunitx-code.tex Copyright (C) 2016-2024 Joseph Wright It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -68,7 +68,7 @@ for those people who are interested. Joseph Wright% \thanks{% E-mail: - \email{joseph.wright@morningstar2.co.uk}% + \email{joseph@texdev.net}% }% } diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx index a862676ade2..49b513bbbd0 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-command.dtx Copyright (C) 2019,2021,2023 Joseph Wright +% File: siunitx-command.dtx Copyright (C) 2019,2021,2023,2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -50,7 +50,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx index 644aa9c095a..2ff86391c2a 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-complex.dtx Copyright (C) 2021-2023 Joseph Wright +% File: siunitx-complex.dtx Copyright (C) 2021-2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -50,7 +50,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx index a6f1ccac76a..ec5a6805167 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx @@ -50,7 +50,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx index 4d82d7b426c..8909d2994f9 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-emulation.dtx Copyright (C) 2016-2019,2021-2023 Joseph Wright +% File: siunitx-emulation.dtx Copyright (C) 2016-2019,2021-2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -49,7 +49,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-locale.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-locale.dtx index da12029bc9e..fd751286120 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-locale.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-locale.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-locale.dtx Copyright (C) 2020-2023 Joseph Wright +% File: siunitx-locale.dtx Copyright (C) 2020-2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -49,7 +49,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx index 8c94cefee49..cfa4a03e259 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx @@ -50,7 +50,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % @@ -2703,13 +2703,12 @@ \cs_new:Npn \@@_digits_uncert_aux:nn #1#2 { \exp_not:n {#2} - \@@_digits:nn + \int_compare:nNnT + { \l_@@_min_decimal_int - \tl_count:n {#1} } > 0 { - \int_max:nn - { 0 } - { \l_@@_min_decimal_int - \tl_count:n {#1} + 1 } + \prg_replicate:nn + { \l_@@_min_decimal_int - \tl_count:n {#1} } { 0 } } - {#2} } \cs_new:Npn \@@_digits_uncert:nN #1#2 { diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx index 9cc2e6aca25..7a8224c0753 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx @@ -50,7 +50,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx index b9c7e107bb2..9e3c14ffaf0 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-quantity.dtx Copyright (C) 2018-2023 Joseph Wright +% File: siunitx-quantity.dtx Copyright (C) 2018-2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -50,7 +50,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx index c5ec0c39ce6..7428d39dc4e 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-symbol.dtx Copyright (C) 2018-2023 Joseph Wright +% File: siunitx-symbol.dtx Copyright (C) 2018-2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -49,7 +49,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx index f900c741f8c..5de8f0b6030 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx-table.dtx Copyright (C) 2016-2019,2021-2023 Joseph Wright +% File: siunitx-table.dtx Copyright (C) 2016-2019,2021-2024 Joseph Wright % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -50,7 +50,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx index 6c0210cec11..2c9c1efb138 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx @@ -64,7 +64,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index bd231a50f7e..0d79cd5fde1 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -49,7 +49,7 @@ % Joseph Wright^^A % \thanks{^^A % E-mail: -% \email{joseph.wright@morningstar2.co.uk}^^A +% \email{joseph@texdev.net}^^A % }^^A % } % @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2024-02-15} {3.3.12} +\ProvidesExplPackage {siunitx} {2024-04-12} {3.3.13} {A comprehensive (SI) units package} % \end{macrocode} % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.ins b/Master/texmf-dist/source/latex/siunitx/siunitx.ins index b2a35b2d4ee..f03c6e745b8 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.ins +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.ins @@ -1,6 +1,6 @@ \iffalse meta-comment -File: siunitx.ins Copyright (C) 2014-2021 Joseph Wright +File: siunitx.ins Copyright (C) 2014-2021,2024 Joseph Wright It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -33,8 +33,8 @@ for those people who are interested. \preamble \endpreamble \postamble -Copyright (C) 2008-2022 by - Joseph Wright <joseph.wright@morningstar2.co.uk> +Copyright (C) 2008-2022,2024 by + Joseph Wright <joseph@texdev.net> It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.tex b/Master/texmf-dist/source/latex/siunitx/siunitx.tex index 59ecd43acdb..d004e8f9d76 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.tex +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.tex @@ -200,7 +200,7 @@ for those people who are interested. Joseph Wright% \thanks{% E-mail: - \email{joseph.wright@morningstar2.co.uk}% + \email{joseph@texdev.net}% }% } diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index 62f01a64816..f58f61ec131 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -41,7 +41,7 @@ }% \endinput }% -\ProvidesExplPackage {siunitx} {2024-02-15} {3.3.12} +\ProvidesExplPackage {siunitx} {2024-04-12} {3.3.13} {A comprehensive (SI) units package} \msg_new:nnnn { siunitx } { incompatible-package } { Package~'#1'~incompatible. } @@ -1313,13 +1313,12 @@ \cs_new:Npn \__siunitx_number_digits_uncert_aux:nn #1#2 { \exp_not:n {#2} - \__siunitx_number_digits:nn + \int_compare:nNnT + { \l__siunitx_number_min_decimal_int - \tl_count:n {#1} } > 0 { - \int_max:nn - { 0 } - { \l__siunitx_number_min_decimal_int - \tl_count:n {#1} + 1 } + \prg_replicate:nn + { \l__siunitx_number_min_decimal_int - \tl_count:n {#1} } { 0 } } - {#2} } \cs_new:Npn \__siunitx_number_digits_uncert:nN #1#2 { @@ -9361,8 +9360,8 @@ } } } -%% Copyright (C) 2008-2022 by -%% Joseph Wright <joseph.wright@morningstar2.co.uk> +%% Copyright (C) 2008-2022,2024 by +%% Joseph Wright <joseph@texdev.net> %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of |