summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/heading
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-12-12 22:29:51 +0000
committerKarl Berry <karl@freefriends.org>2021-12-12 22:29:51 +0000
commit66b9b693db7f4cf04485426bc74dd2e4ae31a1d9 (patch)
treee5647b45f30860b20f2554764f14aaa0177235a8 /Master/texmf-dist/tex/latex/ctex/heading
parent44348e1db56f09b2409c6372d5b8f53b0b9f1962 (diff)
ctex (12dec21)
git-svn-id: svn://tug.org/texlive/trunk@61285 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/heading')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-article.def15
-rw-r--r--Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-beamer.def4
-rw-r--r--Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def15
-rw-r--r--Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-report.def15
4 files changed, 41 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-article.def b/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-article.def
index 012358c379a..432e9a93701 100644
--- a/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-article.def
+++ b/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-article.def
@@ -24,10 +24,10 @@
%%
%% ---------------------------------------------------------------------
%%
-\GetIdInfo$Id: ctex.dtx 6604451 2021-06-20 17:08:49 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx fcbe2c0 2021-12-12 18:20:54 +0800 Qing Lee <sobenlee@gmail.com> $
{Heading modification for article (CTEX)}
\ProvidesExplFile{ctex-article.def}
- {\ExplFileDate}{2.5.7}{\ExplFileDescription}
+ {\ExplFileDate}{2.5.8}{\ExplFileDescription}
\seq_const_from_clist:Nn \c__ctex_section_headings_seq
{ section , subsection , subsubsection , paragraph , subparagraph }
\seq_new:N \c__ctex_headings_seq
@@ -557,6 +557,17 @@
}
}
}
+\ctex_at_end_package:nn { titlesec }
+ {
+ \ctex_patch_cmd:Nnn \ttl@labelling
+ { \let \ifttl@toclabel \ifttl@label }
+ {
+ \let \ifttl@toclabel \ifttl@label
+ \CTEX@updatettlifname
+ }
+ \cs_new_protected:Npn \CTEX@updatettlifname
+ { \ifttl@label \CTEX@ifnametrue \else: \CTEX@ifnamefalse \fi: }
+ }
\group_begin:
\char_set_catcode_other:N \#
\cs_new_protected:Npn \ctex_titleps_hook:
diff --git a/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-beamer.def b/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-beamer.def
index fd99ad3cd19..38533390f5c 100644
--- a/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-beamer.def
+++ b/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-beamer.def
@@ -24,10 +24,10 @@
%%
%% ---------------------------------------------------------------------
%%
-\GetIdInfo$Id: ctex.dtx 6604451 2021-06-20 17:08:49 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx fcbe2c0 2021-12-12 18:20:54 +0800 Qing Lee <sobenlee@gmail.com> $
{Heading modification for beamer (CTEX)}
\ProvidesExplFile{ctex-beamer.def}
- {\ExplFileDate}{2.5.7}{\ExplFileDescription}
+ {\ExplFileDate}{2.5.8}{\ExplFileDescription}
\seq_const_from_clist:Nn \c__ctex_headings_seq
{ part , section , subsection }
\cs_new_protected:Npn \__ctex_initial_heading:n #1
diff --git a/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def b/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def
index 6a01527d18e..635fbd42e97 100644
--- a/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def
+++ b/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def
@@ -24,10 +24,10 @@
%%
%% ---------------------------------------------------------------------
%%
-\GetIdInfo$Id: ctex.dtx 6604451 2021-06-20 17:08:49 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx fcbe2c0 2021-12-12 18:20:54 +0800 Qing Lee <sobenlee@gmail.com> $
{Heading modification for book (CTEX)}
\ProvidesExplFile{ctex-book.def}
- {\ExplFileDate}{2.5.7}{\ExplFileDescription}
+ {\ExplFileDate}{2.5.8}{\ExplFileDescription}
\seq_const_from_clist:Nn \c__ctex_section_headings_seq
{ section , subsection , subsubsection , paragraph , subparagraph }
\seq_new:N \c__ctex_headings_seq
@@ -684,6 +684,17 @@
}
}
}
+\ctex_at_end_package:nn { titlesec }
+ {
+ \ctex_patch_cmd:Nnn \ttl@labelling
+ { \let \ifttl@toclabel \ifttl@label }
+ {
+ \let \ifttl@toclabel \ifttl@label
+ \CTEX@updatettlifname
+ }
+ \cs_new_protected:Npn \CTEX@updatettlifname
+ { \ifttl@label \CTEX@ifnametrue \else: \CTEX@ifnamefalse \fi: }
+ }
\group_begin:
\char_set_catcode_other:N \#
\cs_new_protected:Npn \ctex_titleps_hook:
diff --git a/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-report.def b/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-report.def
index 5ec20e8892c..ba9f51074a2 100644
--- a/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-report.def
+++ b/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-report.def
@@ -24,10 +24,10 @@
%%
%% ---------------------------------------------------------------------
%%
-\GetIdInfo$Id: ctex.dtx 6604451 2021-06-20 17:08:49 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx fcbe2c0 2021-12-12 18:20:54 +0800 Qing Lee <sobenlee@gmail.com> $
{Heading modification for report (CTEX)}
\ProvidesExplFile{ctex-report.def}
- {\ExplFileDate}{2.5.7}{\ExplFileDescription}
+ {\ExplFileDate}{2.5.8}{\ExplFileDescription}
\seq_const_from_clist:Nn \c__ctex_section_headings_seq
{ section , subsection , subsubsection , paragraph , subparagraph }
\seq_new:N \c__ctex_headings_seq
@@ -679,6 +679,17 @@
}
}
}
+\ctex_at_end_package:nn { titlesec }
+ {
+ \ctex_patch_cmd:Nnn \ttl@labelling
+ { \let \ifttl@toclabel \ifttl@label }
+ {
+ \let \ifttl@toclabel \ifttl@label
+ \CTEX@updatettlifname
+ }
+ \cs_new_protected:Npn \CTEX@updatettlifname
+ { \ifttl@label \CTEX@ifnametrue \else: \CTEX@ifnamefalse \fi: }
+ }
\group_begin:
\char_set_catcode_other:N \#
\cs_new_protected:Npn \ctex_titleps_hook: