texlive[73963] branches/branch2024.final/Master/texmf-dist: easybook
commits+karl at tug.org
commits+karl at tug.org
Thu Feb 13 22:05:10 CET 2025
Revision: 73963
https://tug.org/svn/texlive?view=revision&revision=73963
Author: karl
Date: 2025-02-13 22:05:10 +0100 (Thu, 13 Feb 2025)
Log Message:
-----------
easybook (branch) (13feb25)
Modified Paths:
--------------
branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/README.md
branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/easybook.pdf
branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/easybook.tex
branches/branch2024.final/Master/texmf-dist/source/latex/easybook/easybook.dtx
branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/easybase.sty
branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/easybook.cls
branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/README.md
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/README.md 2025-02-13 21:05:01 UTC (rev 73962)
+++ branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/README.md 2025-02-13 21:05:10 UTC (rev 73963)
@@ -1,5 +1,5 @@
# The `easybook` document class
-Easily typesetting Chinese theses or books (v2025n)
+Easily typesetting Chinese theses or books (v2025o)
## 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: branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/easybook.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/easybook.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/easybook.tex 2025-02-13 21:05:01 UTC (rev 73962)
+++ branches/branch2024.final/Master/texmf-dist/doc/latex/easybook/easybook.tex 2025-02-13 21:05:10 UTC (rev 73963)
@@ -23,8 +23,8 @@
name = easybook,
color-scheme = blue,
title = EASYBOOK使用手册,
- version = v2025n,
- date = 2025/02/12,
+ version = v2025o,
+ date = 2025/02/13,
authors = 瞿毅,
info = 简便地排版中文学位论文或书籍,
email = toquyi at 163.com,
Modified: branches/branch2024.final/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- branches/branch2024.final/Master/texmf-dist/source/latex/easybook/easybook.dtx 2025-02-13 21:05:01 UTC (rev 73962)
+++ branches/branch2024.final/Master/texmf-dist/source/latex/easybook/easybook.dtx 2025-02-13 21:05:10 UTC (rev 73963)
@@ -14,7 +14,7 @@
% This work has the LPPL maintenance status `maintained'.
%<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15]
%<*class>
-\ProvidesExplClass{easybook}{2025/02/12}{2025n}
+\ProvidesExplClass{easybook}{2025/02/13}{2025o}
{Easily typesetting Chinese theses or books}
\bool_new:N \l__eb_compile_draft_bool
@@ -308,7 +308,7 @@
%</class>
%<*package>
\RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2025/02/12}{2025n}
+\ProvidesExplPackage{easybase}{2025/02/13}{2025o}
{Easily typesetting Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1995,18 +1995,22 @@
}
\cs_new_protected:Npn \eb at register@title at ifname #1#2#3
{
- \AddToHookWithArguments{cmd/addcontentsline/before}[title/ifname/#2]
+ \tl_if_exist:cF { l__eb_title_ifname_#2_tl }
{
- \str_if_eq:xnT {##1} {#2}
+ \AddToHookWithArguments{cmd/addcontentsline/before}[title/ifname/#2]
{
- \addtocontents{##1}
- {#3{\CTEX at ifnametrue}{\CTEX at ifnamefalse}}
+ \str_if_eq:xnT {##1} {#2}
+ {
+ \addtocontents{##1}
+ {#3{\CTEX at ifnametrue}{\CTEX at ifnamefalse}}
+ }
}
+ \AddToHook{file/#1.#2/before}[title/ifname/#2]
+ {\cs_set_eq:NN \eb at title@ifname at resume \CTEXifname}
+ \AddToHook{file/#1.#2/after}[title/ifname/#2]
+ {\cs_set_eq:NN \CTEXifname \eb at title@ifname at resume}
}
- \AddToHook{file/#1.#2/before}
- {\cs_set_eq:NN \eb at title@ifname at resume \CTEXifname}
- \AddToHook{file/#1.#2/after}
- {\cs_set_eq:NN \CTEXifname \eb at title@ifname at resume}
+ \tl_set:cn { l__eb_title_ifname_#2_tl } { registered }
}
\NewDocumentCommand{\RegisterCapIfname}{O{\jobname}m}
{\RegisterTitleIfname[#1]{#2}{\capifname}}
@@ -3016,7 +3020,7 @@
}
%</package>
%<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2025/02/12}{2025n}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2025/02/13}{2025o}
{Customization of tcolorbox for easybook}
\cs_set_protected:Npn \addtotcbstyle #1#2
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/easybase.sty 2025-02-13 21:05:01 UTC (rev 73962)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/easybase.sty 2025-02-13 21:05:10 UTC (rev 73963)
@@ -20,7 +20,7 @@
%% This work has the LPPL maintenance status `maintained'.
\NeedsTeXFormat{LaTeX2e}[2021/11/15]
\RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2025/02/12}{2025n}
+\ProvidesExplPackage{easybase}{2025/02/13}{2025o}
{Easily typesetting Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1707,18 +1707,22 @@
}
\cs_new_protected:Npn \eb at register@title at ifname #1#2#3
{
- \AddToHookWithArguments{cmd/addcontentsline/before}[title/ifname/#2]
+ \tl_if_exist:cF { l__eb_title_ifname_#2_tl }
{
- \str_if_eq:xnT {##1} {#2}
+ \AddToHookWithArguments{cmd/addcontentsline/before}[title/ifname/#2]
{
- \addtocontents{##1}
- {#3{\CTEX at ifnametrue}{\CTEX at ifnamefalse}}
+ \str_if_eq:xnT {##1} {#2}
+ {
+ \addtocontents{##1}
+ {#3{\CTEX at ifnametrue}{\CTEX at ifnamefalse}}
+ }
}
+ \AddToHook{file/#1.#2/before}[title/ifname/#2]
+ {\cs_set_eq:NN \eb at title@ifname at resume \CTEXifname}
+ \AddToHook{file/#1.#2/after}[title/ifname/#2]
+ {\cs_set_eq:NN \CTEXifname \eb at title@ifname at resume}
}
- \AddToHook{file/#1.#2/before}
- {\cs_set_eq:NN \eb at title@ifname at resume \CTEXifname}
- \AddToHook{file/#1.#2/after}
- {\cs_set_eq:NN \CTEXifname \eb at title@ifname at resume}
+ \tl_set:cn { l__eb_title_ifname_#2_tl } { registered }
}
\NewDocumentCommand{\RegisterCapIfname}{O{\jobname}m}
{\RegisterTitleIfname[#1]{#2}{\capifname}}
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/easybook.cls 2025-02-13 21:05:01 UTC (rev 73962)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/easybook.cls 2025-02-13 21:05:10 UTC (rev 73963)
@@ -19,7 +19,7 @@
%%
%% This work has the LPPL maintenance status `maintained'.
\NeedsTeXFormat{LaTeX2e}[2021/11/15]
-\ProvidesExplClass{easybook}{2025/02/12}{2025n}
+\ProvidesExplClass{easybook}{2025/02/13}{2025o}
{Easily typesetting Chinese theses or books}
\bool_new:N \l__eb_compile_draft_bool
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg 2025-02-13 21:05:01 UTC (rev 73962)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg 2025-02-13 21:05:10 UTC (rev 73963)
@@ -18,7 +18,7 @@
%% LaTeX version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2025/02/12}{2025n}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2025/02/13}{2025o}
{Customization of tcolorbox for easybook}
\cs_set_protected:Npn \addtotcbstyle #1#2
More information about the tex-live-commits
mailing list.