texlive[73534] Master/texmf-dist: easybook (20jan25)

commits+karl at tug.org commits+karl at tug.org
Mon Jan 20 22:27:53 CET 2025


Revision: 73534
          https://tug.org/svn/texlive?view=revision&revision=73534
Author:   karl
Date:     2025-01-20 22:27:52 +0100 (Mon, 20 Jan 2025)
Log Message:
-----------
easybook (20jan25)

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	2025-01-20 21:27:43 UTC (rev 73533)
+++ trunk/Master/texmf-dist/doc/latex/easybook/README.md	2025-01-20 21:27:52 UTC (rev 73534)
@@ -1,5 +1,5 @@
 # The `easybook` document class
-Easily typesetting Chinese theses or books (v2025b)
+Easily typesetting Chinese theses or books (v2025c)
 
 ## 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	2025-01-20 21:27:43 UTC (rev 73533)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2025-01-20 21:27:52 UTC (rev 73534)
@@ -23,8 +23,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2025b,
-    date            = 2025/01/03,
+    version         = v2025c,
+    date            = 2025/01/20,
     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-01-20 21:27:43 UTC (rev 73533)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2025-01-20 21:27:52 UTC (rev 73534)
@@ -14,7 +14,7 @@
 % This work has the LPPL maintenance status `maintained'.
 %<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15]
 %<*class>
-\ProvidesExplClass{easybook}{2025/01/03}{2025b}
+\ProvidesExplClass{easybook}{2025/01/20}{2025c}
   {Easily typesetting Chinese theses or books}
 
 \bool_new:N \l__eb_compile_draft_bool
@@ -308,7 +308,7 @@
 %</class>
 %<*package>
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2025/01/03}{2025b}
+\ProvidesExplPackage{easybase}{2025/01/20}{2025c}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1908,6 +1908,7 @@
       }
   }
 \cs_set:Npn \cdottocrule { \tocrule{\textperiodcentered} }
+\bool_new:N \l__eb_toc_dot_align_bool
 \ctex_define:nn { toc }
   {
     lolskip .skip_set:N   = \eb at toc@lol at skip,
@@ -1916,7 +1917,17 @@
     between .initial:n    = \bool_if:NT \l__eb_class_mode_book_bool { \vspace*{-1pc} },
     bibetween .tl_set:N   = \l__eb_toc_bititle_between_hook_tl,
     bibetween .initial:n  = \bool_if:NT \l__eb_class_mode_book_bool { \vspace*{-1pc} },
-    dotalign .bool_set:N  = \l__eb_toc_dot_align_bool,
+    dotalign .choice:,
+    dotalign/true .code:n   =
+      {
+        \bool_set_true:N \l__eb_toc_dot_align_bool
+        \contentsmargin{1.55em}
+      },
+    dotalign/false .code:n  =
+      {
+        \bool_set_false:N \l__eb_toc_dot_align_bool
+        \contentsmargin{0pt}
+      },
     dotalign .default:n   = true,
     dotalign .initial:n   = true,
     hang .bool_set:N      = \l__eb_toc_entry_hang_bool,
@@ -3008,7 +3019,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2025/01/03}{2025b}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2025/01/20}{2025c}
   {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-01-20 21:27:43 UTC (rev 73533)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2025-01-20 21:27:52 UTC (rev 73534)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2025/01/03}{2025b}
+\ProvidesExplPackage{easybase}{2025/01/20}{2025c}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1620,6 +1620,7 @@
       }
   }
 \cs_set:Npn \cdottocrule { \tocrule{\textperiodcentered} }
+\bool_new:N \l__eb_toc_dot_align_bool
 \ctex_define:nn { toc }
   {
     lolskip .skip_set:N   = \eb at toc@lol at skip,
@@ -1628,7 +1629,17 @@
     between .initial:n    = \bool_if:NT \l__eb_class_mode_book_bool { \vspace*{-1pc} },
     bibetween .tl_set:N   = \l__eb_toc_bititle_between_hook_tl,
     bibetween .initial:n  = \bool_if:NT \l__eb_class_mode_book_bool { \vspace*{-1pc} },
-    dotalign .bool_set:N  = \l__eb_toc_dot_align_bool,
+    dotalign .choice:,
+    dotalign/true .code:n   =
+      {
+        \bool_set_true:N \l__eb_toc_dot_align_bool
+        \contentsmargin{1.55em}
+      },
+    dotalign/false .code:n  =
+      {
+        \bool_set_false:N \l__eb_toc_dot_align_bool
+        \contentsmargin{0pt}
+      },
     dotalign .default:n   = true,
     dotalign .initial:n   = true,
     hang .bool_set:N      = \l__eb_toc_entry_hang_bool,

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2025-01-20 21:27:43 UTC (rev 73533)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2025-01-20 21:27:52 UTC (rev 73534)
@@ -19,7 +19,7 @@
 %% 
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
-\ProvidesExplClass{easybook}{2025/01/03}{2025b}
+\ProvidesExplClass{easybook}{2025/01/20}{2025c}
   {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	2025-01-20 21:27:43 UTC (rev 73533)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2025-01-20 21:27:52 UTC (rev 73534)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2025/01/03}{2025b}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2025/01/20}{2025c}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2



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