diff options
author | Karl Berry <karl@freefriends.org> | 2024-02-07 21:01:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-02-07 21:01:51 +0000 |
commit | 884ae6847d7c4a7c5931ed290acb81a40c9e8a6c (patch) | |
tree | 28b8428a9c68d63b9127c9a8cd0a084e3a505cca /Master/texmf-dist/source/latex/easybook/easybook.dtx | |
parent | e78c02731721a5e1cc169973e8e1f669d33ba9ad (diff) |
easybook (7feb24)
git-svn-id: svn://tug.org/texlive/trunk@69736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/easybook/easybook.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/easybook/easybook.dtx | 36 |
1 files changed, 10 insertions, 26 deletions
diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx index 238572988d7..944bc72ec44 100644 --- a/Master/texmf-dist/source/latex/easybook/easybook.dtx +++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx @@ -13,9 +13,9 @@ % % This work has the LPPL maintenance status `maintained'. %<*class> -\NeedsTeXFormat{LaTeX2e}[2020/10/01] +\NeedsTeXFormat{LaTeX2e}[2021/11/15] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2024/02/05}{2024u} +\ProvidesExplClass{easybook}{2024/02/08}{2024x} {Easily typesetting Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -295,9 +295,9 @@ } %</class> %<*package> -\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 } @@ -507,18 +507,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} @@ -864,7 +852,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}, @@ -1005,9 +993,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 } @@ -1019,7 +1008,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 } { @@ -1925,7 +1913,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}} @@ -1997,10 +1984,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 } @@ -2320,7 +2304,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2024/02/05}{2024u} +\ProvidesExplFile{eb-tcolorbox.cfg}{2024/02/08}{2024x} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 |