diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex b/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex index 80a148e24c3..e4c91b82867 100644 --- a/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex +++ b/Master/texmf-dist/tex/generic/ctex/ctexspamacro.tex @@ -6,9 +6,9 @@ %% %% ctex.dtx (with options: `spa,macro') %% -%% Copyright (C) 2003--2019 +%% Copyright (C) 2003--2020 %% CTEX.ORG and any individual authors listed in the documentation. -%% ------------------------------------------------------------------------------ +%% --------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -20,17 +20,15 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -%% This work has the LPPL maintenance status `maintained'. +%% This work has the LPPL maintenance status "maintained". %% -%% The Current Maintainers of this work are Leo Liu, Qing Lee and Liam Huang. -%% -%% ------------------------------------------------------------------------------ +%% --------------------------------------------------------------------- %% \input expl3-generic % \ExplSyntaxOn \sys_if_engine_xetex:F { - \msg_new:nn { ctex } { xetex } + \msg_new:nnn { ctex } { xetex } { XeTeX~is~required~to~compile~this~document! } \msg_fatal:nn { ctex } { xetex } } @@ -42,7 +40,7 @@ "FF01 , "FF1F , "FF05 , "3015 , "FF09 , "FF3D , "FF5D , "3009 , "300B , "3017 , "3011 , "2019 , "201D , "300D , "300F } -\cs_new_protected_nopar:Npn \ctex_make_spa:nn #1#2 +\cs_new_protected:Npn \ctex_make_spa:nn #1#2 { \iow_open:Nn \g__ctex_spa_iow {#1} \clist_map_inline:nn {#2} @@ -66,7 +64,7 @@ } \group_end: } -\cs_new_protected_nopar:Npn \__ctex_save_bounds:n #1 +\cs_new_protected:Npn \__ctex_save_bounds:n #1 { \clist_put_right:Nx \l__ctex_punct_bounds_clist { @@ -75,7 +73,7 @@ } } \clist_new:N \l__ctex_punct_bounds_clist -\cs_new_nopar:Npn \__ctex_calc_bounds:nn #1#2 +\cs_new:Npn \__ctex_calc_bounds:nn #1#2 { \fp_eval:n { |