texlive[69737] Master/texmf-dist: siunitx (7feb24)

commits+karl at tug.org commits+karl at tug.org
Wed Feb 7 22:02:06 CET 2024


Revision: 69737
          https://tug.org/svn/texlive?view=revision&revision=69737
Author:   karl
Date:     2024-02-07 22:02:06 +0100 (Wed, 07 Feb 2024)
Log Message:
-----------
siunitx (7feb24)

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-compound.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	2024-02-07 21:01:51 UTC (rev 69736)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2024-02-07 21:02:06 UTC (rev 69737)
@@ -7,12 +7,19 @@
 
 ## [Unreleased]
 
+## [v3.3.11] - 2024-02-07
+
+### Fixed
+- Formatting of units with separated uncertainties in 'compound' structures
+  when unit is not repeated (see issue
+  [\#717](https://github.com/josephwright/siunitx/issues/717))
+
 ## [v3.3.10] - 2024-01-25
 
 ### Changed
 - Load `color` package in `begindocument/before` hook
 - Normalize exponents when `exponent-mode = threshold` (see issue
-  [\#716](https://github.com/josephwright/siunitx/issues/711))
+  [\#711](https://github.com/josephwright/siunitx/issues/711))
 
 ### Fixed
 - Prevent accidental expansion of `\mathord` (see issue
@@ -2060,7 +2067,8 @@
 ### Added
 - First public testing release (as `si`)
 
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.3.10...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.3.11...HEAD
+[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
 [v3.3.9]: https://github.com/josephwright/siunitx/compare/v3.3.8...v3.3.9
 [v3.3.8]: https://github.com/josephwright/siunitx/compare/v3.3.7...v3.3.8

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-compound.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx	2024-02-07 21:01:51 UTC (rev 69736)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx	2024-02-07 21:02:06 UTC (rev 69737)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% File: siunitx-compound.dtx Copyright (C) 2018-2021,2023 Joseph Wright
+% File: siunitx-compound.dtx Copyright (C) 2018-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
@@ -1032,9 +1032,12 @@
   { \@@_uncert_bracket:nnw {#1#2#3#4#5#6} {#7#8} #9 \q_stop }
 \cs_new:Npn \@@_uncert_bracket:nnw #1#2 #3 \q_nil #4 \q_nil #5 \q_stop
   {
-    \bool_lazy_or:nnTF
-      { \tl_if_blank_p:n {#2#3} }
-      { ! \tl_if_blank_p:n {#5} }
+    \bool_lazy_any:nTF
+      {
+        { ! \l_@@_unit_repeat_bool }
+        { \tl_if_blank_p:n {#2#3} }
+        { ! \tl_if_blank_p:n {#5} }
+      }
       { \exp_not:n {#1#2#3#4#5} }
       {
         \exp_not:V \l_@@_bracket_open_tl

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2024-02-07 21:01:51 UTC (rev 69736)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2024-02-07 21:02:06 UTC (rev 69737)
@@ -121,7 +121,7 @@
 %
 % Identify the package and give the over all version information.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2024-01-25} {3.3.10}
+\ProvidesExplPackage {siunitx} {2024-02-07} {3.3.11}
   {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	2024-02-07 21:01:51 UTC (rev 69736)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2024-02-07 21:02:06 UTC (rev 69737)
@@ -41,7 +41,7 @@
       }%
     \endinput
   }%
-\ProvidesExplPackage {siunitx} {2024-01-25} {3.3.10}
+\ProvidesExplPackage {siunitx} {2024-02-07} {3.3.11}
   {A comprehensive (SI) units package}
 \msg_new:nnnn { siunitx } { incompatible-package }
   { Package~'#1'~incompatible. }
@@ -4387,9 +4387,12 @@
   { \__siunitx_compound_uncert_bracket:nnw {#1#2#3#4#5#6} {#7#8} #9 \q_stop }
 \cs_new:Npn \__siunitx_compound_uncert_bracket:nnw #1#2 #3 \q_nil #4 \q_nil #5 \q_stop
   {
-    \bool_lazy_or:nnTF
-      { \tl_if_blank_p:n {#2#3} }
-      { ! \tl_if_blank_p:n {#5} }
+    \bool_lazy_any:nTF
+      {
+        { ! \l__siunitx_compound_unit_repeat_bool }
+        { \tl_if_blank_p:n {#2#3} }
+        { ! \tl_if_blank_p:n {#5} }
+      }
       { \exp_not:n {#1#2#3#4#5} }
       {
         \exp_not:V \l__siunitx_compound_bracket_open_tl



More information about the tex-live-commits mailing list.