diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-article.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-article.def | 10 |
1 files changed, 7 insertions, 3 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 03d7154fafe..012358c379a 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 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 article (CTEX)} \ProvidesExplFile{ctex-article.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 @@ -733,7 +733,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 |