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/source/latex/easybook/easybook.dtx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx index 15185e97b73..023419294b7 100644 --- a/Master/texmf-dist/source/latex/easybook/easybook.dtx +++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx @@ -15,7 +15,7 @@ %<*class> \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 @@ -303,7 +303,7 @@ %<*package> \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 } @@ -430,7 +430,6 @@ } \PassOptionsToPackage{list = off}{bicaption} -\PassOptionsToPackage{nonewpage}{imakeidx} \PassOptionsToPackage{upint}{newtxmath} \PassOptionsToPackage{svgnames}{xcolor} \PassOptionsToPackage{many}{tcolorbox} @@ -474,6 +473,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 @@ -633,8 +633,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} @@ -888,6 +886,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 }, @@ -1222,13 +1221,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 { @@ -2323,7 +2322,7 @@ } % %<*tcolorbox> -\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 @@ -2332,7 +2331,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