diff options
author | Norbert Preining <norbert@preining.info> | 2021-06-30 03:03:03 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-06-30 03:03:03 +0000 |
commit | 916b6828e77bd92bd88d57bad094c4520f0ad65c (patch) | |
tree | 417cbe2a7dbaa209e8f3e8d53d0ccd0955b34333 /macros/latex/contrib/siunitx | |
parent | bdafc07360a98b693982369cce21a73afef5e3d7 (diff) |
CTAN sync 202106300303
Diffstat (limited to 'macros/latex/contrib/siunitx')
-rw-r--r-- | macros/latex/contrib/siunitx/CHANGELOG.md | 8 | ||||
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx-code.pdf | bin | 1493627 -> 1493737 bytes | |||
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx-command.dtx | 34 | ||||
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx.dtx | 2 | ||||
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx.pdf | bin | 635011 -> 635011 bytes |
5 files changed, 25 insertions, 19 deletions
diff --git a/macros/latex/contrib/siunitx/CHANGELOG.md b/macros/latex/contrib/siunitx/CHANGELOG.md index 3d9721549a..8cd9f6dfee 100644 --- a/macros/latex/contrib/siunitx/CHANGELOG.md +++ b/macros/latex/contrib/siunitx/CHANGELOG.md @@ -7,6 +7,11 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] +## [v3.0.17] + +### Fixed +- Load order issue with `soulpos` (issue #498) + ## [v3.0.16] ### Fixed @@ -1409,7 +1414,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.16...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.17...HEAD +[v3.0.17]: https://github.com/josephwright/siunitx/compare/v3.0.16...v3.0.17 [v3.0.16]: https://github.com/josephwright/siunitx/compare/v3.0.15...v3.0.16 [v3.0.15]: https://github.com/josephwright/siunitx/compare/v3.0.14...v3.0.15 [v3.0.14]: https://github.com/josephwright/siunitx/compare/v3.0.13...v3.0.14 diff --git a/macros/latex/contrib/siunitx/siunitx-code.pdf b/macros/latex/contrib/siunitx/siunitx-code.pdf Binary files differindex dd9f899d20..a3f4606a73 100644 --- a/macros/latex/contrib/siunitx/siunitx-code.pdf +++ b/macros/latex/contrib/siunitx/siunitx-code.pdf diff --git a/macros/latex/contrib/siunitx/siunitx-command.dtx b/macros/latex/contrib/siunitx/siunitx-command.dtx index 20574f7252..f12b5382fd 100644 --- a/macros/latex/contrib/siunitx/siunitx-command.dtx +++ b/macros/latex/contrib/siunitx/siunitx-command.dtx @@ -204,27 +204,11 @@ % Creating document commands is all done by a single function which is % set up using expansion: that way the tests are only run once. Other than % that, this is all just a question of picking up all the various routes. -% Where the \pkg{soulpos} package is loaded \emph{after} \pkg{siunitx}, the -% commands \cs{hl} and \cs{ul} will be created only after the hook is used. -% The \pkg{soul} package creates those using \tn{newcommand}, so we have to -% avoid an issue. % \begin{macrocode} \cs_new_protected:Npn \siunitx_command_create: { \bool_if:NT \l_@@_create_bool - { - \@@_create: - \@ifpackageloaded { soulpos } - { - \@ifpackageloaded { soul } - { } - { - \cs_undefine:N \hl - \cs_undefine:N \ul - } - } - { } - } + { \@@_create: } % \end{macrocode} % At the beginning of table cells and inside \texttt{x}-type expansion, % all symbolic units need to have \emph{some} definition. @@ -234,6 +218,22 @@ \cs_if_free:NT ##1 { \cs_set_protected:Npn ##1 { \ERROR } } } +% \end{macrocode} +% Where the \pkg{soulpos} package is loaded \emph{after} \pkg{siunitx}, the +% commands \cs{hl} and \cs{ul} will be created only after the hook is used. +% The \pkg{soul} package creates those using \tn{newcommand}, so we have to +% avoid an issue. +% \begin{macrocode} + \@ifpackageloaded { soulpos } + { + \@ifpackageloaded { soul } + { } + { + \cs_undefine:N \hl + \cs_undefine:N \ul + } + } + { } } \AtBeginDocument { \siunitx_command_create: } \cs_new_protected:Npn \@@_create: diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx index 0ee202f15f..30afff3ae2 100644 --- a/macros/latex/contrib/siunitx/siunitx.dtx +++ b/macros/latex/contrib/siunitx/siunitx.dtx @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2021-06-24} {3.0.16} +\ProvidesExplPackage {siunitx} {2021-06-29} {3.0.17} {A comprehensive (SI) units package} % \end{macrocode} % diff --git a/macros/latex/contrib/siunitx/siunitx.pdf b/macros/latex/contrib/siunitx/siunitx.pdf Binary files differindex aa8161e9dd..ed08b36163 100644 --- a/macros/latex/contrib/siunitx/siunitx.pdf +++ b/macros/latex/contrib/siunitx/siunitx.pdf |