summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-04 20:14:38 +0000
committerKarl Berry <karl@freefriends.org>2021-06-04 20:14:38 +0000
commite435cee410335af32bd2cd0c953b8ad6cea78043 (patch)
treedbab30b73214c74d7b405d0f746cd9472aad92d0 /Master/texmf-dist/tex/latex/siunitx
parentc3d8132256107735a8124d1ed5526205f3a211d3 (diff)
siunitx (4jun21)
git-svn-id: svn://tug.org/texlive/trunk@59464 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty23
1 files changed, 14 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index 2140838f83a..024f6b12a4c 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-06-01} {3.0.9}
+\ProvidesExplPackage {siunitx} {2021-06-04} {3.0.10}
{A comprehensive (SI) units package}
\msg_new:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -4002,7 +4002,11 @@
\str_if_eq:eeTF { \exp_not:n {#1} }
{ { \__siunitx_table_collect_end_aux:n {#1} } }
{ \tl_set:Nn }
- { \protected@edef }
+ {
+ \cs_if_exist:NT \array@row@rst
+ { \cs_set_eq:NN \array@row@rst \scan_stop: }
+ \protected@edef
+ }
\l__siunitx_table_collect_tl {#1}
}
\cs_new:Npn \__siunitx_table_collect_end_aux:n #1
@@ -6684,7 +6688,7 @@
{ print-unity-mantissa }
\l_keys_value_tl
} ,
- retain-unity-mantisa .default:n = true ,
+ retain-unity-mantissa .default:n = true ,
retain-zero-exponent .code:n =
{
\__siunitx_option_deprecated:nnV
@@ -7111,12 +7115,13 @@
}
}
\siunitx_declare_unit:Nn \celsius { \degreeCelsius }
-\msg_new:nnnn { siunitx } { unit-deprecated }
- { Unit~macro~#1~has~been~deprecated~in~this~release. }
+\msg_new:nnn { siunitx } { unit-deprecated }
{
+ Unit~macro~#1~has~been~deprecated~in~this~release. \\ \\
The~BIPM~have~removed~this~unit~from~the~SI~Brochure.~
- You~should~define~it~yourself~using~\token_to_str:N \DeclareSIUnit
- in~your~source.
+ You~should~define~it~yourself~using~\token_to_str:N \DeclareSIUnit\ %
+ in~your~source. The~current~definition~is\\ \\
+ \token_to_str:N \DeclareSIUnit \{ #2 \}
}
\cs_gset_protected:Npn \__siunitx_emulation_tmp:w #1#2
{
@@ -7129,8 +7134,8 @@
{
\exp_not:N \bool_gset_true:N
\exp_not:c { g__siunitx_emulation_unit_warning_ \token_to_str:N #1 _bool }
- \msg_warning:nnn { siunitx } { unit-deprecated }
- { \token_to_str:N #1 }
+ \msg_warning:nnnn { siunitx } { unit-deprecated }
+ { \token_to_str:N #1 } {#2}
}
#2
}