summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/ctexpatch.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-07 21:08:29 +0000
committerKarl Berry <karl@freefriends.org>2017-08-07 21:08:29 +0000
commit3789b48e375fa4cf571aba22961afe3feee202ef (patch)
tree7a81f5312e24846127baef0d81bd31b711556f9b /Master/texmf-dist/tex/latex/ctex/ctexpatch.sty
parent7861a6fb7a7b64db8e54f302f3e5b6eda299e177 (diff)
ctex (7aug17)
git-svn-id: svn://tug.org/texlive/trunk@44974 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/ctexpatch.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/ctexpatch.sty12
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