texlive[71589] Master/texmf-dist: easybook (22jun24)

commits+karl at tug.org commits+karl at tug.org
Sat Jun 22 22:22:02 CEST 2024


Revision: 71589
          https://tug.org/svn/texlive?view=revision&revision=71589
Author:   karl
Date:     2024-06-22 22:22:01 +0200 (Sat, 22 Jun 2024)
Log Message:
-----------
easybook (22jun24)

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-06-22 20:21:52 UTC (rev 71588)
+++ trunk/Master/texmf-dist/doc/latex/easybook/README.md	2024-06-22 20:22:01 UTC (rev 71589)
@@ -1,5 +1,5 @@
-# `easybook` document class
-Easily typesetting Chinese theses or books (v2024cg)
+# The `easybook` document class
+Easily typesetting Chinese theses or books (v2024ci)
 
 ## 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-06-22 20:21:52 UTC (rev 71588)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2024-06-22 20:22:01 UTC (rev 71589)
@@ -23,8 +23,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2024cg,
-    date            = 2024/06/20,
+    version         = v2024ci,
+    date            = 2024/06/22,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = toquyi at 163.com,
@@ -50,10 +50,10 @@
 \DeclareFieldFormat[book]{title}{\textsf{#1}}
 \geometry{margin = 1in,marginparwidth = 0.6in,footskip = 0.5in}
 \renewlist{cnltxlist}{description}{2}
-\SetEnumitemValue{label}{smallbullet}{\small\color{DarkBlue}\textbullet}
+\SetEnumitemValue{label}{textbullet}{\color{DarkBlue}\textbullet}
 \setlist{nosep,topsep = \smallskipamount,labelsep = 0.5em}
-\setlist[1]{labelindent = \parindent}
-\setlist[itemize,1]{label = smallbullet,leftmargin = *}
+\setlist[1]{labelindent = \parindent,leftmargin = *}
+\setlist[itemize,1]{label = textbullet}
 \setlist[cnltxlist]
   {
     leftmargin    = 0pt,
@@ -188,6 +188,12 @@
 \def\keylit{\@cnltx at option@item\keyis}
 \def\keychoice{\@cnltx at option@item\choicekey}
 \def\keybool{\@cnltx at option@item\boolkey}
+\renewenvironment{changelogdescription}
+  {\begin{description}[leftmargin = \parindent]}
+  {\end{description}}
+\renewenvironment{changelogitemize}
+  {\begin{itemize}[leftmargin = *]}
+  {\end{itemize}}
 \makeatother\ExplSyntaxOff
 \labelformat{section}{节#1}
 \labelformat{subsection}{小节#1}

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-06-22 20:21:52 UTC (rev 71588)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-06-22 20:22:01 UTC (rev 71589)
@@ -14,13 +14,13 @@
 % This work has the LPPL maintenance status `maintained'.
 %<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15]
 %<*class>
-\ProvidesExplClass{easybook}{2024/06/20}{2024cg}
+\ProvidesExplClass{easybook}{2024/06/22}{2024ci}
   {Easily typesetting Chinese theses or books}
 
 \bool_new:N \l__eb_compile_draft_bool
 \bool_new:N \l__eb_title_newline_bool
-\bool_set_true:N  \l__eb_class_mode_book_bool
-\clist_new:N      \g__eb_doc_options_clist
+\bool_set_true:N \l__eb_class_mode_book_bool
+\clist_new:N \g__eb_doc_options_clist
 \cs_new_protected:Npn \eb_put_ctexbook:n #1
   { \PassOptionsToClass{#1}{ctexbook} }
 \cs_generate_variant:Nn \eb_put_ctexbook:n { V }
@@ -66,10 +66,11 @@
 
 \sys_if_engine_xetex:TF
   {
-    \cs_new_eq:NN \eb_set_family:nnn  \xeCJK_set_family:nnn
+    \cs_new_eq:NN \eb_set_family:nnn \xeCJK_set_family:nnn
     \cs_new_eq:NN \eb_switch_family:n \xeCJK_switch_family:n
-  }{
-    \cs_new_eq:NN \eb_set_family:nnn  \ctex_ltj_set_family:nnn
+  }
+  {
+    \cs_new_eq:NN \eb_set_family:nnn \ctex_ltj_set_family:nnn
     \cs_new_eq:NN \eb_switch_family:n \ctex_ltj_switch_family:n
   }
 \cs_generate_variant:Nn \eb_set_family:nnn { x }
@@ -300,7 +301,7 @@
 %</class>
 %<*package>
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/06/20}{2024cg}
+\ProvidesExplPackage{easybase}{2024/06/22}{2024ci}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1023,7 +1024,7 @@
   {
     \noindent
     \clist_if_in:NnT \l__eb_footnote_value_clist { flush }
-      { \dim_zero:N \fnfirstindent }
+      { \tl_set:Nn \fnfirstindent { 0pt } }
     \int_case:nn { \dim_sign:V \fnfirstindent }
       {
         { 1 } { \use_i:nnn }
@@ -1771,8 +1772,7 @@
       {
         \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
@@ -2625,7 +2625,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/06/20}{2024cg}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/06/22}{2024ci}
   {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-06-22 20:21:52 UTC (rev 71588)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-06-22 20:22:01 UTC (rev 71589)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/06/20}{2024cg}
+\ProvidesExplPackage{easybase}{2024/06/22}{2024ci}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -743,7 +743,7 @@
   {
     \noindent
     \clist_if_in:NnT \l__eb_footnote_value_clist { flush }
-      { \dim_zero:N \fnfirstindent }
+      { \tl_set:Nn \fnfirstindent { 0pt } }
     \int_case:nn { \dim_sign:V \fnfirstindent }
       {
         { 1 } { \use_i:nnn }
@@ -1491,8 +1491,7 @@
       {
         \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

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-06-22 20:21:52 UTC (rev 71588)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-06-22 20:22:01 UTC (rev 71589)
@@ -19,13 +19,13 @@
 %% 
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
-\ProvidesExplClass{easybook}{2024/06/20}{2024cg}
+\ProvidesExplClass{easybook}{2024/06/22}{2024ci}
   {Easily typesetting Chinese theses or books}
 
 \bool_new:N \l__eb_compile_draft_bool
 \bool_new:N \l__eb_title_newline_bool
-\bool_set_true:N  \l__eb_class_mode_book_bool
-\clist_new:N      \g__eb_doc_options_clist
+\bool_set_true:N \l__eb_class_mode_book_bool
+\clist_new:N \g__eb_doc_options_clist
 \cs_new_protected:Npn \eb_put_ctexbook:n #1
   { \PassOptionsToClass{#1}{ctexbook} }
 \cs_generate_variant:Nn \eb_put_ctexbook:n { V }
@@ -71,10 +71,11 @@
 
 \sys_if_engine_xetex:TF
   {
-    \cs_new_eq:NN \eb_set_family:nnn  \xeCJK_set_family:nnn
+    \cs_new_eq:NN \eb_set_family:nnn \xeCJK_set_family:nnn
     \cs_new_eq:NN \eb_switch_family:n \xeCJK_switch_family:n
-  }{
-    \cs_new_eq:NN \eb_set_family:nnn  \ctex_ltj_set_family:nnn
+  }
+  {
+    \cs_new_eq:NN \eb_set_family:nnn \ctex_ltj_set_family:nnn
     \cs_new_eq:NN \eb_switch_family:n \ctex_ltj_switch_family:n
   }
 \cs_generate_variant:Nn \eb_set_family:nnn { x }

Modified: trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2024-06-22 20:21:52 UTC (rev 71588)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2024-06-22 20:22:01 UTC (rev 71589)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/06/20}{2024cg}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/06/22}{2024ci}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2



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