texlive[59279] Master/texmf-dist: siunitx (20may21)

commits+karl at tug.org commits+karl at tug.org
Thu May 20 22:17:51 CEST 2021


Revision: 59279
          http://tug.org/svn/texlive?view=revision&revision=59279
Author:   karl
Date:     2021-05-20 22:17:51 +0200 (Thu, 20 May 2021)
Log Message:
-----------
siunitx (20may21)

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-emulation.dtx
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.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

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-emulation.pdf

Modified: trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2021-05-20 20:17:34 UTC (rev 59278)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2021-05-20 20:17:51 UTC (rev 59279)
@@ -7,6 +7,23 @@
 
 ## [Unreleased]
 
+## [v3.0.2]
+
+### Changed
+- Documentation improvements
+- Better default for `product-symbol`
+
+### Fixed
+- Option settings `group-digits = true` and `group-digits = false` (issue #422)
+- Correct position of decimal marker in some tables (issue #423)
+- Coloring of negative numbers in tables (issue #424)
+- Alignment of numbers when printing without a `table-format` (issue #424)
+- Emulation of `\celsius` (issue #426)
+- Allow `\cdot` to work in text mode (issue #430)
+
+### Deprecated
+- Unit macro `\celsius`
+
 ## [v3.0.1]
 
 ### Added
@@ -1253,7 +1270,8 @@
 ### Added
 - First public testing release (as `si`)
 
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.1...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.2...HEAD
+[v3.0.2]: https://github.com/josephwright/siunitx/compare/v3.0.1...v3.0.2
 [v3.0.1]: https://github.com/josephwright/siunitx/compare/v3.0.0...v3.0.1
 [v3.0.0]: https://github.com/josephwright/siunitx/compare/v2.8e...v3.0.0
 [v2.8e]: https://github.com/josephwright/siunitx/compare/v2.8d...v2.8e

Modified: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-emulation.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-emulation.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-emulation.pdf	2021-05-20 20:17:34 UTC (rev 59278)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-emulation.pdf	2021-05-20 20:17:51 UTC (rev 59279)

Property changes on: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-emulation.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx	2021-05-20 20:17:34 UTC (rev 59278)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx	2021-05-20 20:17:51 UTC (rev 59279)
@@ -346,6 +346,18 @@
 %    \begin{macrocode}
 \keys_define:nn { siunitx }
   {
+    group-digits / false .code:n =
+      {
+        \@@_option_deprecated:nn
+          { group-digits ~ = ~ false }
+          { group-digits ~ = ~ none }
+      } ,
+    group-digits / true .code:n =
+      {
+        \@@_option_deprecated:nn
+          { group-digits ~ = ~ true }
+          { group-digits ~ = ~ all }
+      } ,
     separate-uncertainty .choice: ,
     separate-uncertainty / false .code:n =
       {
@@ -965,7 +977,14 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{\celsius}
+%   Deprecated but should work.
 %    \begin{macrocode}
+\siunitx_declare_unit:Nn \celsius { \degreeCelsius }
+%    \end{macrocode}
+% \end{macro}
+%
+%    \begin{macrocode}
 %</interfaces>
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx	2021-05-20 20:17:34 UTC (rev 59278)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx	2021-05-20 20:17:51 UTC (rev 59279)
@@ -59,6 +59,17 @@
 %
 % \begin{documentation}
 %
+% This submodule is dedicated to parsing and formatting numbers. A small number
+% of \LaTeXe{} math mode commands are assumed to be available as part of the
+% formatted output. The sign commands \cs{mp}, \cs{pm}, \cs{ll}, \cs{le},
+% \cs{gg} and \cs{ge} are used to replace two-character input; \cs{pm}
+% is also required for the output of uncertainties. The standard settings
+% require \cs{times}. For the display of colored negative numbers, the command
+% \cs{color} is assumed to be available. Where the latter may apply, numbers
+% should be printed inside a group: note that \TeX{} grouping is not added
+% \emph{within} formatted numbers as they may need to be decomposed into parts
+% (see \cs{siunitx_number_output:NN}).
+%
 % \section{Formatting numbers}
 %
 % \begin{function}{\siunitx_number_parse:nN, \siunitx_number_parse:VN}
@@ -3085,11 +3096,9 @@
 \cs_new:Npn
   \@@_output_sign_color:w #1 \@@_output_end:
   {
-    \exp_not:N \textcolor { \exp_not:V \l_@@_negative_color_tl }
-      {
-        #1
-        \@@_output_end:
-      }
+    \exp_not:N \color { \exp_not:V \l_@@_negative_color_tl }
+    #1
+    \@@_output_end:
   }
 \cs_new:Npn
   \@@_output_sign_brackets:w #1 \@@_output_end:

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx	2021-05-20 20:17:34 UTC (rev 59278)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx	2021-05-20 20:17:51 UTC (rev 59279)
@@ -259,6 +259,8 @@
 %   same as |\textmu| support. It's hard to check for the product symbol, so
 %   we just go with it an hope for the best!
 %    \begin{macrocode}
+\keys_set:nn { siunitx }
+  { product-symbol  = \ifmmode \times \else \texttimes \fi }
 \AtBeginDocument
   {
     \group_begin:
@@ -273,12 +275,36 @@
             \keys_set:nn { siunitx }
               {
                 exponent-product =
-                  \ifmmode \times \else \texttimes \fi ,
-                product-symbol =
                   \ifmmode \times \else \texttimes \fi
               }
           }
-          { \group_end: }
+          {
+            \tl_set:Nn \l_@@_tmpb_tl { 2 \cdot 10 ^ { 1 } }
+            \tl_if_eq:NNTF \l_@@_tmpa_tl \l_@@_tmpb_tl
+              {
+                \group_end:
+                \keys_set:nn { siunitx }
+                  {
+                    exponent-product =
+                      \ifmmode \cdot \else \textperiodcentered \fi
+                  }
+              }
+              { \group_end: }
+          }
+    \group_begin:
+      \tl_set:Nn \l_@@_tmpa_tl { \mathrm { m } \cdot \mathrm { s } }
+      \tl_set:Nn \l_siunitx_unit_font_tl { \mathrm }
+      \siunitx_unit_format:nN { m . s } \l_@@_tmpb_tl
+      \tl_if_eq:NNTF \l_@@_tmpa_tl \l_@@_tmpb_tl
+        {
+          \group_end:
+          \keys_set:nn { siunitx }
+            {
+              inter-unit-product =
+                \ifmmode \cdot \else \textperiodcentered \fi
+            }
+        }
+        { \group_end: }
   }
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx	2021-05-20 20:17:34 UTC (rev 59278)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx	2021-05-20 20:17:51 UTC (rev 59279)
@@ -315,7 +315,8 @@
 %
 % \begin{macro}{\@@_collect_loop:}
 % \begin{macro}{\@@_collect_group:n}
-% \begin{macro}{\@@_collect_token:N}
+% \begin{macro}{\@@_collect_token:N, \@@_collect_token_aux:N}
+% \begin{macro}{\@@_collect_relax:N}
 % \begin{macro}{\@@_collect_search:NnF}
 % \begin{macro}{\@@_collect_search_aux:NNn}
 %   Collecting up the cell content needs a loop: this is done using
@@ -325,7 +326,8 @@
 %   (\foreign{cf.}~the approach in \pkg{collcell}): the special cases are
 %   pulled out for manual handling. The flexible lookup approach is more-or-less
 %   the same idea as in the kernel |case| functions. The |\relax| special case
-%   covers the case where |\\| has been expanded in an empty cell.
+%   covers the case where |\\| has been expanded in an empty cell. This has to
+%   be an explicit token as we can get the same meaning from |\protect|.
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_collect_loop:
   {
@@ -344,15 +346,23 @@
       {
         \unskip            { \@@_collect_loop: }
         \end               { \tabularnewline \end }
-        \relax             { \relax }
+        \relax             { \@@_collect_relax:N #1 }
         \tabularnewline    { \tabularnewline }
         \siunitx_cell_end: { \siunitx_cell_end: }
       }
-      {
-        \tl_put_right:Nn \l_@@_collect_tl {#1}
-        \@@_collect_loop:
-      }
+      { \@@_collect_token_aux:N #1 }
   }
+\cs_new_protected:Npn \@@_collect_token_aux:N #1
+  {
+    \tl_put_right:Nn \l_@@_collect_tl {#1}
+    \@@_collect_loop:
+  }
+\cs_new_protected:Npn \@@_collect_relax:N #1
+  {
+    \str_if_eq:nnTF {#1} { \relax }
+      { \relax }
+      { \@@_collect_token_aux:N #1 }
+  }
 \AtBeginDocument
   {
     \@ifpackageloaded { mdwtab }
@@ -365,14 +375,11 @@
                 \tab at setcr         { \@@_collect_loop: }
                 \unskip            { \@@_collect_loop: }
                 \end               { \tabularnewline \end }
-                \relax             { \relax }
+                \relax             { \@@_collect_relax:N #1 }
                 \tabularnewline    { \tabularnewline }
                 \siunitx_cell_end: { \siunitx_cell_end: }
               }
-              {
-                \tl_put_right:Nn \l_@@_collect_tl {#1}
-                \@@_collect_loop:
-              }
+              { \@@_collect_token_aux:N #1 }
           }
       }
       { }
@@ -396,6 +403,7 @@
 % \end{macro}
 % \end{macro}
 % \end{macro}
+% \end{macro}
 %
 % \subsection{Separating collected material}
 %
@@ -682,17 +690,27 @@
 % \begin{macro}{\@@_center_marker:}
 %   When centering on the decimal marker, the easiest approach is to simply
 %   re-box the two parts. That is needed whether or not we are parsing numbers,
-%   so is best as a short auxiliary.
+%   so is best as a short auxiliary. Notice that we need to allow for the width
+%   of the decimal marker itself.
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_center_marker:
   {
+    \hbox_set:Nn \l_@@_tmp_box
+      { \ensuremath { \mathord { \l_siunitx_number_output_decimal_tl } } }
     \dim_compare:nNnTF
       { \box_wd:N \l_@@_integer_box }
-        > { \box_wd:N \l_@@_decimal_box }
+        >
+          {
+              \box_wd:N \l_@@_decimal_box
+            - \box_wd:N \l_@@_tmp_box
+          }
       {
         \hbox_set_to_wd:Nnn \l_@@_decimal_box
-          { \box_wd:N \l_@@_integer_box }
           {
+              \box_wd:N \l_@@_integer_box
+            + \box_wd:N \l_@@_tmp_box
+          }
+          {
             \hbox_unpack:N \l_@@_decimal_box
             \@@_fil:
           }
@@ -699,8 +717,11 @@
       }
       {
         \hbox_set_to_wd:Nnn \l_@@_integer_box
-          { \box_wd:N \l_@@_decimal_box }
           {
+              \box_wd:N \l_@@_decimal_box
+            - \box_wd:N \l_@@_tmp_box
+          }
+          {
             \@@_fil:
             \hbox_unpack:N \l_@@_integer_box
           }
@@ -903,8 +924,11 @@
       \c_math_toggle_token
     \hbox_set_end:
     \@@_center_marker:
-    \box_use_drop:N \l_@@_integer_box
-    \box_use_drop:N \l_@@_decimal_box
+    \use:c { @@_align_ \l_@@_align_text_tl :n }
+      {
+        \box_use_drop:N \l_@@_integer_box
+        \box_use_drop:N \l_@@_decimal_box
+      }
   }
 %    \end{macrocode}
 %   For the version where there is space reserved, first format and decompose
@@ -1093,8 +1117,11 @@
           { \@@_print_marker_aux:w #4 }
       }
     \@@_center_marker:
-    \box_use_drop:N \l_@@_integer_box
-    \box_use_drop:N \l_@@_decimal_box
+    \use:c { @@_align_ \l_@@_align_text_tl :n }
+      {
+        \box_use_drop:N \l_@@_integer_box
+        \box_use_drop:N \l_@@_decimal_box
+      }
   }
 \cs_new:Npn \@@_print_marker_aux:w
   #1 \q_nil #2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_nil #7 \q_nil

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2021-05-20 20:17:34 UTC (rev 59278)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2021-05-20 20:17:51 UTC (rev 59279)
@@ -121,7 +121,7 @@
 %
 % Identify the package and give the over all version information.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2021-05-18} {3.0.1}
+\ProvidesExplPackage {siunitx} {2021-05-19} {3.0.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	2021-05-20 20:17:34 UTC (rev 59278)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex	2021-05-20 20:17:51 UTC (rev 59279)
@@ -481,7 +481,7 @@
 
 \begin{function}{\qtyrange}
   \begin{syntax}
-    \cs{qtyrange}\oarg{options}\marg{number1}\meta{number2}\marg{unit}
+    \cs{qtyrange}\oarg{options}\marg{number1}\marg{number2}\marg{unit}
   \end{syntax}
 \end{function}
 Products of numbers with units can be handled using the \cs{qtyrange}
@@ -3567,7 +3567,7 @@
 
 The package requires \LaTeX3 support as provided in the \pkg{l3kernel} and
 \pkg{l3packages} bundles. Both of these are included in \TeX{} Live and
-MiK\TeX{}, or are again available in ready-to-install form from \acro{CTAN}.
+MiK\TeX{}, or are again available in ready-to-install from \acro{CTAN}.
 
 \section{Thanks}
 

Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2021-05-20 20:17:34 UTC (rev 59278)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2021-05-20 20:17:51 UTC (rev 59279)
@@ -42,7 +42,7 @@
       }%
     \endinput
   }%
-\ProvidesExplPackage {siunitx} {2021-05-18} {3.0.1}
+\ProvidesExplPackage {siunitx} {2021-05-19} {3.0.2}
   {A comprehensive (SI) units package}
 \msg_new:nnnn { siunitx } { incompatible-package }
   { Package~'#1'~incompatible. }
@@ -3057,11 +3057,9 @@
 \cs_new:Npn
   \__siunitx_number_output_sign_color:w #1 \__siunitx_number_output_end:
   {
-    \exp_not:N \textcolor { \exp_not:V \l__siunitx_number_negative_color_tl }
-      {
-        #1
-        \__siunitx_number_output_end:
-      }
+    \exp_not:N \color { \exp_not:V \l__siunitx_number_negative_color_tl }
+    #1
+    \__siunitx_number_output_end:
   }
 \cs_new:Npn
   \__siunitx_number_output_sign_brackets:w #1 \__siunitx_number_output_end:
@@ -3868,15 +3866,23 @@
       {
         \unskip            { \__siunitx_table_collect_loop: }
         \end               { \tabularnewline \end }
-        \relax             { \relax }
+        \relax             { \__siunitx_table_collect_relax:N #1 }
         \tabularnewline    { \tabularnewline }
         \siunitx_cell_end: { \siunitx_cell_end: }
       }
-      {
-        \tl_put_right:Nn \l__siunitx_table_collect_tl {#1}
-        \__siunitx_table_collect_loop:
-      }
+      { \__siunitx_table_collect_token_aux:N #1 }
   }
+\cs_new_protected:Npn \__siunitx_table_collect_token_aux:N #1
+  {
+    \tl_put_right:Nn \l__siunitx_table_collect_tl {#1}
+    \__siunitx_table_collect_loop:
+  }
+\cs_new_protected:Npn \__siunitx_table_collect_relax:N #1
+  {
+    \str_if_eq:nnTF {#1} { \relax }
+      { \relax }
+      { \__siunitx_table_collect_token_aux:N #1 }
+  }
 \AtBeginDocument
   {
     \@ifpackageloaded { mdwtab }
@@ -3889,14 +3895,11 @@
                 \tab at setcr         { \__siunitx_table_collect_loop: }
                 \unskip            { \__siunitx_table_collect_loop: }
                 \end               { \tabularnewline \end }
-                \relax             { \relax }
+                \relax             { \__siunitx_table_collect_relax:N #1 }
                 \tabularnewline    { \tabularnewline }
                 \siunitx_cell_end: { \siunitx_cell_end: }
               }
-              {
-                \tl_put_right:Nn \l__siunitx_table_collect_tl {#1}
-                \__siunitx_table_collect_loop:
-              }
+              { \__siunitx_table_collect_token_aux:N #1 }
           }
       }
       { }
@@ -4062,13 +4065,22 @@
   { #1#2#3#4#5#6#7 }
 \cs_new_protected:Npn \__siunitx_table_center_marker:
   {
+    \hbox_set:Nn \l__siunitx_table_tmp_box
+      { \ensuremath { \mathord { \l_siunitx_number_output_decimal_tl } } }
     \dim_compare:nNnTF
       { \box_wd:N \l__siunitx_table_integer_box }
-        > { \box_wd:N \l__siunitx_table_decimal_box }
+        >
+          {
+              \box_wd:N \l__siunitx_table_decimal_box
+            - \box_wd:N \l__siunitx_table_tmp_box
+          }
       {
         \hbox_set_to_wd:Nnn \l__siunitx_table_decimal_box
-          { \box_wd:N \l__siunitx_table_integer_box }
           {
+              \box_wd:N \l__siunitx_table_integer_box
+            + \box_wd:N \l__siunitx_table_tmp_box
+          }
+          {
             \hbox_unpack:N \l__siunitx_table_decimal_box
             \__siunitx_table_fil:
           }
@@ -4075,8 +4087,11 @@
       }
       {
         \hbox_set_to_wd:Nnn \l__siunitx_table_integer_box
-          { \box_wd:N \l__siunitx_table_decimal_box }
           {
+              \box_wd:N \l__siunitx_table_decimal_box
+            - \box_wd:N \l__siunitx_table_tmp_box
+          }
+          {
             \__siunitx_table_fil:
             \hbox_unpack:N \l__siunitx_table_integer_box
           }
@@ -4211,8 +4226,11 @@
       \c_math_toggle_token
     \hbox_set_end:
     \__siunitx_table_center_marker:
-    \box_use_drop:N \l__siunitx_table_integer_box
-    \box_use_drop:N \l__siunitx_table_decimal_box
+    \use:c { __siunitx_table_align_ \l__siunitx_table_align_text_tl :n }
+      {
+        \box_use_drop:N \l__siunitx_table_integer_box
+        \box_use_drop:N \l__siunitx_table_decimal_box
+      }
   }
 \cs_new_protected:Npn \__siunitx_table_direct_format:
   {
@@ -4329,8 +4347,11 @@
           { \__siunitx_table_print_marker_aux:w #4 }
       }
     \__siunitx_table_center_marker:
-    \box_use_drop:N \l__siunitx_table_integer_box
-    \box_use_drop:N \l__siunitx_table_decimal_box
+    \use:c { __siunitx_table_align_ \l__siunitx_table_align_text_tl :n }
+      {
+        \box_use_drop:N \l__siunitx_table_integer_box
+        \box_use_drop:N \l__siunitx_table_decimal_box
+      }
   }
 \cs_new:Npn \__siunitx_table_print_marker_aux:w
   #1 \q_nil #2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_nil #7 \q_nil
@@ -6035,6 +6056,8 @@
           }
       }
   }
+\keys_set:nn { siunitx }
+  { product-symbol  = \ifmmode \times \else \texttimes \fi }
 \AtBeginDocument
   {
     \group_begin:
@@ -6049,12 +6072,36 @@
             \keys_set:nn { siunitx }
               {
                 exponent-product =
-                  \ifmmode \times \else \texttimes \fi ,
-                product-symbol =
                   \ifmmode \times \else \texttimes \fi
               }
           }
-          { \group_end: }
+          {
+            \tl_set:Nn \l__siunitx_symbol_tmpb_tl { 2 \cdot 10 ^ { 1 } }
+            \tl_if_eq:NNTF \l__siunitx_symbol_tmpa_tl \l__siunitx_symbol_tmpb_tl
+              {
+                \group_end:
+                \keys_set:nn { siunitx }
+                  {
+                    exponent-product =
+                      \ifmmode \cdot \else \textperiodcentered \fi
+                  }
+              }
+              { \group_end: }
+          }
+    \group_begin:
+      \tl_set:Nn \l__siunitx_symbol_tmpa_tl { \mathrm { m } \cdot \mathrm { s } }
+      \tl_set:Nn \l_siunitx_unit_font_tl { \mathrm }
+      \siunitx_unit_format:nN { m . s } \l__siunitx_symbol_tmpb_tl
+      \tl_if_eq:NNTF \l__siunitx_symbol_tmpa_tl \l__siunitx_symbol_tmpb_tl
+        {
+          \group_end:
+          \keys_set:nn { siunitx }
+            {
+              inter-unit-product =
+                \ifmmode \cdot \else \textperiodcentered \fi
+            }
+        }
+        { \group_end: }
   }
 \AtBeginDocument
   {
@@ -6482,6 +6529,18 @@
   }
 \keys_define:nn { siunitx }
   {
+    group-digits / false .code:n =
+      {
+        \__siunitx_option_deprecated:nn
+          { group-digits ~ = ~ false }
+          { group-digits ~ = ~ none }
+      } ,
+    group-digits / true .code:n =
+      {
+        \__siunitx_option_deprecated:nn
+          { group-digits ~ = ~ true }
+          { group-digits ~ = ~ all }
+      } ,
     separate-uncertainty .choice: ,
     separate-uncertainty / false .code:n =
       {
@@ -6993,6 +7052,7 @@
           \exp_not:N \fi
        }
   }
+\siunitx_declare_unit:Nn \celsius { \degreeCelsius }
 \IfFormatAtLeastTF { 2020-10-01 }
   { }
   { \RequirePackage { xparse } }



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