summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-12 21:19:05 +0000
committerKarl Berry <karl@freefriends.org>2022-01-12 21:19:05 +0000
commitb26d1f7306f1afd49a759cd871668673a54b056a (patch)
treeea24fd02dc817f030649e7d185beee1ba2ab4d37 /Master/texmf-dist/tex/latex/siunitx
parentaf7d5a5d640c2683428a0d0024f32fb6ac8f71f2 (diff)
siunitx (12jan22)
git-svn-id: svn://tug.org/texlive/trunk@61585 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty31
1 files changed, 20 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index 55634bb097a..95eb92d6c23 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} {2022-01-05} {3.0.39}
+\ProvidesExplPackage {siunitx} {2022-01-12} {3.0.40}
{A comprehensive (SI) units package}
\msg_new:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -4153,9 +4153,12 @@
{ \__siunitx_table_collect_loop: #1 }
\cs_new_protected:Npn \__siunitx_table_collect_loop:
{
- \peek_catcode_ignore_spaces:NTF \c_group_begin_token
- { \__siunitx_table_collect_group:n }
- { \__siunitx_table_collect_token:N }
+ \peek_remove_spaces:n
+ {
+ \peek_catcode:NTF \c_group_begin_token
+ { \__siunitx_table_collect_group:n }
+ { \__siunitx_table_collect_token:N }
+ }
}
\cs_new_protected:Npn \__siunitx_table_collect_group:n #1
{
@@ -4267,9 +4270,12 @@
}
\cs_new_protected:Npn \__siunitx_table_split_loop:NNN #1#2#3
{
- \peek_catcode_ignore_spaces:NTF \c_group_begin_token
- { \__siunitx_table_split_group:NNNn #1#2#3 }
- { \__siunitx_table_split_token:NNNN #1#2#3 }
+ \peek_remove_spaces:n
+ {
+ \peek_catcode:NTF \c_group_begin_token
+ { \__siunitx_table_split_group:NNNn #1#2#3 }
+ { \__siunitx_table_split_token:NNNN #1#2#3 }
+ }
}
\cs_new_protected:Npn \__siunitx_table_split_group:NNNn #1#2#3#4
{
@@ -4547,11 +4553,14 @@
\cs_new_protected:Npn \__siunitx_table_direct_begin:w #1 \ignorespaces
{
#1
- \peek_catcode_ignore_spaces:NTF \c_group_begin_token
- { \__siunitx_table_print_text:n }
+ \peek_remove_spaces:n
{
- \m@th
- \use:c { __siunitx_table_direct_ \l__siunitx_table_align_mode_tl : }
+ \peek_catcode:NTF \c_group_begin_token
+ { \__siunitx_table_print_text:n }
+ {
+ \m@th
+ \use:c { __siunitx_table_direct_ \l__siunitx_table_align_mode_tl : }
+ }
}
}
\cs_new_protected:Npn \__siunitx_table_direct_end: