texlive[72582] Master/texmf-dist: easybook (18oct24)
commits+karl at tug.org
commits+karl at tug.org
Fri Oct 18 23:19:07 CEST 2024
Revision: 72582
https://tug.org/svn/texlive?view=revision&revision=72582
Author: karl
Date: 2024-10-18 23:19:06 +0200 (Fri, 18 Oct 2024)
Log Message:
-----------
easybook (18oct24)
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-10-18 21:18:57 UTC (rev 72581)
+++ trunk/Master/texmf-dist/doc/latex/easybook/README.md 2024-10-18 21:19:06 UTC (rev 72582)
@@ -1,5 +1,5 @@
# The `easybook` document class
-Easily typesetting Chinese theses or books (v2024eo)
+Easily typesetting Chinese theses or books (v2024ep)
## 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-10-18 21:18:57 UTC (rev 72581)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex 2024-10-18 21:19:06 UTC (rev 72582)
@@ -23,8 +23,8 @@
name = easybook,
color-scheme = blue,
title = EASYBOOK使用手册,
- version = v2024eo,
- date = 2024/10/16,
+ version = v2024ep,
+ date = 2024/10/18,
authors = 瞿毅,
info = 简便地排版中文学位论文或书籍,
email = toquyi at 163.com,
@@ -253,7 +253,7 @@
cell{5}{2} = PaleTurquoise,
cell{5}{1} = GreenYellow,
cell{1}{2} = GreenYellow,
- cell{3}{1,4} = GreenYellow,
+ cell{3}{1} = GreenYellow,
cell{4}{2} = GreenYellow
}
amsthm & bicaption & ctex & caption & chemformula \\
@@ -1419,7 +1419,7 @@
\subsection{标签引用}
\begin{cnltxlist}
\command{labelformat}[\marg{计数器}\marg{标签引用格式}]
- 标签格式命令 \cs{labelformat} 可以设置标签引用格式。\meta{标签引用格式} 中 \code{\#1} 代表 \cs*{the}\meta{计数器},可以设置引用序号的前缀和后缀。也可以使用 \pkg*{cleveref} 宏包提供更强大的标签功能。
+ 标签格式命令 \cs{labelformat} 可以设置标签引用格式。\meta{标签引用格式} 中 \code{\#1} 代表 \cs*{the}\meta{计数器},可以设置引用序号的前缀和后缀。也可以使用 \pkg*{cleveref} 宏包或 \code{ltproperties} 机制,它们充分扩展了 \cs{label} 和 \cs{ref} 命令,提供了更强的标签功能。
\command{AtEndPreamble}[\marg{格式代码}]
导言区末尾的钩子命令。为了保证兼容性 \pkg*{hyperref} 宏包被设计在导言区末尾载入,一些情况下需要钩子命令在 \pkg*{hyperref} 宏包后方执行 \meta{格式代码},例如载入 \pkg*{cleveref} 宏包。
\begin{ctexexam}
Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx 2024-10-18 21:18:57 UTC (rev 72581)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx 2024-10-18 21:19:06 UTC (rev 72582)
@@ -14,7 +14,7 @@
% This work has the LPPL maintenance status `maintained'.
%<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15]
%<*class>
-\ProvidesExplClass{easybook}{2024/10/16}{2024eo}
+\ProvidesExplClass{easybook}{2024/10/18}{2024ep}
{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/10/16}{2024eo}
+\ProvidesExplPackage{easybase}{2024/10/18}{2024ep}
{Easily typesetting Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -849,13 +849,13 @@
}
\prop_set_from_keyval:Nn \l__eb_int_trans_cmds_prop
{
- A = \exp_not:N \int_to_Alph:n,
- a = \exp_not:N \int_to_alph:n,
- 1 = \exp_not:N \int_to_arabic:n,
- I = \exp_not:N \int_to_Roman:n,
- i = \exp_not:N \int_to_roman:n,
- c = \exp_not:n { \exp_args:NV \zhnumber },
- s = \exp_not:N \eb_int_to_symbols:n
+ A = \int_to_Alph:n,
+ a = \int_to_alph:n,
+ 1 = \int_to_arabic:n,
+ I = \int_to_Roman:n,
+ i = \int_to_roman:n,
+ c = \exp_args:NV \zhnumber,
+ s = \eb_int_to_symbols:n
}
\cs_new_protected:Npn \eb_fnmarktext_short_label_set:Nn #1#2
{
@@ -1780,7 +1780,14 @@
\bool_if:NTF \l__eb_toc_entry_hang_bool
{ \IfBooleanTF{##3}{\use:n}{\contentspush} }
{ \use:n }
- { \hytoclink{##1}\tl_use:c { l__eb_toc_##2_after_tl } }
+ {
+ \bool_lazy_or:nnTF
+ { \str_if_eq_p:Vn \Hy at linktoc { 1 } }
+ { \str_if_eq_p:Vn \Hy at linktoc { 3 } }
+ { \hytoclink{##1} }
+ {##1}
+ \tl_use:c { l__eb_toc_##2_after_tl }
+ }
},
tocafter = \hspace{1em},
tocsep = .—,
@@ -2909,7 +2916,7 @@
}
%</package>
%<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/10/16}{2024eo}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/10/18}{2024ep}
{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-10-18 21:18:57 UTC (rev 72581)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty 2024-10-18 21:19:06 UTC (rev 72582)
@@ -20,7 +20,7 @@
%% This work has the LPPL maintenance status `maintained'.
\NeedsTeXFormat{LaTeX2e}[2021/11/15]
\RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/10/16}{2024eo}
+\ProvidesExplPackage{easybase}{2024/10/18}{2024ep}
{Easily typesetting Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -567,13 +567,13 @@
}
\prop_set_from_keyval:Nn \l__eb_int_trans_cmds_prop
{
- A = \exp_not:N \int_to_Alph:n,
- a = \exp_not:N \int_to_alph:n,
- 1 = \exp_not:N \int_to_arabic:n,
- I = \exp_not:N \int_to_Roman:n,
- i = \exp_not:N \int_to_roman:n,
- c = \exp_not:n { \exp_args:NV \zhnumber },
- s = \exp_not:N \eb_int_to_symbols:n
+ A = \int_to_Alph:n,
+ a = \int_to_alph:n,
+ 1 = \int_to_arabic:n,
+ I = \int_to_Roman:n,
+ i = \int_to_roman:n,
+ c = \exp_args:NV \zhnumber,
+ s = \eb_int_to_symbols:n
}
\cs_new_protected:Npn \eb_fnmarktext_short_label_set:Nn #1#2
{
@@ -1498,7 +1498,14 @@
\bool_if:NTF \l__eb_toc_entry_hang_bool
{ \IfBooleanTF{##3}{\use:n}{\contentspush} }
{ \use:n }
- { \hytoclink{##1}\tl_use:c { l__eb_toc_##2_after_tl } }
+ {
+ \bool_lazy_or:nnTF
+ { \str_if_eq_p:Vn \Hy at linktoc { 1 } }
+ { \str_if_eq_p:Vn \Hy at linktoc { 3 } }
+ { \hytoclink{##1} }
+ {##1}
+ \tl_use:c { l__eb_toc_##2_after_tl }
+ }
},
tocafter = \hspace{1em},
tocsep = .—,
Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls 2024-10-18 21:18:57 UTC (rev 72581)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls 2024-10-18 21:19:06 UTC (rev 72582)
@@ -19,7 +19,7 @@
%%
%% This work has the LPPL maintenance status `maintained'.
\NeedsTeXFormat{LaTeX2e}[2021/11/15]
-\ProvidesExplClass{easybook}{2024/10/16}{2024eo}
+\ProvidesExplClass{easybook}{2024/10/18}{2024ep}
{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-10-18 21:18:57 UTC (rev 72581)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg 2024-10-18 21:19:06 UTC (rev 72582)
@@ -18,7 +18,7 @@
%% LaTeX version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/10/16}{2024eo}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/10/18}{2024ep}
{Customization of tcolorbox for easybook}
\cs_set_protected:Npn \addtotcbstyle #1#2
More information about the tex-live-commits
mailing list.