summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/ctexsize.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/ctexsize.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/ctexsize.sty9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/ctexsize.sty b/Master/texmf-dist/tex/latex/ctex/ctexsize.sty
index b6c1688489d..1e117432ae5 100644
--- a/Master/texmf-dist/tex/latex/ctex/ctexsize.sty
+++ b/Master/texmf-dist/tex/latex/ctex/ctexsize.sty
@@ -28,12 +28,13 @@
%%
\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> $
{Chinese font size definition (CTEX)}
\ProvidesExplPackage{ctexsize}
- {\ExplFileDate}{2.4.9}{\ExplFileDescription}
+ {\ExplFileDate}{2.4.10}{\ExplFileDescription}
\RequirePackage { xparse , l3keys2e }
-\cs_new_eq:NN \g__ctex_font_size_flag \c_minus_one
+\int_new:N \g__ctex_font_size_flag
+\int_set:Nn \g__ctex_font_size_flag { -1 }
\keys_define:nn { ctex / option }
{
zihao .choice: ,
@@ -42,7 +43,7 @@
zihao / -4 .code:n = { \cs_gset_eq:NN \g__ctex_font_size_flag \c_one } ,
zihao / false .code:n = { \cs_gset_eq:NN \g__ctex_font_size_flag \c_two } ,
}
-\tl_clear:N \l__ctex_tmp_tl
+\tl_clear_new:N \l__ctex_tmp_tl
\clist_map_inline:nn
{
10pt , 11pt , 12pt ,