texlive[66840] Master/texmf-dist: siunitx (13apr23)

commits+karl at tug.org commits+karl at tug.org
Thu Apr 13 22:26:05 CEST 2023


Revision: 66840
          http://tug.org/svn/texlive?view=revision&revision=66840
Author:   karl
Date:     2023-04-13 22:26:04 +0200 (Thu, 13 Apr 2023)
Log Message:
-----------
siunitx (13apr23)

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-unit.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	2023-04-13 20:25:51 UTC (rev 66839)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2023-04-13 20:26:04 UTC (rev 66840)
@@ -7,12 +7,18 @@
 
 ## [Unreleased]
 
+## [v3.2.5] - 2023-04-13
+
+### Fixed
+- Use of `\mathsf` for sanserif text documents (see issues
+  [\#655](https://github.com/josephwright/siunitx/issues/655))
+
 ## [v3.2.4] - 2023-04-04
 
-
 ### Fixed
 - Parsing of 'full' uncertainty parts with leading zeros (see issues
   [\#652](https://github.com/josephwright/siunitx/issues/652))
+
 ## [v3.2.3] - 2023-03-14
 
 ### Fixed
@@ -1888,7 +1894,8 @@
 ### Added
 - First public testing release (as `si`)
 
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.2.4...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.2.5...HEAD
+[v3.2.5]: https://github.com/josephwright/siunitx/compare/v3.2.4...v3.2.5
 [v3.2.4]: https://github.com/josephwright/siunitx/compare/v3.2.3...v3.2.4
 [v3.2.3]: https://github.com/josephwright/siunitx/compare/v3.2.2...v3.2.3
 [v3.2.2]: https://github.com/josephwright/siunitx/compare/v3.2.1...v3.2.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-unit.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx	2023-04-13 20:25:51 UTC (rev 66839)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx	2023-04-13 20:26:04 UTC (rev 66840)
@@ -2975,14 +2975,18 @@
   }
 %    \end{macrocode}
 %
-% Cover the case where the default font is sanserif.
+% Cover the case where the default font is sanserif with \pkg{beamer}.
 %    \begin{macrocode}
 \AtBeginDocument
   {
-    \str_if_eq:eeT
-      { \exp_not:o { \familydefault } }
-      { \exp_not:n { \sfdefault } }
-      { \keys_set:nn { siunitx } { unit-font-command = \mathsf } }
+    \@ifclassloaded { beamer }
+      {
+        \str_if_eq:eeT
+          { \exp_not:o { \familydefault } }
+          { \exp_not:n { \sfdefault } }
+          { \keys_set:nn { siunitx } { unit-font-command = \mathsf } }
+      }
+      { }
   }
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2023-04-13 20:25:51 UTC (rev 66839)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2023-04-13 20:26:04 UTC (rev 66840)
@@ -122,7 +122,7 @@
 %
 % Identify the package and give the over all version information.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2023-04-04} {3.2.4}
+\ProvidesExplPackage {siunitx} {2023-04-13} {3.2.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	2023-04-13 20:25:51 UTC (rev 66839)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2023-04-13 20:26:04 UTC (rev 66840)
@@ -42,7 +42,7 @@
       }%
     \endinput
   }%
-\ProvidesExplPackage {siunitx} {2023-04-04} {3.2.4}
+\ProvidesExplPackage {siunitx} {2023-04-13} {3.2.5}
   {A comprehensive (SI) units package}
 \msg_new:nnnn { siunitx } { incompatible-package }
   { Package~'#1'~incompatible. }
@@ -7106,10 +7106,14 @@
   }
 \AtBeginDocument
   {
-    \str_if_eq:eeT
-      { \exp_not:o { \familydefault } }
-      { \exp_not:n { \sfdefault } }
-      { \keys_set:nn { siunitx } { unit-font-command = \mathsf } }
+    \@ifclassloaded { beamer }
+      {
+        \str_if_eq:eeT
+          { \exp_not:o { \familydefault } }
+          { \exp_not:n { \sfdefault } }
+          { \keys_set:nn { siunitx } { unit-font-command = \mathsf } }
+      }
+      { }
   }
 \fp_new:N \l__siunitx_quantity_tmp_fp
 \tl_new:N \l__siunitx_quantity_tmp_tl



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