texlive[71336] Master/texmf-dist: easybook (23may24)

commits+karl at tug.org commits+karl at tug.org
Fri May 24 22:56:29 CEST 2024


Revision: 71336
          https://tug.org/svn/texlive?view=revision&revision=71336
Author:   karl
Date:     2024-05-24 22:56:29 +0200 (Fri, 24 May 2024)
Log Message:
-----------
easybook (23may24)

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	2024-05-24 16:56:06 UTC (rev 71335)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2024-05-24 20:56:29 UTC (rev 71336)
@@ -23,8 +23,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2024bt,
-    date            = 2024/05/23,
+    version         = v2024bu,
+    date            = 2024/05/24,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = toquyi at 163.com,
@@ -637,9 +637,9 @@
   \RegisterTocName{caixiang}
   \setlisttheoremstyle{ignoreall,show = caixiang}
   \settheoremtocline{caixiang}
-    {%
+    {
       \listnumberline{caixiang}
-      \thmtname\thmtifnote{[\thmtnote]}{}%
+      \thmtname\thmtifnote{[\thmtnote]}{}
     }
   \end{ctexexam}
 \end{cnltxlist}

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-05-24 16:56:06 UTC (rev 71335)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-05-24 20:56:29 UTC (rev 71336)
@@ -14,7 +14,7 @@
 % This work has the LPPL maintenance status `maintained'.
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
-\ProvidesExplClass{easybook}{2024/05/23}{2024bt}
+\ProvidesExplClass{easybook}{2024/05/24}{2024bu}
   {Easily typesetting Chinese theses or books}
 
 \bool_new:N \l__eb_compile_draft_bool
@@ -301,7 +301,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/05/23}{2024bt}
+\ProvidesExplPackage{easybase}{2024/05/24}{2024bu}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -2179,7 +2179,14 @@
     \RenewDocumentCommand{\declaretheoremstyle}{O{}mO{}}
       {\eb at declaretheoremstyle@save[#1,#3]{#2}}
     \RenewDocumentCommand{\declaretheorem}{O{}mO{}}
-      {\eb at declaretheorem@save[style = default,#1,#3]{#2}}
+      {
+        \eb at declaretheorem@save[style = default,#1,#3]{#2}
+        \settheoremtocline{#2}
+          {
+            \listnumberline{#2}
+            \thmtname\thmtifnote{~(\thmtnote)}{}
+          }
+      }
     \ctex_define:nn { thmt }
       {
         loeskip .skip_set:N = \eb at thmt@loe at skip,
@@ -2226,7 +2233,7 @@
     \NewDocumentCommand{\settheoremtocline}{smm}
       {
         \IfBooleanT{#1}{\def\thmt at contentslineIgnore{\thmt at contentsline}}
-        \cs_set:cpn { ll@#2 } {#3}
+        \cs_set:cpn { ll@#2 } { \@bsphack #3\@esphack }
       }
   }
 
@@ -2582,7 +2589,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/05/23}{2024bt}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/05/24}{2024bu}
   {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-05-24 16:56:06 UTC (rev 71335)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-05-24 20:56:29 UTC (rev 71336)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/05/23}{2024bt}
+\ProvidesExplPackage{easybase}{2024/05/24}{2024bu}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1898,7 +1898,14 @@
     \RenewDocumentCommand{\declaretheoremstyle}{O{}mO{}}
       {\eb at declaretheoremstyle@save[#1,#3]{#2}}
     \RenewDocumentCommand{\declaretheorem}{O{}mO{}}
-      {\eb at declaretheorem@save[style = default,#1,#3]{#2}}
+      {
+        \eb at declaretheorem@save[style = default,#1,#3]{#2}
+        \settheoremtocline{#2}
+          {
+            \listnumberline{#2}
+            \thmtname\thmtifnote{~(\thmtnote)}{}
+          }
+      }
     \ctex_define:nn { thmt }
       {
         loeskip .skip_set:N = \eb at thmt@loe at skip,
@@ -1945,7 +1952,7 @@
     \NewDocumentCommand{\settheoremtocline}{smm}
       {
         \IfBooleanT{#1}{\def\thmt at contentslineIgnore{\thmt at contentsline}}
-        \cs_set:cpn { ll@#2 } {#3}
+        \cs_set:cpn { ll@#2 } { \@bsphack #3\@esphack }
       }
   }
 

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



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