texlive[63218] Master/texmf-dist: siunitx (3may22)
commits+karl at tug.org
commits+karl at tug.org
Tue May 3 22:23:46 CEST 2022
Revision: 63218
http://tug.org/svn/texlive?view=revision&revision=63218
Author: karl
Date: 2022-05-03 22:23:46 +0200 (Tue, 03 May 2022)
Log Message:
-----------
siunitx (3may22)
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-unit.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 2022-05-03 20:23:32 UTC (rev 63217)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md 2022-05-03 20:23:46 UTC (rev 63218)
@@ -7,6 +7,11 @@
## [Unreleased]
+## [v3.1.1] - 2022-05-03
+
+### Changed
+- Allow for _e.g._ `\clist_item:Nn` usage inside `\unit` argument
+
## [v3.1.0] - 2022-04-25
### Added
@@ -1769,7 +1774,8 @@
### Added
- First public testing release (as `si`)
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.1.0...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.1.1...HEAD
+[v3.1.1]: https://github.com/josephwright/siunitx/compare/v3.1.0...v3.1.1
[v3.1.0]: https://github.com/josephwright/siunitx/compare/v3.0.50...v3.1.0
[v3.0.50]: https://github.com/josephwright/siunitx/compare/v3.0.49...v3.0.50
[v3.0.49]: https://github.com/josephwright/siunitx/compare/v3.0.48...v3.0.49
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-unit.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx 2022-05-03 20:23:32 UTC (rev 63217)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx 2022-05-03 20:23:46 UTC (rev 63218)
@@ -763,7 +763,9 @@
% when parsing there is a need to check if the current unit is built up
% from others (symbolic) or is defined in terms of some literals. To do this,
% the approach used is to set all of the symbolic unit commands expandable
-% and to do nothing, with the few special cases handled manually.
+% and to do nothing, with the few special cases handled manually. We expand
+% the input here twice: this handles the case where there is a mapping or
+% similar in |#1| which returns its result in \cs{exp_not:n}.
% \begin{macrocode}
\prg_new_protected_conditional:Npnn \@@_if_symbolic:n #1 { TF }
{
@@ -770,6 +772,7 @@
\group_begin:
\bool_set_true:N \l_@@_test_bool
\protected at edef \l_@@_tmp_tl {#1}
+ \protected at edef \l_@@_tmp_tl { \l_@@_tmp_tl }
\exp_args:NNV \group_end:
\tl_if_blank:nTF \l_@@_tmp_tl
{ \prg_return_true: }
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2022-05-03 20:23:32 UTC (rev 63217)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2022-05-03 20:23:46 UTC (rev 63218)
@@ -121,7 +121,7 @@
%
% Identify the package and give the over all version information.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2022-04-25} {3.1.0}
+\ProvidesExplPackage {siunitx} {2022-05-03} {3.1.1}
{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 2022-05-03 20:23:32 UTC (rev 63217)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty 2022-05-03 20:23:46 UTC (rev 63218)
@@ -42,7 +42,7 @@
}%
\endinput
}%
-\ProvidesExplPackage {siunitx} {2022-04-25} {3.1.0}
+\ProvidesExplPackage {siunitx} {2022-05-03} {3.1.1}
{A comprehensive (SI) units package}
\msg_new:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -5619,6 +5619,7 @@
\group_begin:
\bool_set_true:N \l__siunitx_unit_test_bool
\protected at edef \l__siunitx_unit_tmp_tl {#1}
+ \protected at edef \l__siunitx_unit_tmp_tl { \l__siunitx_unit_tmp_tl }
\exp_args:NNV \group_end:
\tl_if_blank:nTF \l__siunitx_unit_tmp_tl
{ \prg_return_true: }
More information about the tex-live-commits
mailing list.