diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook/easybase.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybase.sty | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty index 276847cd5af..12dc894080b 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybase.sty +++ b/Master/texmf-dist/tex/latex/easybook/easybase.sty @@ -18,9 +18,9 @@ %% LaTeX version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. -\NeedsTeXFormat{LaTeX2e}[2020/10/01] +\NeedsTeXFormat{LaTeX2e}[2021/11/15] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2024/02/05}{2024u} +\ProvidesExplPackage{easybase}{2024/02/08}{2024x} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -230,18 +230,6 @@ if~you~continue~compiling. \\\\ Please~update~your~macro~package~from~CTAN. } -\eb_seq_map_inline:nn - { - { expl3 } { 2020/10/27 }, - { xparse } { 2020/10/27 }, - { l3keys2e } { 2020/10/27 }, - { caption } { 2020/08/24 }, - { fancyhdr } { 2021/01/28 }, - { siunitx } { 2021/06/22 }, - { tabularray } { 2021/07/01 }, - { spbmark } { 2021/12/15 } - } - { \eb_package_date_check:nn #1 } \NewDocumentCommand{\eb_assign_tag_brackets:n} {>{\SplitArgument{1}{,}}m} @@ -587,7 +575,7 @@ fnafterindent .initial:n = 2em, fnparskip .skip_set:N = \fnparskip, fnparskip .initial:n = 0ex plus .1ex, - fnpara-formatat .tl_set:N = \l__eb_fnpara_format_tl, + fnpara-format .tl_set:N = \l__eb_fnpara_format_tl, fntext-pos .tl_set:N = \l__eb_fntext_position_tl, fntext-pos .initial:n = super, fntext-code .code:n = \eb_assign_fntext_code:n {#1}, @@ -728,9 +716,10 @@ } } } -\cs_set:Npn \@makefntext #1 +\cs_new_protected:Npn \deffntpara #1 + { \cs_set:Npn \@makefntext ##1 {#1} } +\deffntpara { - \group_begin: \str_case:Vn \l__eb_footnote_value_tl { { hang } { \use_i:nn } @@ -742,7 +731,6 @@ \dim_set:NV \parindent \fnafterindent \l__eb_fnpara_format_tl{#1} \tl_if_eq:NnT \l__eb_footnote_value_tl { hang } { \par } - \group_end: } \eb_seq_map_inline:nn { \@footnotetext,\@mpfootnotetext } { @@ -1648,7 +1636,6 @@ \bool_if:NT \l__eb_theorem_support_bool { \RequirePackage{amsthm,thmtools} - \eb_package_date_check:nn { thmtools } { 2020/08/01 } \cs_set_eq:NN \eb@declaretheoremsyle@save \declaretheoremstyle \RenewDocumentCommand{\declaretheoremstyle}{O{}mO{}} {\eb@declaretheoremsyle@save[#1,#3]{#2}} @@ -1720,10 +1707,7 @@ \ctex_at_end_package:nn { unicode-math } { \msg_redirect_module:nnn { unicode-math } { warning } { info } } \ctex_at_end_package:nn { tcolorbox } - { - \eb_package_date_check:nn { tcolorbox } { 2020/10/09 } - \file_if_exist_input:n { eb-tcolorbox.cfg } - } + { \file_if_exist_input:n { eb-tcolorbox.cfg } } \bool_set_true:N \l__eb_backend_bibtex_bool \ctex_define:nn { bibset } |