summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-01-20 03:01:12 +0000
committerNorbert Preining <norbert@preining.info>2024-01-20 03:01:12 +0000
commit2fd07558ccd8d3c8e354f8ea0b342ef7ac1e87a3 (patch)
treedfa08a4c648cc5f7b4c8e5a55fcae40546d96d7d /macros/latex/contrib/easybook
parent849336321485cc972b028c23f8276fa6bdf4818e (diff)
CTAN sync 202401200301
Diffstat (limited to 'macros/latex/contrib/easybook')
-rw-r--r--macros/latex/contrib/easybook/easybook.dtx21
-rw-r--r--macros/latex/contrib/easybook/easybook.pdfbin599049 -> 599111 bytes
-rw-r--r--macros/latex/contrib/easybook/easybook.tex7
3 files changed, 9 insertions, 19 deletions
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx
index a8dad994d6..0889094f34 100644
--- a/macros/latex/contrib/easybook/easybook.dtx
+++ b/macros/latex/contrib/easybook/easybook.dtx
@@ -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,14 +1664,9 @@
{O{Appendix\space}D(){\Alph{chapter}}}
{
\ctex_assign_heading_name:nn { biappendix } {#1}
- \int_compare:nNnTF { \c@chapter } > { 0 }
+ \bool_if:NTF \l__eb_class_mode_book_bool
{
- \eb_char_patch_cmd:Nnn \CTEX@addbitocline
- {
- \def\CTEX@prechapter{\CTEX@prebichapter}
- \def\CTEX@thechapter{\CTEX@bichapter@number}
- \def\CTEX@postchapter{\CTEX@postbichapter}
- }
+ \eb_preto_cmd:nn { eb@before@addbitoc@hook }
{
\def\CTEX@prechapter{\CTEX@prebiappendix}
\def\CTEX@thechapter{#2}
@@ -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
diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf
index 265c1e40d0..55a91f1b6b 100644
--- a/macros/latex/contrib/easybook/easybook.pdf
+++ b/macros/latex/contrib/easybook/easybook.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex
index 60c949af32..0387b7301c 100644
--- a/macros/latex/contrib/easybook/easybook.tex
+++ b/macros/latex/contrib/easybook/easybook.tex
@@ -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@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}