summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/ctex-article.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-22 22:49:28 +0000
committerKarl Berry <karl@freefriends.org>2016-11-22 22:49:28 +0000
commit5bf4853ebb35ad3d6545264980e6d6d600951622 (patch)
treeb53e2e8ff66b55ef455245595e419ee75838adc5 /Master/texmf-dist/tex/latex/ctex/ctex-article.def
parenta6bdb7927cba3bf14fc67d5d52c4c5b2513fe771 (diff)
ctex (22nov16)
git-svn-id: svn://tug.org/texlive/trunk@42554 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/ctex-article.def')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/ctex-article.def14
1 files changed, 4 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/ctex-article.def b/Master/texmf-dist/tex/latex/ctex/ctex-article.def
index 1b979abfd09..cad17426814 100644
--- a/Master/texmf-dist/tex/latex/ctex/ctex-article.def
+++ b/Master/texmf-dist/tex/latex/ctex/ctex-article.def
@@ -26,10 +26,10 @@
%%
%% ------------------------------------------------------------------------------
%%
-\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> $
{Heading modification for article (CTEX)}
\ProvidesExplFile{ctex-article.def}
- {\ExplFileDate}{2.4.5}{\ExplFileDescription}
+ {\ExplFileDate}{2.4.6}{\ExplFileDescription}
\seq_new:N \c__ctex_section_headings_seq
\seq_gset_from_clist:Nn \c__ctex_section_headings_seq
{ section , subsection , subsubsection , paragraph , subparagraph }
@@ -152,7 +152,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
@@ -338,13 +338,6 @@
{ }
#2
}
-\cs_new:Npn \CTEX@chapter@tocline #1#2
- {
- \CTEXifname
- { \protect \numberline { \CTEXthechapter \hspace { .3em } } }
- { }
- #2
- }
\cs_new_nopar:Npn \CTEXnumberline #1
{
\CTEXifname
@@ -566,6 +559,7 @@
{ \protect \@secondoftwo }
}
}
+ \seq_map_function:NN \c__ctex_headings_seq \ttl@setifthe
}
\cs_new_protected:Npn \CTEX@toc@width@n #1
{