diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf | bin | 647812 -> 647898 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/siunitx/siunitx.pdf | bin | 705662 -> 705591 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx | 23 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 23 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 |
7 files changed, 37 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md index 5f4eb8bb135..5d7e746833a 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.6] - 2023-09-01 + +### Fixed +- Corrected handling of font commands inside `\ensuremath` in text + mode (see issue + [\#694](https://github.com/josephwright/siunitx/issues/694)) + ## [v3.3.5] - 2023-08-30 ### Fixed @@ -2012,7 +2019,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.5...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.3.6...HEAD +[v3.3.6]: https://github.com/josephwright/siunitx/compare/v3.3.5...v3.3.6 [v3.3.5]: https://github.com/josephwright/siunitx/compare/v3.3.4...v3.3.5 [v3.3.4]: https://github.com/josephwright/siunitx/compare/v3.3.3...v3.3.4 [v3.3.3]: https://github.com/josephwright/siunitx/compare/v3.3.2...v3.3.3 diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf Binary files differindex 493c8aecedc..e6f9a48580e 100644 --- a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf +++ b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf Binary files differindex 000d5790d66..84048f928db 100644 --- a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf +++ b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx index f802bd7353d..79d2d53840a 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx @@ -891,15 +891,15 @@ \tl_set:Nn \l_@@_tmp_tl {#1} \tl_if_empty:NF \l_@@_tmp_tl { - \@@_text_replace_font:N \l_@@_tmp_tl - \tl_if_empty:NF \l_siunitx_unit_font_tl - { - \exp_after:wN - \cs_set_eq:NN \l_siunitx_unit_font_tl \scan_stop: - } - \cs_set:Npn \mathord ##1 - { \@@_text_replace_first:N ##1 } - \group_begin: + \group_begin: + \@@_text_replace_font:N \l_@@_tmp_tl + \cs_set:Npn \mathord ##1 + { \@@_text_replace_first:N ##1 } + \tl_if_empty:NF \l_siunitx_unit_font_tl + { + \exp_after:wN + \cs_set_eq:NN \l_siunitx_unit_font_tl \scan_stop: + } \tl_map_inline:nn { \mp \approx \sim \ge \le \geq \leq \gg \ll \angle } { @@ -909,7 +909,10 @@ \cs_set:Npn \sqrt ##1 { \exp_not:N \ensuremath - { \exp_not:N \sqrt { \exp_not:N \text {##1} } } + { + \exp_not:N \sqrt + { \exp_not:N \text { \@@_text_replace:n {##1} } } + } } \protected@edef \l_@@_tmp_tl { \exp_after:wN \@@_text_replace_first:N \l_@@_tmp_tl } diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index f2ec215fa5f..dee6c486994 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} {2023-08-30} {3.3.5} +\ProvidesExplPackage {siunitx} {2023-09-01} {3.3.6} {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 d166b07ce44..936044ef1f6 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} {2023-08-30} {3.3.5} +\ProvidesExplPackage {siunitx} {2023-09-01} {3.3.6} {A comprehensive (SI) units package} \msg_new:nnnn { siunitx } { incompatible-package } { Package~'#1'~incompatible. } @@ -5037,15 +5037,15 @@ \tl_set:Nn \l__siunitx_print_tmp_tl {#1} \tl_if_empty:NF \l__siunitx_print_tmp_tl { - \__siunitx_print_text_replace_font:N \l__siunitx_print_tmp_tl - \tl_if_empty:NF \l_siunitx_unit_font_tl - { - \exp_after:wN - \cs_set_eq:NN \l_siunitx_unit_font_tl \scan_stop: - } - \cs_set:Npn \mathord ##1 - { \__siunitx_print_text_replace_first:N ##1 } \group_begin: + \__siunitx_print_text_replace_font:N \l__siunitx_print_tmp_tl + \cs_set:Npn \mathord ##1 + { \__siunitx_print_text_replace_first:N ##1 } + \tl_if_empty:NF \l_siunitx_unit_font_tl + { + \exp_after:wN + \cs_set_eq:NN \l_siunitx_unit_font_tl \scan_stop: + } \tl_map_inline:nn { \mp \approx \sim \ge \le \geq \leq \gg \ll \angle } { @@ -5055,7 +5055,10 @@ \cs_set:Npn \sqrt ##1 { \exp_not:N \ensuremath - { \exp_not:N \sqrt { \exp_not:N \text {##1} } } + { + \exp_not:N \sqrt + { \exp_not:N \text { \__siunitx_print_text_replace:n {##1} } } + } } \protected@edef \l__siunitx_print_tmp_tl { \exp_after:wN \__siunitx_print_text_replace_first:N \l__siunitx_print_tmp_tl } diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 51cb3c9160c..1c057c0ba4e 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -441,7 +441,7 @@ my @TLP_working = qw( iodhbwm ionumbers iopart-num ipaex ipaex-type1 is-bst iscram iso iso10303 isodate isodoc isomath isonums isopt isorot isotope issuulinks istgame itnumpar - iwhdp iwona + iwhdp iwona iwonamath jablantile jacow jamtimes japanese-mathformulas japanese-otf jbact jeuxcartes jfmutil jieeetran jigsaw jknapltx jkmath jlabels jlreq jlreq-deluxe |