diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-24 21:27:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-24 21:27:47 +0000 |
commit | 25c79fafb95c8fff1e822b368b8ac1d8239ce2c3 (patch) | |
tree | 1d77c65aac4b35db23b203c9168c1aefa1ecf5a7 /Master/texmf-dist/source/latex | |
parent | 1986a9986e6dccdf6e131584d443f3d3127d5ec3 (diff) |
easybook (24jan22)
git-svn-id: svn://tug.org/texlive/trunk@61727 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/easybook/easybook.dtx | 9 |
1 files changed, 5 insertions, 4 deletions
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 @@ } %</package> %<*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 |