texlive[73125] Master/texmf-dist: easybook (14dec24)

commits+karl at tug.org commits+karl at tug.org
Sat Dec 14 22:19:30 CET 2024


Revision: 73125
          https://tug.org/svn/texlive?view=revision&revision=73125
Author:   karl
Date:     2024-12-14 22:19:30 +0100 (Sat, 14 Dec 2024)
Log Message:
-----------
easybook (14dec24)

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-14 21:19:20 UTC (rev 73124)
+++ trunk/Master/texmf-dist/doc/latex/easybook/README.md	2024-12-14 21:19:30 UTC (rev 73125)
@@ -1,5 +1,5 @@
 # The `easybook` document class
-Easily typesetting Chinese theses or books (v2024ht)
+Easily typesetting Chinese theses or books (v2024hu)
 
 ## 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-14 21:19:20 UTC (rev 73124)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2024-12-14 21:19:30 UTC (rev 73125)
@@ -23,8 +23,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2024ht,
-    date            = 2024/12/12,
+    version         = v2024hu,
+    date            = 2024/12/14,
     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-14 21:19:20 UTC (rev 73124)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-12-14 21:19:30 UTC (rev 73125)
@@ -14,7 +14,7 @@
 % This work has the LPPL maintenance status `maintained'.
 %<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15]
 %<*class>
-\ProvidesExplClass{easybook}{2024/12/12}{2024ht}
+\ProvidesExplClass{easybook}{2024/12/14}{2024hu}
   {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/12/12}{2024ht}
+\ProvidesExplPackage{easybase}{2024/12/14}{2024hu}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -2430,9 +2430,13 @@
           }
         \eb at declaretheorem@save[style = default,##1,##3]{##2}
         \tl_gset:cV { g__eb_thmt_##2_parent_tl } \thmt at parent
+        \providebool{thmt at isstarred@##2}
+        \ifbool{thmt at isstarred}
+          {\booltrue{thmt at isstarred@##2}}
+          {\boolfalse{thmt at isstarred@##2}}
         \settheoremtocline{##2}
           {
-            \listnumberline{##2}
+            \thmtifname{\listnumberline{##2}}{}
             \thmtname\thmtifnote{~(\thmtnote)}{}
           }
         \cs_gset:cpn { thmt at contentsline@##2 }
@@ -2475,7 +2479,7 @@
     \def\thmtenvname{\thmt at envname}
     \def\thmtnote{\thmt at shortoptarg}
     \def\thmtformatoptarg ##1 {##1}
-    \def\thmtifname ##1##2 {\ifbool{thmt at isstarred}{##2}{##1}}
+    \def\thmtifname ##1##2 {\ifbool{thmt at isstarred@\thmt at envname}{##2}{##1}}
     \def\thmtifnote ##1##2
       {
         \tl_if_empty:NTF \thmt at shortoptarg
@@ -2719,7 +2723,7 @@
 \lstset{style = lst-latex}
 \lstloadlanguages{C,C++,Java,Python,Matlab}
 
-\clist_new:N \l__eb_hyperref_clist
+\clist_new:N \l__eb_hyperref_options_clist
 \cs_new_protected:Npn \eb_set_hyperref:n #1
   {
     \IfPackageLoadedTF{hyperref}
@@ -2727,7 +2731,7 @@
       {\eb_put_hyperref:n}{#1}
   }
 \cs_new_protected:Npn \eb_put_hyperref:n #1
-  { \clist_put_right:Nn \l__eb_hyperref_clist {#1} }
+  { \clist_put_right:Nn \l__eb_hyperref_options_clist {#1} }
 \cs_new_protected:Npn \eb_define_link_color:nnn #1#2#3
   { \definecolorset{HTML}{ctex@}{}{link,#1;url,#2;cite,#3} }
 \cs_new_protected:Npn \eb_define_theme_color:nnn #1#2#3
@@ -2802,7 +2806,7 @@
   }
 \cs_new_protected:Npn \eb_link_colors_set:
   { \eb_set_hyperref:n { colorlinks } }
-\cs_new_protected:Npn \eb_link_toc_put:n #1
+\cs_new_protected:Npn \eb_link_toc_set:n #1
   { \eb_set_hyperref:n { linktoc = #1 } }
 \ctex_define:nn { ref }
   {
@@ -2815,7 +2819,7 @@
     linktype .initial:n         = edge,
     linktoc .choice:,
     linktoc .value_required:n   = true,
-    linktoc/unknown .code:n     = \eb_link_toc_put:n {#1},
+    linktoc/unknown .code:n     = \eb_link_toc_set:n {#1},
     linktoc .initial:n          = all,
     unknown .code:n = \eb_set_hyperref:x { \eb_unknown_kv_handle: },
     unknown .default:V          = \c_novalue_tl
@@ -2847,7 +2851,7 @@
         citecolor = ctex at cite,citebordercolor = ctex at cite
       }
     \hypersetup{bookmarksnumbered = true}
-    \exp_args:NV \hypersetup \l__eb_hyperref_clist
+    \exp_args:NV \hypersetup \l__eb_hyperref_options_clist
   }
 
 \cs_set_eq:NN \eb at labelformat@save \labelformat
@@ -2996,7 +3000,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/12/12}{2024ht}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/12/14}{2024hu}
   {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-14 21:19:20 UTC (rev 73124)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-12-14 21:19:30 UTC (rev 73125)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/12/12}{2024ht}
+\ProvidesExplPackage{easybase}{2024/12/14}{2024hu}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -2148,9 +2148,13 @@
           }
         \eb at declaretheorem@save[style = default,##1,##3]{##2}
         \tl_gset:cV { g__eb_thmt_##2_parent_tl } \thmt at parent
+        \providebool{thmt at isstarred@##2}
+        \ifbool{thmt at isstarred}
+          {\booltrue{thmt at isstarred@##2}}
+          {\boolfalse{thmt at isstarred@##2}}
         \settheoremtocline{##2}
           {
-            \listnumberline{##2}
+            \thmtifname{\listnumberline{##2}}{}
             \thmtname\thmtifnote{~(\thmtnote)}{}
           }
         \cs_gset:cpn { thmt at contentsline@##2 }
@@ -2193,7 +2197,7 @@
     \def\thmtenvname{\thmt at envname}
     \def\thmtnote{\thmt at shortoptarg}
     \def\thmtformatoptarg ##1 {##1}
-    \def\thmtifname ##1##2 {\ifbool{thmt at isstarred}{##2}{##1}}
+    \def\thmtifname ##1##2 {\ifbool{thmt at isstarred@\thmt at envname}{##2}{##1}}
     \def\thmtifnote ##1##2
       {
         \tl_if_empty:NTF \thmt at shortoptarg
@@ -2437,7 +2441,7 @@
 \lstset{style = lst-latex}
 \lstloadlanguages{C,C++,Java,Python,Matlab}
 
-\clist_new:N \l__eb_hyperref_clist
+\clist_new:N \l__eb_hyperref_options_clist
 \cs_new_protected:Npn \eb_set_hyperref:n #1
   {
     \IfPackageLoadedTF{hyperref}
@@ -2445,7 +2449,7 @@
       {\eb_put_hyperref:n}{#1}
   }
 \cs_new_protected:Npn \eb_put_hyperref:n #1
-  { \clist_put_right:Nn \l__eb_hyperref_clist {#1} }
+  { \clist_put_right:Nn \l__eb_hyperref_options_clist {#1} }
 \cs_new_protected:Npn \eb_define_link_color:nnn #1#2#3
   { \definecolorset{HTML}{ctex@}{}{link,#1;url,#2;cite,#3} }
 \cs_new_protected:Npn \eb_define_theme_color:nnn #1#2#3
@@ -2520,7 +2524,7 @@
   }
 \cs_new_protected:Npn \eb_link_colors_set:
   { \eb_set_hyperref:n { colorlinks } }
-\cs_new_protected:Npn \eb_link_toc_put:n #1
+\cs_new_protected:Npn \eb_link_toc_set:n #1
   { \eb_set_hyperref:n { linktoc = #1 } }
 \ctex_define:nn { ref }
   {
@@ -2533,7 +2537,7 @@
     linktype .initial:n         = edge,
     linktoc .choice:,
     linktoc .value_required:n   = true,
-    linktoc/unknown .code:n     = \eb_link_toc_put:n {#1},
+    linktoc/unknown .code:n     = \eb_link_toc_set:n {#1},
     linktoc .initial:n          = all,
     unknown .code:n = \eb_set_hyperref:x { \eb_unknown_kv_handle: },
     unknown .default:V          = \c_novalue_tl
@@ -2565,7 +2569,7 @@
         citecolor = ctex at cite,citebordercolor = ctex at cite
       }
     \hypersetup{bookmarksnumbered = true}
-    \exp_args:NV \hypersetup \l__eb_hyperref_clist
+    \exp_args:NV \hypersetup \l__eb_hyperref_options_clist
   }
 
 \cs_set_eq:NN \eb at labelformat@save \labelformat

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



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