summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-20 19:56:11 +0000
committerKarl Berry <karl@freefriends.org>2021-06-20 19:56:11 +0000
commit0e008fd431955e2802ab0abb5220e3bfb78256e6 (patch)
tree00a71b8590fe7dadb12de99f13729cb46a223dd2 /Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def
parent0dfccc591702a7d52fd4739ddb2622d1769cf422 (diff)
ctex (20jun21)
git-svn-id: svn://tug.org/texlive/trunk@59654 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def10
1 files changed, 7 insertions, 3 deletions
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 c8f308a4438..6a01527d18e 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 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 modification for book (CTEX)}
\ProvidesExplFile{ctex-book.def}
- {\ExplFileDate}{2.5.6}{\ExplFileDescription}
+ {\ExplFileDate}{2.5.7}{\ExplFileDescription}
\seq_const_from_clist:Nn \c__ctex_section_headings_seq
{ section , subsection , subsubsection , paragraph , subparagraph }
\seq_new:N \c__ctex_headings_seq
@@ -861,7 +861,11 @@
\cs_new_protected:Npn \ctex_cleveref_hook:
{
\@ifpackageloaded { hyperref }
- { \__ctex_cleveref_hook_aux:N \H@refstepcounter }
+ {
+ \@ifpackagewith { hyperref } { implicit = false }
+ { }
+ { \__ctex_cleveref_hook_aux:N \H@refstepcounter }
+ }
{
\__ctex_cleveref_hook_aux:N \refstepcounter@noarg
\__ctex_cleveref_hook_aux:N \refstepcounter@optarg