texlive[60393] Master/texmf-dist: easybook (31aug21)

commits+karl at tug.org commits+karl at tug.org
Wed Sep 1 23:02:55 CEST 2021


Revision: 60393
          http://tug.org/svn/texlive?view=revision&revision=60393
Author:   karl
Date:     2021-09-01 23:02:55 +0200 (Wed, 01 Sep 2021)
Log Message:
-----------
easybook (31aug21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/easybook/easybook.pdf
    trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex
    trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
    trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
    trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
    trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg

Modified: trunk/Master/texmf-dist/doc/latex/easybook/easybook.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2021-09-01 20:47:07 UTC (rev 60392)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2021-09-01 21:02:55 UTC (rev 60393)
@@ -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 at foxmail.com,

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-09-01 20:47:07 UTC (rev 60392)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-09-01 21:02:55 UTC (rev 60393)
@@ -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 at labelname@lof,
     table   = \eb at labelname@lot
@@ -1318,7 +1318,7 @@
     \addcontentsline{#1}{#2}
       {
         \ifbool{eb at titletoc@hang at fix}{\eb at 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 at MakeCaption
@@ -1363,9 +1363,9 @@
     \int_compare:nNnT { \c at 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 at 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 at 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 @@
   }
 %</package>
 %<*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 at tc@line at skip { 0.5\baselineskip }

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-09-01 20:47:07 UTC (rev 60392)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-09-01 21:02:55 UTC (rev 60393)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \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 }
@@ -1030,8 +1030,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 at labelname@lof,
     table   = \eb at labelname@lot
@@ -1041,7 +1041,7 @@
     \addcontentsline{#1}{#2}
       {
         \ifbool{eb at titletoc@hang at fix}{\eb at 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 at MakeCaption
@@ -1086,9 +1086,9 @@
     \int_compare:nNnT { \c at 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 at 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 at bisubsection }
 \cs_set:Npn \thesection { \eb_section_counter_prefix:n { } }
 
 \contentsuse{}{tec}
@@ -1659,10 +1659,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

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-09-01 20:47:07 UTC (rev 60392)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-09-01 21:02:55 UTC (rev 60393)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \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

Modified: trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2021-09-01 20:47:07 UTC (rev 60392)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2021-09-01 21:02:55 UTC (rev 60393)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\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 at tc@line at skip { 0.5\baselineskip }



More information about the tex-live-commits mailing list.