From 78510518401cc9b3aced4cf291ecb7730591091d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 11 Aug 2021 03:00:54 +0000 Subject: CTAN sync 202108110300 --- macros/latex/contrib/easybook/easybook.dtx | 26 +++++++++++++------------- macros/latex/contrib/easybook/easybook.pdf | Bin 584706 -> 584709 bytes macros/latex/contrib/easybook/easybook.tex | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) (limited to 'macros/latex/contrib/easybook') diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx index 6a32dd2f6d..9d4005db90 100644 --- a/macros/latex/contrib/easybook/easybook.dtx +++ b/macros/latex/contrib/easybook/easybook.dtx @@ -8,7 +8,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2021/08/09}{1.28H} +\ProvidesExplClass{easybook}{2021/08/10}{1.28K} {Typeset Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -292,7 +292,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2021/08/09}{1.28H} +\ProvidesExplPackage{easybase}{2021/08/10}{1.28K} {Typeset Chinese theses or books} \cs_generate_variant:Nn \dim_add:Nn { NV,Nv } @@ -363,7 +363,7 @@ } { \IfFileExists{#1.sty}{\RequirePackage{#1}}{} } } -\cs_new_protected:Npn \eb_package_reload_check:nn #1#2 +\cs_new_protected:Npn \eb_if_package_reload:nF #1#2 { \@ifpackageloaded{#1} {\msg_warning:nnn { easybase } { package-reload } {#1}} @@ -381,7 +381,7 @@ \PassOptionsToPackage{#1}{#2} \eb_clist_map_inline:nn {#2} { - \eb_package_reload_check:nn {##1} + \eb_if_package_reload:nF {##1} { \eb@usepackage@save{##1} } } } @@ -619,7 +619,7 @@ \exp_args:Nc \NewDocumentCommand { eb@mark@#1@label@layout } {O{\use:c { CTEXthe#1 }}m} {\tl_set:cn { eb@mark@#1@label } {##1##2}} - \cs_new:cpn { eb_mark_#1_name_bool:n } ##1 + \cs_new:cpn { eb_mark_#1_if_name:n } ##1 { \tl_if_in:nnTF {##1} { [ } { \use:c { eb@mark@#1@label@layout }##1 } @@ -664,11 +664,11 @@ subsec-mark .cs_set:Np = \eb_fancyhf_subsection_mark:n #1, subsec-mark .initial:n = { \CTEXifname{\eb@mark@subsection@label}{}#1 }, - chap-label .code:n = \eb_mark_chapter_name_bool:n {#1}, + chap-label .code:n = \eb_mark_chapter_if_name:n {#1}, chap-label .initial:n = \hspace{1em}, - sec-label .code:n = \eb_mark_section_name_bool:n {#1}, + sec-label .code:n = \eb_mark_section_if_name:n {#1}, sec-label .initial:n = \hspace{0.5em}, - subsec-label .code:n = \eb_mark_subsection_name_bool:n {#1}, + subsec-label .code:n = \eb_mark_subsection_if_name:n {#1}, subsec-label .initial:n = \hspace{0.5em}, headrule .tl_gset:N = \headrule, @@ -682,7 +682,7 @@ \cs_set_eq:NN \eb_mark_uppercase:n \text_uppercase:n \cs_set_eq:NN \eb_mark_nouppercase:n \text_titlecase_first:n -\cs_new:Npn \eb_mark_uppercase_bool:nn #1#2 +\cs_new:Npn \eb_mark_if_uppercase:nn #1#2 { \bool_if:NTF \l__eb_mark_uppercase_bool { \eb_mark_uppercase:n } @@ -692,11 +692,11 @@ \cs_new:Npn \eb@level@markdouble #1#2 { \markboth - {\eb_mark_uppercase_bool:nn {#1} {#2}} - {\ifbool{@twoside}{\eb_mark_uppercase_bool:nn {#1} {#2}}{}} + {\eb_mark_if_uppercase:nn {#1} {#2}} + {\ifbool{@twoside}{\eb_mark_if_uppercase:nn {#1} {#2}}{}} } \cs_new:Npn \eb@level@markright #1#2 - { \markright{\eb_mark_uppercase_bool:nn {#1} {#2}} } + { \markright{\eb_mark_if_uppercase:nn {#1} {#2}} } \cs_new:Npn \eb@level@section@mark #1 { \bool_if:NTF \l__eb_class_book_bool @@ -2396,7 +2396,7 @@ } % %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2021/08/09}{1.28H} +\ProvidesExplFile{eb-tcolorbox.cfg}{2021/08/10}{1.28K} {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 3d0183b324..a9f86a7487 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 34b22931d2..5266be103c 100644 --- a/macros/latex/contrib/easybook/easybook.tex +++ b/macros/latex/contrib/easybook/easybook.tex @@ -11,8 +11,8 @@ { name = easybook, title = EASYBOOK 使用手册, - version = v1.28H, - date = 2021/08/09, + version = v1.28K, + date = 2021/08/10, authors = 瞿毅, info = 排版简体中文学位论文和书籍, email = quee123@foxmail.com, -- cgit v1.2.3