From c2e0b81e519071348a35c99962108edf9d659d23 Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Sat, 20 Apr 2024 18:24:41 +0800 Subject: [PATCH] =?UTF-8?q?zhnumber:=20=E5=85=BC=E5=AE=B9=E6=9C=AA?= =?UTF-8?q?=E6=8F=90=E4=BE=9B=20\tl=5Fbuild=5Fget=5Fintermediate:NN=20?= =?UTF-8?q?=E7=9A=84=E6=97=A7=E7=89=88=20expl3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zhnumber/zhnumber.dtx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zhnumber/zhnumber.dtx b/zhnumber/zhnumber.dtx index 1dd51d20..7e242abe 100644 --- a/zhnumber/zhnumber.dtx +++ b/zhnumber/zhnumber.dtx @@ -1464,7 +1464,15 @@ Copyright and Licence FE3 .tl_set:N = \exp_not:c { l_@@_financial_ 1000 _tl } , E44 .tl_set:N = \exp_not:c { l_@@_ s11 _tl } } - \tl_build_get_intermediate:NN \l_@@_kv_tl \l_@@_tmp_tl +% \end{macrocode} +% \pkg{expl3} 2023-12-14 起,\cs{tl_build_get:NN} 是废弃命令。当 \pkg{l3debug} +% 的 \texttt{deprecation} 开启,废弃命令被重定义为 \cs{outer} 的,无法在其他命令 +% 的参数中使用,所以这里用 \cs{use:c} 绕过。 +% \begin{macrocode} + \cs_if_exist:NTF \tl_build_get_intermediate:NN + { \tl_build_get_intermediate:NN } + { \use:c { tl_build_get:NN } } + \l_@@_kv_tl \l_@@_tmp_tl \cs_set:Npn \@@_tmp:w #1 . #2 \q_stop { , #1 .groups:n = { user } } \clist_map_inline:Nn \l_@@_tmp_tl