texlive[59760] Master/texmf-dist: siunitx (29jun21)

commits+karl at tug.org commits+karl at tug.org
Tue Jun 29 21:55:25 CEST 2021


Revision: 59760
          http://tug.org/svn/texlive?view=revision&revision=59760
Author:   karl
Date:     2021-06-29 21:55:24 +0200 (Tue, 29 Jun 2021)
Log Message:
-----------
siunitx (29jun21)

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-command.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	2021-06-29 19:55:06 UTC (rev 59759)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2021-06-29 19:55:24 UTC (rev 59760)
@@ -7,6 +7,11 @@
 
 ## [Unreleased]
 
+## [v3.0.17]
+
+### Fixed
+- Load order issue with `soulpos` (issue #498)
+
 ## [v3.0.16]
 
 ### Fixed
@@ -1409,7 +1414,8 @@
 ### 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

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-command.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx	2021-06-29 19:55:06 UTC (rev 59759)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx	2021-06-29 19:55:24 UTC (rev 59760)
@@ -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:

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2021-06-29 19:55:06 UTC (rev 59759)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2021-06-29 19:55:24 UTC (rev 59760)
@@ -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}
 %

Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2021-06-29 19:55:06 UTC (rev 59759)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2021-06-29 19:55:24 UTC (rev 59760)
@@ -42,7 +42,7 @@
       }%
     \endinput
   }%
-\ProvidesExplPackage {siunitx} {2021-06-24} {3.0.16}
+\ProvidesExplPackage {siunitx} {2021-06-29} {3.0.17}
   {A comprehensive (SI) units package}
 \msg_new:nnnn { siunitx } { incompatible-package }
   { Package~'#1'~incompatible. }
@@ -6396,24 +6396,22 @@
 \cs_new_protected:Npn \siunitx_command_create:
   {
     \bool_if:NT \l__siunitx_command_create_bool
-      {
-        \__siunitx_command_create:
-        \@ifpackageloaded { soulpos }
-          {
-            \@ifpackageloaded { soul }
-              { }
-              {
-                \cs_undefine:N \hl
-                \cs_undefine:N \ul
-              }
-          }
-          { }
-      }
+      { \__siunitx_command_create: }
     \seq_map_inline:Nn \l_siunitx_unit_symbolic_seq
       {
         \cs_if_free:NT ##1
           { \cs_set_protected:Npn ##1 { \ERROR } }
       }
+    \@ifpackageloaded { soulpos }
+      {
+        \@ifpackageloaded { soul }
+          { }
+          {
+            \cs_undefine:N \hl
+            \cs_undefine:N \ul
+          }
+      }
+      { }
   }
 \AtBeginDocument { \siunitx_command_create: }
 \cs_new_protected:Npn \__siunitx_command_create:



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