From 692575a36c0469a733dc7a6f68e945db811fb0c6 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 1 Sep 2021 03:02:13 +0000 Subject: CTAN sync 202109010302 --- macros/latex/contrib/easybook/easybook.dtx | 24 +++++++++++++++--------- macros/latex/contrib/easybook/easybook.pdf | Bin 590675 -> 590672 bytes macros/latex/contrib/easybook/easybook.tex | 4 ++-- 3 files changed, 17 insertions(+), 11 deletions(-) (limited to 'macros/latex/contrib/easybook') diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx index 7c5e902059..3c11935729 100644 --- a/macros/latex/contrib/easybook/easybook.dtx +++ b/macros/latex/contrib/easybook/easybook.dtx @@ -15,7 +15,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2021/08/26}{1.29e} +\ProvidesExplClass{easybook}{2021/08/31}{1.29h} {Typeset Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -297,7 +297,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2021/08/26}{1.29e} +\ProvidesExplPackage{easybase}{2021/08/31}{1.29h} {Typeset Chinese theses or books} \cs_generate_variant:Nn \dim_add:Nn { NV,Nv } @@ -1307,8 +1307,8 @@ { \bool_if:NTF \l__eb_class_book_bool { 0pc } { 0.15pc } } } -\prop_new:N \l__eb_label_name_prop -\prop_set_from_keyval:Nn \l__eb_label_name_prop +\prop_new:N \l__eb_list_label_name_prop +\prop_set_from_keyval:Nn \l__eb_list_label_name_prop { figure = \eb@labelname@lof, table = \eb@labelname@lot @@ -1318,7 +1318,7 @@ \addcontentsline{#1}{#2} { \ifbool{eb@titletoc@hang@fix}{\eb@numberline}{} - {\prop_item:Nn \l__eb_label_name_prop {#2}{#3}}#4 + {\prop_item:Nn \l__eb_list_label_name_prop {#2}{#3}}#4 } } \ctex_patch_cmd:Nnn \lst@MakeCaption @@ -1363,9 +1363,9 @@ \int_compare:nNnT { \c@chapter } > { 0 } { \use:c { the#1chapter }. } \int_to_arabic:v { c@#1section } } -\cs_set:Npn \thebichapter { \eb_arabic:n { bichapter } } +\cs_set:Npn \thebichapter { \@arabic\c@bichapter } \cs_set:Npn \thebisection { \eb_section_counter_prefix:n { bi } } -\cs_set:Npn \thebisubsection { \thebisection.\eb_arabic:n { bisubsection } } +\cs_set:Npn \thebisubsection { \thebisection.\@arabic\c@bisubsection } \cs_set:Npn \thesection { \eb_section_counter_prefix:n { } } \contentsuse{}{tec} @@ -1936,10 +1936,16 @@ \bool_if:NT \l__eb_thmbox_bool { \@ifpackageloaded{tcolorbox} - {\tcolorboxenvironment{#1}{#4}}{} + {\tcolorboxenvironment{#1}{#4}} + {\msg_warning:nn { easybase } { need-tcolorbox }} } \labelformat{#1}{\tl_use:c { c__eb_name_#1_tl }~##1} } +\msg_new:nnn { easybase } { need-tcolorbox } + { + Now~that~the~thmbox~option~is~true. \\ + Please~load~the~tcolorbox~macro~package. + } \cs_set_eq:NN \EBNewTheorem \DeclareTheorem \prop_new:N \l__eb_thmtools_entry_prop \clist_const:Nn \c__eb_thmtools_entry_clist @@ -2394,7 +2400,7 @@ } % %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2021/08/26}{1.29e} +\ProvidesExplFile{eb-tcolorbox.cfg}{2021/08/31}{1.29h} {Customization of tcolorbox for easybook} \tl_gset:Nn \eb@tc@line@skip { 0.5\baselineskip } diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf index 117cc43f28..61676923f4 100644 Binary files a/macros/latex/contrib/easybook/easybook.pdf and b/macros/latex/contrib/easybook/easybook.pdf differ diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex index 2c340d9b21..a7b3d93c2f 100644 --- a/macros/latex/contrib/easybook/easybook.tex +++ b/macros/latex/contrib/easybook/easybook.tex @@ -12,8 +12,8 @@ name = easybook, color-scheme = blue, title = EASYBOOK 使用手册, - version = v1.29e, - date = 2021/08/26, + version = v1.29h, + date = 2021/08/31, authors = 瞿毅, info = 排版简体中文学位论文和书籍, email = quee123@foxmail.com, -- cgit v1.2.3