Skip to content

Commit bdfc3cc

Browse files
fix: TeX Live 2022/2023 或更早版本无法发出警告
Resolves #635
1 parent eccb4a2 commit bdfc3cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bithesis.dtx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@
187187
\cs_generate_variant:Nn \tl_if_empty:nTF {x}
188188
\cs_generate_variant:Nn \seq_set_split:Nnn {Nnx}
189189
% \end{macrocode}
190+
%
191+
% 为兼容旧版生成变体。
192+
% \begin{macrocode}
193+
% 兼容 TeX Live 2022/2023 及更早版本(l3msg 与 TeX Live 并不同步更新,2023 支持与否均有可能)
194+
\cs_if_exist:NF \msg_warning:nnV {
195+
\cs_generate_variant:Nn \msg_warning:nnn { nnV }
196+
}
197+
% \end{macrocode}
190198
% \end{macro}
191199
%
192200
% \begin{macro}{\@@_same_page:}

0 commit comments

Comments
 (0)