diff options
author | Karl Berry <karl@freefriends.org> | 2019-04-07 21:22:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-04-07 21:22:23 +0000 |
commit | fc7eee8c175b307abf9396aed71c1d49bd1c0fe4 (patch) | |
tree | 6173e8f922c539a792fcbde24e58cb8db06dd5e2 /Master/texmf-dist/tex/latex/ctex/ctexheading.sty | |
parent | bb3a18a8791a2f32a6c8a3e0c9ee15a643aefd89 (diff) |
ctex (7apr19)
git-svn-id: svn://tug.org/texlive/trunk@50843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/ctexheading.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/ctexheading.sty | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/ctexheading.sty b/Master/texmf-dist/tex/latex/ctex/ctexheading.sty index 883368b1e33..67c125554e9 100644 --- a/Master/texmf-dist/tex/latex/ctex/ctexheading.sty +++ b/Master/texmf-dist/tex/latex/ctex/ctexheading.sty @@ -6,7 +6,7 @@ %% %% ctex.dtx (with options: `style,ctexheading') %% -%% Copyright (C) 2003--2018 +%% Copyright (C) 2003--2019 %% CTEX.ORG and any individual authors listed in the documentation. %% ------------------------------------------------------------------------------ %% @@ -28,10 +28,10 @@ %% \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\GetIdInfo$Id: ctex.dtx 096f319 2018-05-02 19:51:41 +0800 Liam Huang <liamhuang0205@gmail.com> $ +\GetIdInfo$Id: ctex.dtx cb8bf3c 2019-04-07 23:32:09 +0800 Qing Lee <sobenlee@gmail.com> $ {Heading style modification (CTEX)} \ProvidesExplPackage{ctexheading} - {\ExplFileDate}{2.4.14}{\ExplFileDescription} + {\ExplFileDate}{2.4.15}{\ExplFileDescription} \RequirePackage { xparse , l3keys2e } \RequirePackage { ctexhook , ctexpatch } \tl_clear_new:N \l__ctex_tmp_tl @@ -69,13 +69,14 @@ { } } \cs_generate_variant:Nn \ctex_scheme_input:n { o } -\cs_new_eq:NN \g__ctex_section_depth_flag \c_two +\int_new:N \g__ctex_section_depth_int +\int_gset:Nn \g__ctex_section_depth_int { 2 } \keys_define:nn { ctex / option } { sub3section .code:n = - { \cs_gset_eq:NN \g__ctex_section_depth_flag \c_three } , + { \int_gset:Nn \g__ctex_section_depth_int { 3 } } , sub4section .code:n = - { \cs_gset_eq:NN \g__ctex_section_depth_flag \c_four } , + { \int_gset:Nn \g__ctex_section_depth_int { 4 } } , sub3section .value_forbidden:n = true , sub4section .value_forbidden:n = true , scheme .tl_set:N = \l__ctex_scheme_tl , @@ -158,6 +159,12 @@ %% c70rm.fd, %% c70sf.fd, %% c70tt.fd, +%% jy2zhrm.fd, +%% jy2zhsf.fd, +%% jy2zhtt.fd, +%% jt2zhrm.fd, +%% jt2zhsf.fd, +%% jt2zhtt.fd, %% ctex-fontset-windows.def, %% ctex-fontset-windowsnew.def, %% ctex-fontset-windowsold.def, |