summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/patches
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-12-13 21:09:26 +0000
committerKarl Berry <karl@freefriends.org>2022-12-13 21:09:26 +0000
commitf702445ebe8dc7efa88bfa28c7239e63591b90e0 (patch)
treec3748dbcd0c249ca1acb8c534c4c3a872c8baf9c /Master/texmf-dist/tex/luatex/luatexja/patches
parent01c2f16795936045fac715892c1376cc04052a43 (diff)
luatexja (13dec22)
git-svn-id: svn://tug.org/texlive/trunk@65267 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-siunitx.sty14
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-siunitx.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-siunitx.sty
index fcc8922fea4..16c13cd7ae4 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-siunitx.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-siunitx.sty
@@ -1,5 +1,5 @@
%
-% lltjp-siunitx.sty 2021-10-31
+% lltjp-siunitx.sty 2022-12-12
%
\NeedsTeXFormat{LaTeX2e}
@@ -34,6 +34,18 @@
\cs_set_eq:NN \ltj_orig__siunitx_table_collect_begin:w \__siunitx_table_collect_begin:w
\cs_set_protected:Npn \__siunitx_table_collect_begin:w #1 \relax
{ \ltj_orig__siunitx_table_collect_begin:w }
+\AtBeginDocument{
+ \cs_if_exist:NT \TblrNum
+ { \RenewDocumentCommand \TblrNum { m }
+ {
+ \__tblr_siunitx_process:Nn
+ { \cs_set_eq:NN \__siunitx_table_collect_begin:w
+ \ltj_orig__siunitx_table_collect_begin:w
+ \tablenum}
+ {#1}
+ }
+ }
+ }
}% siunitx v3.00 end
{% siunitx v2.xx
\cs_generate_variant:Nn \tl_if_in:NnT { coT }