summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/ctexheading.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/ctexheading.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/ctexheading.sty42
1 files changed, 2 insertions, 40 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/ctexheading.sty b/Master/texmf-dist/tex/latex/ctex/ctexheading.sty
index ca84380ca2f..877cc8f2aa6 100644
--- a/Master/texmf-dist/tex/latex/ctex/ctexheading.sty
+++ b/Master/texmf-dist/tex/latex/ctex/ctexheading.sty
@@ -26,10 +26,10 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 07425fe 2021-03-14 16:43:36 +0800 Xiangdong Zeng <xdzeng96@gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6604451 2021-06-20 17:08:49 +0800 Qing Lee <sobenlee@gmail.com> $
{Heading style modification (CTEX)}
\ProvidesExplPackage{ctexheading}
- {\ExplFileDate}{2.5.6}{\ExplFileDescription}
+ {\ExplFileDate}{2.5.7}{\ExplFileDescription}
\RequirePackage { xparse , l3keys2e }
\RequirePackage { ctexhook , ctexpatch }
\tl_clear_new:N \l__ctex_tmp_tl
@@ -43,44 +43,6 @@
{ \keys_set:nn { ctex } }
\cs_new_protected:Npn \ctex_set:nn #1
{ \keys_set:nn { ctex / #1 } }
-\cs_new_protected:Npn \ctex_file_input:n #1
- {
- \ctex_push_file:
- \file_input:n {#1}
- \ctex_pop_file:
- }
-\cs_new_protected:Npn \ctex_push_file:
- {
- \seq_gpush:Nx \g__ctex_file_status_seq
- {
- {
- \bool_if:NTF \l__kernel_expl_bool
- { \ExplSyntaxOn }
- { \ExplSyntaxOff }
- }
- { \char_value_catcode:n { 64 } }
- { \char_value_catcode:n { 94 } }
- { \int_use:N \tex_endlinechar:D }
- }
- \ExplSyntaxOff
- \char_set_catcode_letter:n { 64 }
- \char_set_catcode_math_superscript:n { 94 }
- \int_set:Nn \tex_endlinechar:D { 13 }
- }
-\cs_new_protected:Npn \ctex_pop_file:
- {
- \seq_gpop:NN \g__ctex_file_status_seq \l__ctex_file_status_tl
- \exp_after:wN \__ctex_pop_file_aux:nnnn \l__ctex_file_status_tl
- }
-\cs_new_protected:Npn \__ctex_pop_file_aux:nnnn #1#2#3#4
- {
- #1
- \char_set_catcode:nn { 64 } {#2}
- \char_set_catcode:nn { 94 } {#3}
- \int_set:Nn \tex_endlinechar:D {#4}
- }
-\tl_new:N \l__ctex_file_status_tl
-\seq_new:N \g__ctex_file_status_seq
\cs_new_protected:Npn \ctex_scheme_input:n #1
{
\ctex_push_file: