diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/ctexpatch.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/ctexpatch.sty | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/ctexpatch.sty b/Master/texmf-dist/tex/latex/ctex/ctexpatch.sty index bef41e211d1..a3506546814 100644 --- a/Master/texmf-dist/tex/latex/ctex/ctexpatch.sty +++ b/Master/texmf-dist/tex/latex/ctex/ctexpatch.sty @@ -28,10 +28,10 @@ %% \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\GetIdInfo$Id: ctex.dtx c498d8c 2017-04-01 21:33:50 +0800 Qing Lee <sobenlee@gmail.com> $ +\GetIdInfo$Id: ctex.dtx e177d82 2017-08-07 16:58:14 +0800 Qing Lee <sobenlee@gmail.com> $ {Patching commands (CTEX)} \ProvidesExplPackage{ctexpatch} - {\ExplFileDate}{2.4.9}{\ExplFileDescription} + {\ExplFileDate}{2.4.10}{\ExplFileDescription} \cs_if_exist:NF \str_new:N { \RequirePackage { l3str } } \cs_new_protected:Npn \ctex_patch_cmd_once:NnnnTF #1#2 { @@ -85,11 +85,9 @@ { \cs_new_protected:Npn \ctex_parse_name:NNn ##1##2##3 { - \bool_if:nTF - { - \cs_if_exist_p:c { ##3 ~ } || - \cs_if_exist_p:c { #1##3 } - } + \bool_lazy_or:nnTF + { \cs_if_exist_p:c { ##3 ~ } } + { \cs_if_exist_p:c { #1##3 } } { \group_begin: \use:x |