diff options
author | Karl Berry <karl@freefriends.org> | 2023-02-11 21:18:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-02-11 21:18:39 +0000 |
commit | aa4762182a375d21b6c11c1203c3e79ff7ac2d68 (patch) | |
tree | 86a6954eba0a3449fd619c0b4fdd2769fd758b7f /Master/texmf-dist/tex/luatex/luatexja/patches | |
parent | d6f58a4ea9104f708a0cacd12c4cf3fb1735c2c8 (diff) |
luatexja (11feb23)
git-svn-id: svn://tug.org/texlive/trunk@65790 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.sty | 22 |
1 files changed, 10 insertions, 12 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 16c13cd7ae4..9c4526c3fdb 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 2022-12-12 +% lltjp-siunitx.sty 2022-12-14 % \NeedsTeXFormat{LaTeX2e} @@ -34,17 +34,15 @@ \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} - } - } +\RenewDocumentCommand \tablenum { O { } m } + { + \mode_leave_vertical: + \group_begin: + \keys_set:nn { siunitx } {#1} + \siunitx_cell_begin:w + \relax \ignorespaces #2 + \siunitx_cell_end: + \group_end: } }% siunitx v3.00 end {% siunitx v2.xx |