diff options
author | Karl Berry <karl@freefriends.org> | 2022-05-03 20:23:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-05-03 20:23:46 +0000 |
commit | 4186dc31275a1c781f9280fa0082d5051d8b38b7 (patch) | |
tree | 78a118a769df227059ee1a7dcd18c2b1d1c218bf /Master/texmf-dist/source/latex/siunitx | |
parent | 23d6bfdbd2861cbd9950350b8913561a39bc3f09 (diff) |
siunitx (3may22)
git-svn-id: svn://tug.org/texlive/trunk@63218 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx | 5 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx index 7147db42757..6ea4ef12b9e 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx @@ -763,13 +763,16 @@ % 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 } { \group_begin: \bool_set_true:N \l_@@_test_bool \protected@edef \l_@@_tmp_tl {#1} + \protected@edef \l_@@_tmp_tl { \l_@@_tmp_tl } \exp_args:NNV \group_end: \tl_if_blank:nTF \l_@@_tmp_tl { \prg_return_true: } diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index a5219ad957e..49446acfa5a 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} {2022-04-25} {3.1.0} +\ProvidesExplPackage {siunitx} {2022-05-03} {3.1.1} {A comprehensive (SI) units package} % \end{macrocode} % |