texlive[72874] Master/texmf-dist: easybook (17nov24)

commits+karl at tug.org commits+karl at tug.org
Sun Nov 17 22:16:54 CET 2024


Revision: 72874
          https://tug.org/svn/texlive?view=revision&revision=72874
Author:   karl
Date:     2024-11-17 22:16:53 +0100 (Sun, 17 Nov 2024)
Log Message:
-----------
easybook (17nov24)

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-11-17 21:16:43 UTC (rev 72873)
+++ trunk/Master/texmf-dist/doc/latex/easybook/README.md	2024-11-17 21:16:53 UTC (rev 72874)
@@ -1,5 +1,5 @@
 # The `easybook` document class
-Easily typesetting Chinese theses or books (v2024he)
+Easily typesetting Chinese theses or books (v2024hh)
 
 ## 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-11-17 21:16:43 UTC (rev 72873)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2024-11-17 21:16:53 UTC (rev 72874)
@@ -23,8 +23,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2024he,
-    date            = 2024/11/15,
+    version         = v2024hh,
+    date            = 2024/11/16,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = toquyi at 163.com,
@@ -271,7 +271,7 @@
 \subsection{基本选项}
 \begin{cnltxlist}
   \opt{draft}
-  开启草稿模式会加快编译速度,表现有显示页面边框、行溢出的地方显示黑色方块、图片变成占位方框、代码隐藏、显示当前日期和关闭超链接渲染。不使用绘图宏包及依赖 \pkg*{tcolorbox} 宏包的盒子环境也会增快编译速度,详情见\ref{subsec:box}。
+  开启草稿模式会加快编译速度,表现有显示页面边框、行溢出的地方显示黑色方块、图片变成占位方框、行间代码隐藏、显示当前日期和关闭超链接渲染。不使用绘图宏包及依赖 \pkg*{tcolorbox} 宏包的盒子环境也会增快编译速度,详情见\ref{subsec:box}。
   \opt{newline}\dtag
   部分和章标题的样式为另起一行,符合一般英文书籍的习惯。
   \keychoice{scheme}{\fbox{chinese},plain}\dtag
@@ -617,7 +617,7 @@
   \begin{cnltxlist}[itemsep = 0ex]
   \command{listoftheorems}[\sarg\oarg{键值列表}]\nonl
   \keyval{listtheoremname}{定理目录标题名}\nonl
-  \command{settheoremtocline}[\sarg\marg{环境名}\marg{标题定义}]\newtagv{2024bb}%
+  \command{settheoremtocline}[\sarg\marg{环境名列表}\marg{标题定义}]\newtagv{2024bb}%
   对 \pkg*{thmtools} 宏包的定理环境目录命令 \cs{listoftheorems} 进行了适配调整\footnote{也对 \pkg*{keytheorems} 宏包作为兼容提供的这个命令进行了适配。},\ref{subsec:directory command} 和\ref{subsec:contents} 中的选项机制均可用,但标题定义选项 \option{tocline} 较为特殊,需用 \cs{settheoremtocline} 命令单独设置。在 \meta{标题定义} 中有三个命令 \cs{thmtname}、\cs{thmtenvname} 和 \cs{thmtnote} 分别代表定理名、定理环境名和题注用于排版目录条目。
   \end{cnltxlist}
   \optpath{thmt/}\key{loeskip}{弹性长度}\Default{10pt}
@@ -632,7 +632,7 @@
   \setlisttheoremstyle{ignoreall,show = lemma}
   \settheoremtocline{lemma}
     {
-      \listnumberline{lemma}
+      \listnumberline{\thmtenvname}
       \thmtname\thmtifnote{[\thmtnote]}{}
     }
   \end{ctexexam}

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-11-17 21:16:43 UTC (rev 72873)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-11-17 21:16:53 UTC (rev 72874)
@@ -14,7 +14,7 @@
 % This work has the LPPL maintenance status `maintained'.
 %<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15]
 %<*class>
-\ProvidesExplClass{easybook}{2024/11/15}{2024he}
+\ProvidesExplClass{easybook}{2024/11/16}{2024hh}
   {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/15}{2024he}
+\ProvidesExplPackage{easybase}{2024/11/16}{2024hh}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -2466,11 +2466,16 @@
           {##2}
           { \protect\thmtformatoptarg{##1} }
       }
-    \NewDocumentCommand{\settheoremtocline}{smm}
+    \cs_new_protected:Npn \eb at settheoremtocline ##1##2##3
       {
         \IfBooleanT{##1}{\def\thmt at contentslineIgnore{\thmt at contentsline}}
         \cs_set:cpn { ll@##2 } { \@bsphack ##3\@esphack }
       }
+    \NewDocumentCommand{\settheoremtocline}{smm}
+      {
+        \clist_map_inline:nn {##2}
+          { \eb at settheoremtocline{##1}{####1}{##3} }
+      }
   }
 \cs_new_protected:Npn \eb_theorem_load_keytheorems:
   {
@@ -2975,7 +2980,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/11/15}{2024he}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/11/16}{2024hh}
   {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-11-17 21:16:43 UTC (rev 72873)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-11-17 21:16:53 UTC (rev 72874)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/11/15}{2024he}
+\ProvidesExplPackage{easybase}{2024/11/16}{2024hh}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -2184,11 +2184,16 @@
           {##2}
           { \protect\thmtformatoptarg{##1} }
       }
-    \NewDocumentCommand{\settheoremtocline}{smm}
+    \cs_new_protected:Npn \eb at settheoremtocline ##1##2##3
       {
         \IfBooleanT{##1}{\def\thmt at contentslineIgnore{\thmt at contentsline}}
         \cs_set:cpn { ll@##2 } { \@bsphack ##3\@esphack }
       }
+    \NewDocumentCommand{\settheoremtocline}{smm}
+      {
+        \clist_map_inline:nn {##2}
+          { \eb at settheoremtocline{##1}{####1}{##3} }
+      }
   }
 \cs_new_protected:Npn \eb_theorem_load_keytheorems:
   {

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-11-17 21:16:43 UTC (rev 72873)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-11-17 21:16:53 UTC (rev 72874)
@@ -19,7 +19,7 @@
 %% 
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
-\ProvidesExplClass{easybook}{2024/11/15}{2024he}
+\ProvidesExplClass{easybook}{2024/11/16}{2024hh}
   {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-11-17 21:16:43 UTC (rev 72873)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2024-11-17 21:16:53 UTC (rev 72874)
@@ -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/15}{2024he}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/11/16}{2024hh}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2



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