summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-08-27 22:39:56 +0000
committerKarl Berry <karl@freefriends.org>2021-08-27 22:39:56 +0000
commited2f495bcd8d0143ff2053a21ac19555fd477846 (patch)
treeff80beae93753e1a9f0d9d9637071171bb56c27c
parent4e73a97e0d8f754378fa77c1092ea498f068856f (diff)
siunitx (28aug21)
git-svn-id: svn://tug.org/texlive/trunk@60337 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md9
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdfbin1511257 -> 1512131 bytes
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/siunitx.pdfbin636202 -> 636196 bytes
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx7
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty9
6 files changed, 18 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
index 121df712489..193bd0cb470 100644
--- a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
+++ b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
@@ -7,6 +7,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
## [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 @@ 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.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
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
index b98335bb634..69de10dbc3e 100644
--- a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
+++ b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
index e09324e6fff..417219bbc00 100644
--- a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
+++ b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx
index f12b5382fd4..354ab3734c2 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx-command.dtx
@@ -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:
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 594ad909dac..dde4c1ade4a 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} {2021-08-22} {3.0.27}
+\ProvidesExplPackage {siunitx} {2021-08-27} {3.0.28}
{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 4653cc42cd5..5929ace5fd8 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} {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: