texlive[69529] Master/texmf-dist: easybook

commits+karl at tug.org commits+karl at tug.org
Sun Jan 21 22:26:27 CET 2024


Revision: 69529
          https://tug.org/svn/texlive?view=revision&revision=69529
Author:   karl
Date:     2024-01-21 22:26:27 +0100 (Sun, 21 Jan 2024)
Log Message:
-----------
easybook

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-01-21 21:19:57 UTC (rev 69528)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2024-01-21 21:26:27 UTC (rev 69529)
@@ -23,8 +23,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2024K,
-    date            = 2024/01/18,
+    version         = v2024L,
+    date            = 2024/01/19,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = toquyi at 163.com,
@@ -1350,9 +1350,10 @@
   \shortversion{v = 1.638,date = 2022/03/04,changes = 增加目录条目样式选项注册命令 \cs{RegisterTocName}。}
   \shortversion{v = 1.644,date = 2022/03/10,changes = 增加浮动环境目录声明命令 \cs{DeclareFloatList} 配合 \pkg*{caption} 宏包。}
   \shortversion{v = 1.682,date = 2022/05/01,changes = 将迷你页判断命令 \cs{notminipage} 改为被保护命令兼容 \pkg*{circledtext} 宏包。}
-  \begin{version}[v = 2024K,date = 2024/01/18,simple]
+  \begin{version}[v = 2024L,date = 2024/01/19,simple]
   \item 核对依赖宏包的更新改动,优化使用手册的内容细节。
   \item 修复图表等浮动环境题注目录中条目标签编号的计数器值显示错误问题。
+  \item 修复附录命令 \cs{appendix} 的可选参数设置英文目录中条目名字和编号失效的问题。
   \item 新增目录风格定义命令 \cs{SetTocStyle} 和使用命令 \cs{UseTocStyle}。
   \end{version}
 \end{changelog}

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-01-21 21:19:57 UTC (rev 69528)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-01-21 21:26:27 UTC (rev 69529)
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2024/01/18}{2024K}
+\ProvidesExplClass{easybook}{2024/01/19}{2024L}
   {Easily typesetting Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -302,7 +302,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2024/01/18}{2024K}
+\ProvidesExplPackage{easybase}{2024/01/19}{2024L}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -323,12 +323,6 @@
     \seq_set_from_clist:Nn \l_tmpa_seq {#1}
     \seq_map_inline:Nn \l_tmpa_seq {#2}
   }
-\cs_new_protected:Npn \eb_char_patch_cmd:Nnn #1#2#3
-  {
-    \ExplSyntaxOn\makeatletter
-    \eb_patch_cmd:Nnn {#1} {#2} {#3}
-    \ExplSyntaxOff\makeatother
-  }
 \cs_new_protected:Npn \eb_patch_cmd:Nnn #1#2#3
   {
     \ctex_patch_cmd_once:NnnnTF #1 { } {#2} {#3}
@@ -1670,15 +1664,10 @@
   {O{Appendix\space}D(){\Alph{chapter}}}
   {
     \ctex_assign_heading_name:nn { biappendix } {#1}
-    \int_compare:nNnTF { \c at chapter } > { 0 }
+    \bool_if:NTF \l__eb_class_mode_book_bool
       {
-        \eb_char_patch_cmd:Nnn \CTEX at addbitocline
+        \eb_preto_cmd:nn { eb at before@addbitoc at hook }
           {
-            \def\CTEX at prechapter{\CTEX at prebichapter}
-            \def\CTEX at thechapter{\CTEX at bichapter@number}
-            \def\CTEX at postchapter{\CTEX at postbichapter}
-          }
-          {
             \def\CTEX at prechapter{\CTEX at prebiappendix}
             \def\CTEX at thechapter{#2}
             \def\CTEX at postchapter{\CTEX at postbiappendix}
@@ -2334,7 +2323,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/18}{2024K}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/19}{2024L}
   {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-01-21 21:19:57 UTC (rev 69528)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-01-21 21:26:27 UTC (rev 69529)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2024/01/18}{2024K}
+\ProvidesExplPackage{easybase}{2024/01/19}{2024L}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -41,12 +41,6 @@
     \seq_set_from_clist:Nn \l_tmpa_seq {#1}
     \seq_map_inline:Nn \l_tmpa_seq {#2}
   }
-\cs_new_protected:Npn \eb_char_patch_cmd:Nnn #1#2#3
-  {
-    \ExplSyntaxOn\makeatletter
-    \eb_patch_cmd:Nnn {#1} {#2} {#3}
-    \ExplSyntaxOff\makeatother
-  }
 \cs_new_protected:Npn \eb_patch_cmd:Nnn #1#2#3
   {
     \ctex_patch_cmd_once:NnnnTF #1 { } {#2} {#3}
@@ -1388,15 +1382,10 @@
   {O{Appendix\space}D(){\Alph{chapter}}}
   {
     \ctex_assign_heading_name:nn { biappendix } {#1}
-    \int_compare:nNnTF { \c at chapter } > { 0 }
+    \bool_if:NTF \l__eb_class_mode_book_bool
       {
-        \eb_char_patch_cmd:Nnn \CTEX at addbitocline
+        \eb_preto_cmd:nn { eb at before@addbitoc at hook }
           {
-            \def\CTEX at prechapter{\CTEX at prebichapter}
-            \def\CTEX at thechapter{\CTEX at bichapter@number}
-            \def\CTEX at postchapter{\CTEX at postbichapter}
-          }
-          {
             \def\CTEX at prechapter{\CTEX at prebiappendix}
             \def\CTEX at thechapter{#2}
             \def\CTEX at postchapter{\CTEX at postbiappendix}

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-01-21 21:19:57 UTC (rev 69528)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-01-21 21:26:27 UTC (rev 69529)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2024/01/18}{2024K}
+\ProvidesExplClass{easybook}{2024/01/19}{2024L}
   {Easily typesetting Chinese theses or books}
 
 \bool_set_false: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-01-21 21:19:57 UTC (rev 69528)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2024-01-21 21:26:27 UTC (rev 69529)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/18}{2024K}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/19}{2024L}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2



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