diff options
Diffstat (limited to 'macros/latex/contrib/easybook/easybook.dtx')
-rw-r--r-- | macros/latex/contrib/easybook/easybook.dtx | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx index 0e348a84ed..52c3418055 100644 --- a/macros/latex/contrib/easybook/easybook.dtx +++ b/macros/latex/contrib/easybook/easybook.dtx @@ -15,7 +15,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2022/02/13}{1.625} +\ProvidesExplClass{easybook}{2022/02/14}{1.626} {Typeset Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -303,7 +303,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2022/02/13}{1.625} +\ProvidesExplPackage{easybase}{2022/02/14}{1.626} {Typeset Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -1027,16 +1027,25 @@ \cs_set_eq:NN \eb@makefntext@save \@makefntext \ctex_at_end_package:nn { footmisc } { - \notbool{FN@para} + \eb_package_date_check:nn { footmisc } { 2022/02/10 } + \notbool{FN@para}{\cs_set_eq:NN \@makefntext \eb@makefntext@save}{} + \ifboolexpr { - \cs_set_eq:NN \@makefntext \eb@makefntext@save - \msg_warning:nn { easybase } { footmisc } - }{} + bool {FN@hangfoot} or + bool {FN@perpage} or + bool {FN@robust} or + ( + notbool {FN@abovefloats} and + bool {FN@fixskip} and + test {\ifnumcomp{\FN@ORspacehandling}{=}{1}} + ) + } + {\msg_warning:nn { easybase } { footmisc }}{} } \msg_new:nnn { easybase } { footmisc } { It~is~not~recommended~that~you~use~the \\ - hang,~symbol,~marginal,~flushmargin~or~bottom \\ + hang,~symbol,~perpage,~marginal,~flushmargin~or~bottom \\ options~of~the~'footmisc'~package. } @@ -2261,7 +2270,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2022/02/13}{1.625} +\ProvidesExplFile{eb-tcolorbox.cfg}{2022/02/14}{1.626} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 |