diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-report.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/heading/ctex-heading-report.def | 10 |
1 files changed, 7 insertions, 3 deletions
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 bf1501ca57a..5ec20e8892c 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 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 report (CTEX)} \ProvidesExplFile{ctex-report.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 @@ -856,7 +856,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 |