From db2039beab1a1d54b5ffa343e7ae3acbcc5ff179 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 30 Sep 2024 20:10:44 +0000 Subject: siunitx (30sep24) git-svn-id: svn://tug.org/texlive/trunk@72422 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md | 10 +++++++++- .../texmf-dist/doc/latex/siunitx/siunitx-code.pdf | Bin 645515 -> 645497 bytes Master/texmf-dist/doc/latex/siunitx/siunitx.pdf | Bin 703916 -> 703918 bytes .../source/latex/siunitx/siunitx-compound.dtx | 1 - .../source/latex/siunitx/siunitx-number.dtx | 1 + .../source/latex/siunitx/siunitx-unit.dtx | 5 ++++- Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 2 +- Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 7 +++++-- 8 files changed, 20 insertions(+), 6 deletions(-) diff --git a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md index 94d43ec98a2..bfc2c8dbd0b 100644 --- a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md @@ -7,6 +7,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] +## [v3.3.22] - 2024-09-30 + +### Fixed +- Automatically set `unit-font-command` with `beamer` only when the user has + not manually adjusted (see issue + [\#748](https://github.com/josephwright/siunitx/issues/748)) + ## [v3.3.21] - 2024-08-20 ### Fixed @@ -2136,7 +2143,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.21...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.3.22...HEAD +[v3.3.22]: https://github.com/josephwright/siunitx/compare/v3.3.21...v3.3.22 [v3.3.21]: https://github.com/josephwright/siunitx/compare/v3.3.20...v3.3.21 [v3.3.20]: https://github.com/josephwright/siunitx/compare/v3.3.19...v3.3.20 [v3.3.19]: https://github.com/josephwright/siunitx/compare/v3.3.18...v3.3.19 diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf index bef1e6afe6c..cc2cd36afdf 100644 Binary files a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf and b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf differ diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf index 3454497b6f6..4dd0e88018f 100644 Binary files a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf and b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf differ diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx index ec5a6805167..6bca9a8417e 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx @@ -871,7 +871,6 @@ } % \end{macrocode} % \end{macro} -% \end{macro} % % \begin{macro}{\@@_print:N} % \begin{macro}{\@@_print:nnN, \@@_print:nVN, \@@_print:enN, \@@_print:eeN} diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx index 4a7e2eb7057..0cc22455590 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx @@ -4757,6 +4757,7 @@ % \end{macro} % \end{macro} % \end{macro} +% \end{macro} % % \subsection{Miscellaneous tools} % diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx index 7faf5740da4..6c440b8fd64 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx @@ -2997,7 +2997,10 @@ \str_if_eq:eeT { \exp_not:o { \familydefault } } { \exp_not:n { \sfdefault } } - { \keys_set:nn { siunitx } { unit-font-command = \mathsf } } + { + \tl_if_eq:VnT \l_siunitx_unit_font_tl { \mathrm } + { \keys_set:nn { siunitx } { unit-font-command = \mathsf } } + } } { } } diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index eda108df6d1..11bce0caf98 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -124,7 +124,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2024-08-20} {3.3.21} +\ProvidesExplPackage {siunitx} {2024-09-30} {3.3.22} {A comprehensive (SI) units package} % \end{macrocode} % diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index 1c97adf20a1..9e943639402 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-08-20} {3.3.21} +\ProvidesExplPackage {siunitx} {2024-09-30} {3.3.22} {A comprehensive (SI) units package} \msg_new:nnnn { siunitx } { incompatible-package } { Package~'#1'~incompatible. } @@ -7550,7 +7550,10 @@ \str_if_eq:eeT { \exp_not:o { \familydefault } } { \exp_not:n { \sfdefault } } - { \keys_set:nn { siunitx } { unit-font-command = \mathsf } } + { + \tl_if_eq:VnT \l_siunitx_unit_font_tl { \mathrm } + { \keys_set:nn { siunitx } { unit-font-command = \mathsf } } + } } { } } -- cgit v1.2.3