texlive[73026] Master/texmf-dist: easybook (3dec24)

commits+karl at tug.org commits+karl at tug.org
Tue Dec 3 22:58:50 CET 2024


Revision: 73026
          https://tug.org/svn/texlive?view=revision&revision=73026
Author:   karl
Date:     2024-12-03 22:58:50 +0100 (Tue, 03 Dec 2024)
Log Message:
-----------
easybook (3dec24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/easybook/README.md
    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/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/easybook/README.md	2024-12-03 21:58:40 UTC (rev 73025)
+++ trunk/Master/texmf-dist/doc/latex/easybook/README.md	2024-12-03 21:58:50 UTC (rev 73026)
@@ -1,5 +1,5 @@
 # The `easybook` document class
-Easily typesetting Chinese theses or books (v2024ho)
+Easily typesetting Chinese theses or books (v2024hp)
 
 ## Abstract
 `easybook` is a pure academic template created based on the `ctexbook` book document class. It also has the functions of `book` and `article` document class. Combined with the general framework design of the theses of many universities in China, providing multiple commands and interfaces allows users to easily customize the theses templates. Its basic macro package `easybase` can also be used with `ctex` and standard document classes.

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	2024-12-03 21:58:40 UTC (rev 73025)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2024-12-03 21:58:50 UTC (rev 73026)
@@ -23,8 +23,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2024ho,
-    date            = 2024/11/23,
+    version         = v2024hp,
+    date            = 2024/12/03,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = toquyi at 163.com,

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-12-03 21:58:40 UTC (rev 73025)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-12-03 21:58:50 UTC (rev 73026)
@@ -14,7 +14,7 @@
 % This work has the LPPL maintenance status `maintained'.
 %<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15]
 %<*class>
-\ProvidesExplClass{easybook}{2024/11/23}{2024ho}
+\ProvidesExplClass{easybook}{2024/12/03}{2024hp}
   {Easily typesetting Chinese theses or books}
 
 \bool_new:N \l__eb_compile_draft_bool
@@ -302,7 +302,7 @@
 %</class>
 %<*package>
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/11/23}{2024ho}
+\ProvidesExplPackage{easybase}{2024/12/03}{2024hp}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -978,17 +978,17 @@
       }
   }
 \def\@outputbox at attachfloats{\@combinefloats}
-\NewHook{makecol/footins/before}
-\NewHook{makecol/footins/begin}
+\NewHook{eb/footins/before}
+\NewHook{eb/footins/begin}
 \def\@outputbox at appendfootnotes
   {
     \@if at footnotes@TF
       {
-        \UseHook{makecol/footins/before}
+        \UseHook{eb/footins/before}
         \@outputbox at append
           {
             \vskip\skip\footins
-            \UseHook{makecol/footins/begin}
+            \UseHook{eb/footins/begin}
             \color at begingroup
             \normalcolor
             \footnoterule
@@ -1349,12 +1349,12 @@
 \cs_set:Npn \thebisection { \eb_section_counter_prefix:n { bi } }
 \cs_set:Npn \thebisubsection { \thebisection.\@arabic\c at bisubsection }
 \cs_set:Npn \thesection { \eb_section_counter_prefix:n { } }
-\NewHook{bitocline/before}
-\DeclareHookRule{bitocline/before}{chapter}{<}{code}
+\NewHook{eb/addbitocline/begin}
+\DeclareHookRule{eb/addbitocline/begin}{chapter}{<}{code}
 \NewDocumentCommand{\BeforeAddtoBitoc}{sm}
   {
-    \IfBooleanT{#1}{\RemoveFromHook{bitocline/before}[code]}
-    \AddToHook{bitocline/before}[code]{#2}
+    \IfBooleanT{#1}{\RemoveFromHook{eb/addbitocline/begin}[code]}
+    \AddToHook{eb/addbitocline/begin}[code]{#2}
   }
 \cs_set_eq:NN \BeforeAddBitoc \BeforeAddtoBitoc
 \cs_new_protected:Npn \CTEX at addbitocline #1#2
@@ -1363,7 +1363,7 @@
     \def\CTEX at prechapter{\CTEX at prebichapter}
     \def\CTEX at thechapter{\CTEX at bichapter@number}
     \def\CTEX at postchapter{\CTEX at postbichapter}
-    \UseHook{bitocline/before}
+    \UseHook{eb/addbitocline/begin}
     \tl_if_eq:NnTF \g__eb_bilist_permute_value_tl { mix }
       { \addcontentsline{toc}{#1} }
       { \addcontentsline{tec}{#1} }
@@ -1906,14 +1906,17 @@
     unknown .code:n       = \eb_msg_deprecated_option:n { toc }
   }
 
-\NewHookWithArguments{starttoc/after}{1}
-\AddToHookWithArguments{starttoc/after}[aux]
+\NewHookWithArguments{eb/starttoc/end}{1}
+\AddToHookWithArguments{eb/starttoc/end}[aux]
   {
-    \ifbool{@filesw}
+    \AddToHook{enddocument/afterlastpage}
       {
-        \tl_if_exist:cF { tf@#1 }
-          { \iow_new:c { tf@#1 }\iow_open:cn { tf@#1 } { \jobname.#1 } }
-      }{}
+        \ifbool{@filesw}
+          {
+            \tl_if_exist:cF { tf@#1 }
+              { \iow_new:c { tf@#1 }\iow_open:cn { tf@#1 } { \jobname.#1 } }
+          }{}
+      }
   }
 \cs_set_eq:NN \eb at starttoc \@starttoc
 \cs_set:Npn \@starttoc #1
@@ -1923,8 +1926,7 @@
         \group_begin:
         \makeatletter
         \file_if_exist_input:n { \jobname.#1 }
-        \AddToHook{enddocument/afterlastpage}
-          {\UseHookWithArguments{starttoc/after}{1}{#1}}
+        \UseHookWithArguments{eb/starttoc/end}{1}{#1}
         \boolfalse{@nobreak}
         \group_end:
       }
@@ -2057,7 +2059,7 @@
     \ctex_assign_heading_name:nn { biappendix } {#1}
     \bool_if:NTF \l__eb_class_mode_book_bool
       {
-        \AddToHook{bitocline/before}[chapter]
+        \AddToHook{eb/addbitocline/begin}[chapter]
           {
             \def\CTEX at prechapter{\CTEX at prebiappendix}
             \def\CTEX at thechapter{#2}
@@ -2981,7 +2983,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/11/23}{2024ho}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/12/03}{2024hp}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-12-03 21:58:40 UTC (rev 73025)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-12-03 21:58:50 UTC (rev 73026)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/11/23}{2024ho}
+\ProvidesExplPackage{easybase}{2024/12/03}{2024hp}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -696,17 +696,17 @@
       }
   }
 \def\@outputbox at attachfloats{\@combinefloats}
-\NewHook{makecol/footins/before}
-\NewHook{makecol/footins/begin}
+\NewHook{eb/footins/before}
+\NewHook{eb/footins/begin}
 \def\@outputbox at appendfootnotes
   {
     \@if at footnotes@TF
       {
-        \UseHook{makecol/footins/before}
+        \UseHook{eb/footins/before}
         \@outputbox at append
           {
             \vskip\skip\footins
-            \UseHook{makecol/footins/begin}
+            \UseHook{eb/footins/begin}
             \color at begingroup
             \normalcolor
             \footnoterule
@@ -1067,12 +1067,12 @@
 \cs_set:Npn \thebisection { \eb_section_counter_prefix:n { bi } }
 \cs_set:Npn \thebisubsection { \thebisection.\@arabic\c at bisubsection }
 \cs_set:Npn \thesection { \eb_section_counter_prefix:n { } }
-\NewHook{bitocline/before}
-\DeclareHookRule{bitocline/before}{chapter}{<}{code}
+\NewHook{eb/addbitocline/begin}
+\DeclareHookRule{eb/addbitocline/begin}{chapter}{<}{code}
 \NewDocumentCommand{\BeforeAddtoBitoc}{sm}
   {
-    \IfBooleanT{#1}{\RemoveFromHook{bitocline/before}[code]}
-    \AddToHook{bitocline/before}[code]{#2}
+    \IfBooleanT{#1}{\RemoveFromHook{eb/addbitocline/begin}[code]}
+    \AddToHook{eb/addbitocline/begin}[code]{#2}
   }
 \cs_set_eq:NN \BeforeAddBitoc \BeforeAddtoBitoc
 \cs_new_protected:Npn \CTEX at addbitocline #1#2
@@ -1081,7 +1081,7 @@
     \def\CTEX at prechapter{\CTEX at prebichapter}
     \def\CTEX at thechapter{\CTEX at bichapter@number}
     \def\CTEX at postchapter{\CTEX at postbichapter}
-    \UseHook{bitocline/before}
+    \UseHook{eb/addbitocline/begin}
     \tl_if_eq:NnTF \g__eb_bilist_permute_value_tl { mix }
       { \addcontentsline{toc}{#1} }
       { \addcontentsline{tec}{#1} }
@@ -1624,14 +1624,17 @@
     unknown .code:n       = \eb_msg_deprecated_option:n { toc }
   }
 
-\NewHookWithArguments{starttoc/after}{1}
-\AddToHookWithArguments{starttoc/after}[aux]
+\NewHookWithArguments{eb/starttoc/end}{1}
+\AddToHookWithArguments{eb/starttoc/end}[aux]
   {
-    \ifbool{@filesw}
+    \AddToHook{enddocument/afterlastpage}
       {
-        \tl_if_exist:cF { tf@#1 }
-          { \iow_new:c { tf@#1 }\iow_open:cn { tf@#1 } { \jobname.#1 } }
-      }{}
+        \ifbool{@filesw}
+          {
+            \tl_if_exist:cF { tf@#1 }
+              { \iow_new:c { tf@#1 }\iow_open:cn { tf@#1 } { \jobname.#1 } }
+          }{}
+      }
   }
 \cs_set_eq:NN \eb at starttoc \@starttoc
 \cs_set:Npn \@starttoc #1
@@ -1641,8 +1644,7 @@
         \group_begin:
         \makeatletter
         \file_if_exist_input:n { \jobname.#1 }
-        \AddToHook{enddocument/afterlastpage}
-          {\UseHookWithArguments{starttoc/after}{1}{#1}}
+        \UseHookWithArguments{eb/starttoc/end}{1}{#1}
         \boolfalse{@nobreak}
         \group_end:
       }
@@ -1775,7 +1777,7 @@
     \ctex_assign_heading_name:nn { biappendix } {#1}
     \bool_if:NTF \l__eb_class_mode_book_bool
       {
-        \AddToHook{bitocline/before}[chapter]
+        \AddToHook{eb/addbitocline/begin}[chapter]
           {
             \def\CTEX at prechapter{\CTEX at prebiappendix}
             \def\CTEX at thechapter{#2}

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-12-03 21:58:40 UTC (rev 73025)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-12-03 21:58:50 UTC (rev 73026)
@@ -19,7 +19,7 @@
 %% 
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
-\ProvidesExplClass{easybook}{2024/11/23}{2024ho}
+\ProvidesExplClass{easybook}{2024/12/03}{2024hp}
   {Easily typesetting Chinese theses or books}
 
 \bool_new: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	2024-12-03 21:58:40 UTC (rev 73025)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2024-12-03 21:58:50 UTC (rev 73026)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/11/23}{2024ho}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/12/03}{2024hp}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2



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