From 39292ad9c4659dad3650f9181e340b0c4016551a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 13 Mar 2022 20:47:37 +0000 Subject: easybook (13mar22) git-svn-id: svn://tug.org/texlive/trunk@62682 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/easybook/easybase.sty | 13 ++++++------- Master/texmf-dist/tex/latex/easybook/easybook.cls | 2 +- Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | 3 +-- 3 files changed, 8 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty index 0f3a998a38e..9046bcebb73 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybase.sty +++ b/Master/texmf-dist/tex/latex/easybook/easybase.sty @@ -20,7 +20,7 @@ %% This work has the LPPL maintenance status `maintained'. \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2022/03/11}{1.645} +\ProvidesExplPackage{easybase}{2022/03/13}{1.648} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -147,7 +147,6 @@ } \PassOptionsToPackage{list = off}{bicaption} -\PassOptionsToPackage{nonewpage}{imakeidx} \PassOptionsToPackage{upint}{newtxmath} \PassOptionsToPackage{svgnames}{xcolor} \PassOptionsToPackage{many}{tcolorbox} @@ -191,6 +190,7 @@ \newcounter{chapter} \providebool{@mainmatter} \bool_set_false:N \l__eb_class_mode_book_bool + \ctex_define:n { chapter .meta:nn = { ctex/chapter } {#1} } \ctex_define:n { chapter/tocline .code:n = { } } } \bool_if:NF \l__eb_class_mode_book_bool @@ -350,8 +350,6 @@ { \use:c { eb@mark@#1@label@layout }{##1} } } } -\cs_gset_eq:NN \easyhead \fancyhead -\cs_gset_eq:NN \easyfoot \fancyfoot \NewDocumentCommand{\markrule} {O{\textwidth}D(){ctex@frame}m>{\SplitArgument{1}{|}}O{}} {\eb_draw_markrule:nnnnn {#1} {#2} {#3} #4} @@ -605,6 +603,7 @@ { plain,hang,bottom,para,flush } { \eb_footnote_value_handle:n {#1} }, footnotetype .value_required:n = true, + footnotetype/default .meta:n = footnotetype/plain, footnotetype .initial:n = hang, fnmark-vmove .code:n = \eb_fnmate_move_set:nnn {#1} { mark } { v }, fnmark-hmove .code:n = \eb_fnmate_move_set:nnn {#1} { mark } { h }, @@ -939,13 +938,13 @@ \NewDocumentCommand{\counteruse}{sO{arabic}D(){.}mod()} { \IfBooleanF{#1}{\stepcounter{#4}} - \tl_set:cn { theeb@#4 } + \tl_set:cn { theeb-#4 } { \IfValueT{#5}{\use:c { the#5 }#3} \use:c {#2}{#4} } - \tl_use:c { theeb@#4 } - \eb_current_label:n { eb@#4 } + \tl_use:c { theeb-#4 } + \eb_current_label:n { eb-#4 } } \cs_new:Npn \eb_section_counter_prefix:n #1 { diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 55228fecd4e..06c9dbc4aec 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -20,7 +20,7 @@ %% This work has the LPPL maintenance status `maintained'. \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2022/03/11}{1.645} +\ProvidesExplClass{easybook}{2022/03/13}{1.648} {Easily typesetting Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg index c71408f8793..5123c166958 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}{2022/03/11}{1.645} +\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/13}{1.648} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 @@ -27,7 +27,6 @@ { \tcbset{#1/.style = {#2}} } \cs_new_protected:Npn \tcbappstyle { \@ifstar{\deftcbstyle}{\addtotcbstyle} } -\cs_set_eq:NN \newtcbstyle \deftcbstyle \deftcbstyle{tc-easybox} { -- cgit v1.2.3