summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-book.def
diff options
context:
space:
mode:
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