summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/siunitx/siunitx.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-23 03:00:51 +0000
committerNorbert Preining <norbert@preining.info>2021-07-23 03:00:51 +0000
commit9e46b83b2d49ad6f5d4285266a81c9af1dd3d74e (patch)
tree85d1a98abf9163d7a939bcaf88ee7fc93b568c99 /macros/latex/contrib/siunitx/siunitx.dtx
parentc43a0b49bea6195daa6423809f4339d538b5c8d9 (diff)
CTAN sync 202107230300
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx.dtx')
-rw-r--r--macros/latex/contrib/siunitx/siunitx.dtx8
1 files changed, 5 insertions, 3 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx
index 8f9b2dab57..73f54d71eb 100644
--- a/macros/latex/contrib/siunitx/siunitx.dtx
+++ b/macros/latex/contrib/siunitx/siunitx.dtx
@@ -121,7 +121,7 @@
%
% Identify the package and give the over all version information.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2021-07-20} {3.0.21}
+\ProvidesExplPackage {siunitx} {2021-07-22} {3.0.22}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -472,14 +472,16 @@
% Creating numerical columns requires that these are declared before anything
% else in \cs{NC@list}: this is necessary to work with optional arguments.
% This means a bit of manual effort after the simple declaration of a new
-% column type. The token assigned to the column type is not fixed as this
-% allows the same code to be used in compatibility with version~$2$.
+% column type.
% \begin{macrocode}
\cs_new_protected:Npn \@@_declare_column:Nnn #1#2#3
{
\cs_if_exist:cT { NC@find@ #1 }
{
\cs_undefine:c { NC@find@ #1 }
+ \cs_set_protected:Npn \@@_tmp:w ##1 \NC@do #1 ##2 \q_stop
+ { \NC@list {##1##2} }
+ \exp_after:wN \@@_tmp:w \the \NC@list \q_stop
\msg_warning:nnn { siunitx } { column-overwritten } {#1}
}
\newcolumntype {#1} { }