From 25c79fafb95c8fff1e822b368b8ac1d8239ce2c3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 Jan 2022 21:27:47 +0000 Subject: easybook (24jan22) git-svn-id: svn://tug.org/texlive/trunk@61727 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/easybook/easybook.dtx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx index 6bb74a21911..e23d540b27d 100644 --- a/Master/texmf-dist/source/latex/easybook/easybook.dtx +++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx @@ -15,7 +15,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2022/01/23}{1.50} +\ProvidesExplClass{easybook}{2022/01/24}{1.51} {Typeset Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -305,7 +305,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2022/01/23}{1.50} +\ProvidesExplPackage{easybase}{2022/01/24}{1.51} {Typeset Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -1972,6 +1972,8 @@ { \cs_undefine:c {#1} \cs_undefine:c { c@#1 } + \@ifpackageloaded{cleveref}{} + {\labelformat{#1}{\tl_use:c { #1name }~##1}} } \eb_thm_biname_set:nnn {#1} {#2} {#3} \declaretheorem{#1}[ @@ -1986,7 +1988,6 @@ \bool_if:cF { l__eb_tcb_repeat_env_#1_bool } { \tcolorboxenvironment{#1}{#4} } } { } - \labelformat{#1}{\tl_use:c { #1name }~##1} } \prop_new:N \l__eb_thmtools_entry_prop @@ -2432,7 +2433,7 @@ } % %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/23}{1.50} +\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/24}{1.51} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 -- cgit v1.2.3