From a527d6abe7828d590bda9b872044223e41bd16bc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 20 Jan 2022 21:27:14 +0000 Subject: siunitx (20jan22) git-svn-id: svn://tug.org/texlive/trunk@61669 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md | 5 ++++- .../texmf-dist/doc/latex/siunitx/siunitx-code.pdf | Bin 608018 -> 607607 bytes Master/texmf-dist/doc/latex/siunitx/siunitx.pdf | Bin 638357 -> 638357 bytes .../source/latex/siunitx/siunitx-symbol.dtx | 15 +++++++++------ Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 4 ++-- Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 17 ++++++++++------- 6 files changed, 25 insertions(+), 16 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md index ddee0243e65..18a32f8d8e5 100644 --- a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md @@ -7,6 +7,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] +## [v3.0.43] - 2022-01-20 + ## [v3.0.42] - 2022-01-18 ### Added @@ -1671,7 +1673,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.0.42...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.43...HEAD +[v3.0.43]: https://github.com/josephwright/siunitx/compare/v3.0.42...v3.0.43 [v3.0.42]: https://github.com/josephwright/siunitx/compare/v3.0.41...v3.0.42 [v3.0.41]: https://github.com/josephwright/siunitx/compare/v3.0.40...v3.0.41 [v3.0.40]: https://github.com/josephwright/siunitx/compare/v3.0.39...v3.0.40 diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf index bc6e13dedc7..65ba4d68949 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 e5d013218f3..f3a4ee3924c 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-symbol.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx index eaf2caac9b8..95e067aa97a 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx @@ -240,6 +240,11 @@ { \exp_not:N \upOmega } { \exp_not:N \Omega } } + \tl_set:Nx \l_@@_tmpb_tl + { + \exp_not:N \text + { \exp_not:N \ensuremath { \exp_not:V \l_@@_tmpa_tl } } + } \siunitx_declare_unit:Nx \ohm { \@ifpackageloaded { fourier } @@ -250,14 +255,12 @@ { \exp_not:N \ifmmode \@ifpackageloaded { fontspec } + { \exp_not:V \l_@@_tmpb_tl } { - \exp_not:N \text - { - \exp_not:N \ensuremath - { \exp_not:V \l_@@_tmpa_tl } - } + \@ifclassloaded { beamer } + { \exp_not:V \l_@@_tmpb_tl } + { \exp_not:V \l_@@_tmpa_tl } } - { \exp_not:V \l_@@_tmpa_tl } \exp_not:N \else \exp_not:N \text { diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index 400f4fa539b..3274b37931e 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2022-01-18} {3.0.42} +\ProvidesExplPackage {siunitx} {2022-01-20} {3.0.43} {A comprehensive (SI) units package} % \end{macrocode} % @@ -223,7 +223,7 @@ % relevant code. Things could be re-arranged by \pkg{DocStrip} but there is no % advantage. % -% User level interfaces are all created by \pkg{xparse} +% User level interfaces are all created by \pkg{ltcmd}/\pkg{xparse}. % \begin{macrocode} \IfFormatAtLeastTF { 2020-10-01 } { } diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index 943ac90cb4c..36f8ed586e7 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -42,7 +42,7 @@ }% \endinput }% -\ProvidesExplPackage {siunitx} {2022-01-18} {3.0.42} +\ProvidesExplPackage {siunitx} {2022-01-20} {3.0.43} {A comprehensive (SI) units package} \msg_new:nnnn { siunitx } { incompatible-package } { Package~'#1'~incompatible. } @@ -6475,6 +6475,11 @@ { \exp_not:N \upOmega } { \exp_not:N \Omega } } + \tl_set:Nx \l__siunitx_symbol_tmpb_tl + { + \exp_not:N \text + { \exp_not:N \ensuremath { \exp_not:V \l__siunitx_symbol_tmpa_tl } } + } \siunitx_declare_unit:Nx \ohm { \@ifpackageloaded { fourier } @@ -6485,14 +6490,12 @@ { \exp_not:N \ifmmode \@ifpackageloaded { fontspec } + { \exp_not:V \l__siunitx_symbol_tmpb_tl } { - \exp_not:N \text - { - \exp_not:N \ensuremath - { \exp_not:V \l__siunitx_symbol_tmpa_tl } - } + \@ifclassloaded { beamer } + { \exp_not:V \l__siunitx_symbol_tmpb_tl } + { \exp_not:V \l__siunitx_symbol_tmpa_tl } } - { \exp_not:V \l__siunitx_symbol_tmpa_tl } \exp_not:N \else \exp_not:N \text { -- cgit v1.2.3