From 5bf4853ebb35ad3d6545264980e6d6d600951622 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 22 Nov 2016 22:49:28 +0000
Subject: ctex (22nov16)

git-svn-id: svn://tug.org/texlive/trunk@42554 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/ctex/ctexart.cls | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/ctex/ctexart.cls')

diff --git a/Master/texmf-dist/tex/latex/ctex/ctexart.cls b/Master/texmf-dist/tex/latex/ctex/ctexart.cls
index e6d741c764a..1b9e02f7cf0 100644
--- a/Master/texmf-dist/tex/latex/ctex/ctexart.cls
+++ b/Master/texmf-dist/tex/latex/ctex/ctexart.cls
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 575f038 2016-10-25 17:56:58 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee@gmail.com> $
   {Chinese adapter for class article (CTEX)}
 \ProvidesExplClass{ctexart}
-  {\ExplFileDate}{2.4.5}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
 \tl_const:Nx \c__ctex_version_tl
   { \cs_if_exist_use:cF { ver@ \@currname . \@currext } { 9999/99/99 } }
 \cs_new_eq:cN { ver@ctex.        \@pkgextension } \c__ctex_version_tl
@@ -715,7 +715,7 @@
 \cs_new_eq:NN \CTEX@headingskip \l__ctex_heading_skip
 \ProvideDocumentCommand \partmark { m }
   { \markboth { } { } }
-\cs_new_eq:NN \CTEXifname \use_i:nn
+\cs_new_eq:NN \CTEXifname \use_ii:nn
 \cs_new_protected_nopar:Npn \CTEX@ifnametrue
   { \cs_set_eq:NN \CTEXifname \use_i:nn }
 \cs_new_protected_nopar:Npn \CTEX@ifnamefalse
@@ -901,13 +901,6 @@
       { }
     #2
   }
-\cs_new:Npn \CTEX@chapter@tocline #1#2
-  {
-    \CTEXifname
-      { \protect \numberline { \CTEXthechapter \hspace { .3em } } }
-      { }
-    #2
-  }
 \cs_new_nopar:Npn \CTEXnumberline #1
   {
     \CTEXifname
@@ -1129,6 +1122,7 @@
               { \protect \@secondoftwo }
           }
       }
+    \seq_map_function:NN \c__ctex_headings_seq \ttl@setifthe
   }
 \cs_new_protected:Npn \CTEX@toc@width@n #1
   {
-- 
cgit v1.2.3

