diff options
author | Karl Berry <karl@freefriends.org> | 2024-05-02 19:42:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-05-02 19:42:58 +0000 |
commit | cf666dc5e24281d33947b484351dacfef64b134d (patch) | |
tree | b2acb8a2f3060ea675931e35e5fa60a545ab3dc9 /Master/texmf-dist/tex/latex/easybook | |
parent | d995d42710ee995566cda706a1a3eaa86df24f76 (diff) |
easybook (2may24)
git-svn-id: svn://tug.org/texlive/trunk@71154 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybase.sty | 20 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | 2 |
3 files changed, 21 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty index af23084e975..6c5cd94f34e 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybase.sty +++ b/Master/texmf-dist/tex/latex/easybook/easybase.sty @@ -19,8 +19,8 @@ %% %% This work has the LPPL maintenance status `maintained'. \NeedsTeXFormat{LaTeX2e}[2021/11/15] -\RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2024/04/28}{2024bc} +\RequirePackage{etoolbox} +\ProvidesExplPackage{easybase}{2024/05/01}{2024be} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -144,7 +144,12 @@ \PassOptionsToPackage{list = off}{bicaption} \PassOptionsToPackage{svgnames}{xcolor} \PassOptionsToPackage{many}{tcolorbox} -\ProcessKeysOptions{easybase} +\cs_if_exist:NTF \ProcessKeyOptions + { \ProcessKeyOptions[easybase] } + { + \RequirePackage{l3keys2e} + \ProcessKeysOptions{easybase} + } \PassOptionsToPackage{\g__eb_ctex_options_clist}{ctex} \IfClassLoadedTF{ctexbook}{} { @@ -872,14 +877,15 @@ { \bool_if:NTF \l__eb_normal_footnote_bool { - \bool_if:NT \l__eb_fnmarktext_format_match_bool + \bool_if:NTF \l__eb_fnmarktext_format_match_bool { \tl_clear:N \l__eb_fnmarktext_format_tl } + { \spbset{spcmd = { }} } } { - \bool_if:NT \l__eb_fncustom_format_match_bool + \bool_if:NTF \l__eb_fncustom_format_match_bool { \tl_clear:N \l__eb_fnmarktext_format_tl } + { \spbset{spcmd = { }} } } - \bool_if:NF \l__eb_fnmarktext_format_match_bool { \spbset{spcmd = { }} } \eb@font@footnote } \cs_new_protected:Npn \defupfntmark #1 @@ -1450,7 +1456,7 @@ \ifbool{@filesw} { \tl_if_exist:cF { tf@#1 } - {\iow_new:c { tf@#1 }\iow_open:cn { tf@#1 } { \jobname.#1 }} + { \iow_new:c { tf@#1 }\iow_open:cn { tf@#1 } { \jobname.#1 } } } {} } diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index bb631399248..a7ec891684e 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -19,8 +19,7 @@ %% %% This work has the LPPL maintenance status `maintained'. \NeedsTeXFormat{LaTeX2e}[2021/11/15] -\RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2024/04/28}{2024bc} +\ProvidesExplClass{easybook}{2024/05/01}{2024be} {Easily typesetting Chinese theses or books} \bool_new:N \l__eb_compile_draft_bool @@ -52,7 +51,12 @@ unknown .code:n = \clist_gput_right:NV \g__eb_doc_options_clist \CurrentOption } -\ProcessKeysOptions{easybook} +\cs_if_exist:NTF \ProcessKeyOptions + { \ProcessKeyOptions[easybook] } + { + \RequirePackage{l3keys2e} + \ProcessKeysOptions{easybook} + } \PassOptionsToPackage{no-math,quiet,CJKmath}{xeCJK} \eb_put_ctexbook:V \g__eb_doc_options_clist \LoadClass[UTF8]{ctexbook} diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg index c0d31533413..a438755af72 100644 --- a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg +++ b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg @@ -18,7 +18,7 @@ %% LaTeX version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. -\ProvidesExplFile{eb-tcolorbox.cfg}{2024/04/28}{2024bc} +\ProvidesExplFile{eb-tcolorbox.cfg}{2024/05/01}{2024be} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 |