texlive[74701] Master/texmf-dist: easybook (19mar25)

commits+karl at tug.org commits+karl at tug.org
Wed Mar 19 21:20:22 CET 2025


Revision: 74701
          https://tug.org/svn/texlive?view=revision&revision=74701
Author:   karl
Date:     2025-03-19 21:20:22 +0100 (Wed, 19 Mar 2025)
Log Message:
-----------
easybook (19mar25)

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	2025-03-19 20:20:11 UTC (rev 74700)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2025-03-19 20:20:22 UTC (rev 74701)
@@ -23,8 +23,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2025s,
-    date            = 2025/02/24,
+    version         = v2025t,
+    date            = 2025/03/19,
     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	2025-03-19 20:20:11 UTC (rev 74700)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2025-03-19 20:20:22 UTC (rev 74701)
@@ -14,7 +14,7 @@
 % This work has the LPPL maintenance status `maintained'.
 %<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15]
 %<*class>
-\ProvidesExplClass{easybook}{2025/02/24}{2025s}
+\ProvidesExplClass{easybook}{2025/03/19}{2025t}
   {Easily typesetting Chinese theses or books}
 
 \bool_new:N \l__eb_compile_draft_bool
@@ -301,7 +301,7 @@
   {
     \ctex_set:nn { part }
       {
-        format      = \color{ctex at frame}\sffamily\LARGE,
+        format      = \color{ctex at frame}\sffamily\Large,
         break       = \if at noskipsec\leavevmode\fi\par,
         beforeskip  = 3ex,
         afterskip   = 3ex
@@ -325,7 +325,7 @@
 %</class>
 %<*package>
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2025/02/24}{2025s}
+\ProvidesExplPackage{easybase}{2025/03/19}{2025t}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -2072,6 +2072,12 @@
 \msg_new:nnn { easybase } { undefined-toc-style }
   { The~contents~style~'#1'~of~'#2'~is~not~defined. }
 
+\cs_new:Npn \eb_toc_insert_vspace:
+  {
+    \tl_if_eq:NnTF \g__eb_bilist_permute_value_tl { mix }
+      { \ebifbitoc{}{\addvspace{1pc}} }
+      { \addvspace{1pc} }
+  }
 \ctex_set:n
   {
     part          =
@@ -2078,9 +2084,8 @@
       {
         tocformat =
           {
-            \tl_if_eq:NnTF \g__eb_bilist_permute_value_tl { mix }
-              { \ebifbitoc{}{\addvspace{1pc}} }
-              { \addvspace{1pc} }
+            \bool_if:NT \l__eb_class_mode_book_bool
+              { \eb_toc_insert_vspace: }
             \sffamily\large
           },
         tocindent = 0pt,
@@ -2089,13 +2094,7 @@
       },
     chapter       =
       {
-        tocformat =
-          {
-            \tl_if_eq:NnTF \g__eb_bilist_permute_value_tl { mix }
-              { \ebifbitoc{}{\addvspace{1pc}} }
-              { \addvspace{1pc} }
-            \sffamily
-          },
+        tocformat = \eb_toc_insert_vspace:\sffamily,
         tocindent = 0pt,
         tocrule   = \cdottocrule[\bfseries],
         tocline   = \CTEXnumberline{#1}#2
@@ -3014,7 +3013,7 @@
             \let\footnote\thanks
           }
           {}
-        \bgroup\LARGE\@title\par\egroup
+        \bgroup\sffamily\LARGE\@title\par\egroup
         \notbool{@titlepage}{\vskip 1.5em}{\vskip 3em}
         \bgroup\large
         \begin{tabular}[t]{c}
@@ -3063,7 +3062,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2025/02/24}{2025s}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2025/03/19}{2025t}
   {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	2025-03-19 20:20:11 UTC (rev 74700)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2025-03-19 20:20:22 UTC (rev 74701)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2025/02/24}{2025s}
+\ProvidesExplPackage{easybase}{2025/03/19}{2025t}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1767,6 +1767,12 @@
 \msg_new:nnn { easybase } { undefined-toc-style }
   { The~contents~style~'#1'~of~'#2'~is~not~defined. }
 
+\cs_new:Npn \eb_toc_insert_vspace:
+  {
+    \tl_if_eq:NnTF \g__eb_bilist_permute_value_tl { mix }
+      { \ebifbitoc{}{\addvspace{1pc}} }
+      { \addvspace{1pc} }
+  }
 \ctex_set:n
   {
     part          =
@@ -1773,9 +1779,8 @@
       {
         tocformat =
           {
-            \tl_if_eq:NnTF \g__eb_bilist_permute_value_tl { mix }
-              { \ebifbitoc{}{\addvspace{1pc}} }
-              { \addvspace{1pc} }
+            \bool_if:NT \l__eb_class_mode_book_bool
+              { \eb_toc_insert_vspace: }
             \sffamily\large
           },
         tocindent = 0pt,
@@ -1784,13 +1789,7 @@
       },
     chapter       =
       {
-        tocformat =
-          {
-            \tl_if_eq:NnTF \g__eb_bilist_permute_value_tl { mix }
-              { \ebifbitoc{}{\addvspace{1pc}} }
-              { \addvspace{1pc} }
-            \sffamily
-          },
+        tocformat = \eb_toc_insert_vspace:\sffamily,
         tocindent = 0pt,
         tocrule   = \cdottocrule[\bfseries],
         tocline   = \CTEXnumberline{#1}#2
@@ -2709,7 +2708,7 @@
             \let\footnote\thanks
           }
           {}
-        \bgroup\LARGE\@title\par\egroup
+        \bgroup\sffamily\LARGE\@title\par\egroup
         \notbool{@titlepage}{\vskip 1.5em}{\vskip 3em}
         \bgroup\large
         \begin{tabular}[t]{c}

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2025-03-19 20:20:11 UTC (rev 74700)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2025-03-19 20:20:22 UTC (rev 74701)
@@ -19,7 +19,7 @@
 %% 
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
-\ProvidesExplClass{easybook}{2025/02/24}{2025s}
+\ProvidesExplClass{easybook}{2025/03/19}{2025t}
   {Easily typesetting Chinese theses or books}
 
 \bool_new:N \l__eb_compile_draft_bool
@@ -306,7 +306,7 @@
   {
     \ctex_set:nn { part }
       {
-        format      = \color{ctex at frame}\sffamily\LARGE,
+        format      = \color{ctex at frame}\sffamily\Large,
         break       = \if at noskipsec\leavevmode\fi\par,
         beforeskip  = 3ex,
         afterskip   = 3ex

Modified: trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2025-03-19 20:20:11 UTC (rev 74700)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2025-03-19 20:20:22 UTC (rev 74701)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2025/02/24}{2025s}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2025/03/19}{2025t}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2



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