texlive[60337] Master/texmf-dist: siunitx (28aug21)

commits+karl at tug.org commits+karl at tug.org
Sat Aug 28 00:39:56 CEST 2021


Revision: 60337
          http://tug.org/svn/texlive?view=revision&revision=60337
Author:   karl
Date:     2021-08-28 00:39:56 +0200 (Sat, 28 Aug 2021)
Log Message:
-----------
siunitx (28aug21)

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-08-27 22:39:40 UTC (rev 60336)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2021-08-27 22:39:56 UTC (rev 60337)
@@ -7,6 +7,12 @@
 
 ## [Unreleased]
 
+## [v3.0.28]
+
+### Fixed
+- Pre-spacing for free-standing units (issue
+  [#538](https://github.com/josephwright/siunitx/issues/538))
+
 ## [v3.0.27]
 
 ### Fixed
@@ -1551,7 +1557,8 @@
 ### Added
 - First public testing release (as `si`)
 
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.27...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.28...HEAD
+[v3.0.28]: https://github.com/josephwright/siunitx/compare/v3.0.27...v3.0.28
 [v3.0.27]: https://github.com/josephwright/siunitx/compare/v3.0.26...v3.0.27
 [v3.0.26]: https://github.com/josephwright/siunitx/compare/v3.0.25...v3.0.26
 [v3.0.25]: https://github.com/josephwright/siunitx/compare/v3.0.24...v3.0.25

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-08-27 22:39:40 UTC (rev 60336)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx	2021-08-27 22:39:56 UTC (rev 60337)
@@ -256,11 +256,12 @@
                 { \use_i:nn }
                 {
                   \siunitx_unit_options_apply:n {##1}
-                  \bool_if:NT \l_@@_prespace_bool { \exp_not:N \  }
                   \siunitx_unit_format:nN {##1}
                     \exp_not:N \l_@@_tmp_tl
-                  \siunitx_print_unit:V
-                    \exp_not:N \l_@@_tmp_tl
+                  \bool_if:NTF \l_@@_prespace_bool
+                    { \siunitx_quantity_print:nV { } }
+                    { \siunitx_print_unit:V }
+                      \exp_not:N \l_@@_tmp_tl
                 }
                 { \siunitx_quantity:nn {####1} {##1} }
             \group_end:

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2021-08-27 22:39:40 UTC (rev 60336)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2021-08-27 22:39:56 UTC (rev 60337)
@@ -121,7 +121,7 @@
 %
 % Identify the package and give the over all version information.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2021-08-22} {3.0.27}
+\ProvidesExplPackage {siunitx} {2021-08-27} {3.0.28}
   {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-08-27 22:39:40 UTC (rev 60336)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2021-08-27 22:39:56 UTC (rev 60337)
@@ -42,7 +42,7 @@
       }%
     \endinput
   }%
-\ProvidesExplPackage {siunitx} {2021-08-22} {3.0.27}
+\ProvidesExplPackage {siunitx} {2021-08-27} {3.0.28}
   {A comprehensive (SI) units package}
 \msg_new:nnnn { siunitx } { incompatible-package }
   { Package~'#1'~incompatible. }
@@ -6596,11 +6596,12 @@
                 { \use_i:nn }
                 {
                   \siunitx_unit_options_apply:n {##1}
-                  \bool_if:NT \l__siunitx_command_prespace_bool { \exp_not:N \  }
                   \siunitx_unit_format:nN {##1}
                     \exp_not:N \l__siunitx_command_tmp_tl
-                  \siunitx_print_unit:V
-                    \exp_not:N \l__siunitx_command_tmp_tl
+                  \bool_if:NTF \l__siunitx_command_prespace_bool
+                    { \siunitx_quantity_print:nV { } }
+                    { \siunitx_print_unit:V }
+                      \exp_not:N \l__siunitx_command_tmp_tl
                 }
                 { \siunitx_quantity:nn {####1} {##1} }
             \group_end:



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