From b1cf361795a720dbfa84ca6546355be360964437 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 23 Aug 2020 20:53:47 +0000
Subject: ctex (23aug20)

git-svn-id: svn://tug.org/texlive/trunk@56161 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/ctex/ctexsize.sty | 31 ++++++++-------------------
 1 file changed, 9 insertions(+), 22 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/ctex/ctexsize.sty')

diff --git a/Master/texmf-dist/tex/latex/ctex/ctexsize.sty b/Master/texmf-dist/tex/latex/ctex/ctexsize.sty
index da2013bb28a..f7899635a47 100644
--- a/Master/texmf-dist/tex/latex/ctex/ctexsize.sty
+++ b/Master/texmf-dist/tex/latex/ctex/ctexsize.sty
@@ -26,38 +26,25 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 76d4e94 2020-06-06 23:22:18 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx e805781 2020-08-23 21:30:35 +0800 Qing Lee <sobenlee@gmail.com> $
   {Chinese font size definition (CTEX)}
 \ProvidesExplPackage{ctexsize}
-  {\ExplFileDate}{2.5.3}{\ExplFileDescription}
+  {\ExplFileDate}{2.5.4}{\ExplFileDescription}
 \RequirePackage { xparse , l3keys2e }
 \RequirePackage { fix-cm }
 \cs_new_protected:Npn \ctex_define_option:n
   { \keys_define:nn { ctex / option } }
-\cs_new_protected:Npn \ctex_file_wrapper:nnn
+\cs_new_protected:Npn \ctex_file_input:n #1
   {
-    \exp_args:NNx \ExplSyntaxOff
-    \__ctex_file_wrapper_aux:nnnn
-      {
-        \bool_if:NTF \l__kernel_expl_bool
-          { \ExplSyntaxOn }
-          { \ExplSyntaxOff }
-      }
+    \cctab_begin:N \c__ctex_package_cctab
+      \file_input:n {#1}
+    \cctab_end:
   }
-\cs_new_protected:Npn \__ctex_file_wrapper_aux:nnnn #1#2#3#4
+\cctab_const:Nn \c__ctex_package_cctab
   {
-    \use:x
-      {
-        \char_set_catcode_letter:n { 64 }
-        #2
-        \exp_not:n {#3}
-        \char_set_catcode:nn { 64 } { \char_value_catcode:n { 64 } }
-        #4
-      }
-    #1
+    \cctab_select:N \c_document_cctab
+    \char_set_catcode_letter:n { 64 }
   }
-\cs_new_protected:Npn \ctex_file_input:n #1
-  { \ctex_file_wrapper:nnn { } { \file_input:n {#1} } { } }
 \int_new:N \g__ctex_font_size_int
 \int_gset:Nn \g__ctex_font_size_int { -1 }
 \ctex_define_option:n
-- 
cgit v1.2.3

