texlive[62683] branches/branch2021.final/Master/texmf-dist: easybook

commits+karl at tug.org commits+karl at tug.org
Sun Mar 13 21:47:44 CET 2022


Revision: 62683
          http://tug.org/svn/texlive?view=revision&revision=62683
Author:   karl
Date:     2022-03-13 21:47:44 +0100 (Sun, 13 Mar 2022)
Log Message:
-----------
easybook (13mar22) (branch)

Modified Paths:
--------------
    branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/README.md
    branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/easybook.pdf
    branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/easybook.tex
    branches/branch2021.final/Master/texmf-dist/source/latex/easybook/easybook.dtx
    branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/easybase.sty
    branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/easybook.cls
    branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg

Modified: branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/README.md
===================================================================
--- branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/README.md	2022-03-13 20:47:37 UTC (rev 62682)
+++ branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/README.md	2022-03-13 20:47:44 UTC (rev 62683)
@@ -1,4 +1,4 @@
-# Easybook document class
+# easybook document class
 
 `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 dissertation of many universities in China, providing multiple commands and interfaces allows users to easily customize the thesis template. Its basic macro package `easybase` can also be used with `ctex` and standard document classes.
 

Modified: branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/easybook.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/easybook.tex
===================================================================
--- branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/easybook.tex	2022-03-13 20:47:37 UTC (rev 62682)
+++ branches/branch2021.final/Master/texmf-dist/doc/latex/easybook/easybook.tex	2022-03-13 20:47:44 UTC (rev 62683)
@@ -21,8 +21,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v1.645,
-    date            = 2022/03/11,
+    version         = v1.648,
+    date            = 2022/03/13,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = q1jx at foxmail.com,
@@ -168,7 +168,7 @@
 您在使用 \cls*{easybook} 文档类编写文档前可能需要具备以下的条件:
 \begin{itemize}
   \item 使用 \hologo{XeLaTeX}(推荐)或 \hologo{LuaLaTeX} 两种编译方式。
-  \item 由于文档类用到了一些 \LaTeX 和依赖宏包较新的功能,需要版本至少在2020/10/01以后的 \LaTeX 内核支持,建议您安装最新的 \TeX 发行版。
+  \item 由于文档类用到了一些 \LaTeX 和依赖宏包较新的功能,需要版本至少在\textbf{2020/10/01}以后的 \LaTeX 内核支持。建议您安装最新的 \TeX 发行版。
   \item 虽然手册对基本用法做了介绍,但这并不是入门教程,所涉及到宏包的用法与命令也需要有了解。您应当具有一定的 \LaTeX 使用基础,可以在 \TeX 综合网站 \href{https://www.ctan.org/}{CTAN} 查看相关资源。
 \end{itemize}
 
@@ -343,10 +343,9 @@
   输出表格目录命令。带有星号参数的命令不输出目录标题。
   \command{listoflstlistings}[\sarg\oarg{键值列表}]
   输出代码目录命令。带有星号参数的命令不输出目录标题。
-\end{commands}
 
-如果需要部分而不是全文的目录或其它类型的目录,可以查看 \pkg*{titletoc} 宏包的相关示例。如果需要双语图表目录,可以查看 \pkg*{bicaption} 宏包的相关示例。上面目录命令的可选参数改进了原本单一的功能,其中 \meta{键值列表} 的选项如下:
-\begin{options}
+  如果需要部分而不是全文的目录或其它类型的目录,可以查看 \pkg*{titletoc} 宏包的相关示例。如果需要双语图表目录,可以查看 \pkg*{bicaption} 宏包的相关示例。上面目录命令的可选参数改进了原本单一的功能,其中 \meta{键值列表} 的选项如下:
+  \begin{options}
   \keyval{level}{标题命令}\newtag%
   设定输出目录标题的命令。如果使用 \option{title} 选项设置了双语标题则需要配合双语标题命令。
   \begin{ctexexam}
@@ -365,7 +364,8 @@
   目录标题文本之后插入的代码,生效情形同上。
   \keyval{pagestyle}{页面风格}\Default{empty}
   目录标题所在页的页面格式,仅当目录以 \code{chapter} 级别输出时有效。除了上述选项还支持 \CTeX 键值列表路径 \module*{chapter} 或 \module*{section} 所有的章节标题样式选项。
-\end{options}
+  \end{options}
+\end{commands}
 
 \subsection{双语标题}
 双语目录标题命令目前设置了常用的三个级别,它们将中文标题正常输出,并使中英文标题加入双语目录。类似于标准文档类,这三个标题命令分别具有独立的计数器\footnote{默认情况下与普通标题命令共享使用计数器。},并对应 \cs*{the}\meta{计数器} 的值,可以用于 \option{binumber} 选项更改英文目录中的编号。这个功能是为国内一些高校的学位论文模板的要求设计,在一般情况和英文模式下\textbf{不需要使用}。
@@ -376,15 +376,15 @@
   \code{section} 节级别的双语目录标题命令,具有独立的 \code{bisection} 计数器。
   \command{bisubsection}[\sarg\oarg{目录中文标题}\marg{中文标题}\marg{目录英文标题}]
   \code{subsection} 小节级别的双语目录标题命令,具有独立的 \code{bisubsection} 计数器。
-\end{commands}
 
-它们的星号变体命令使文中标题不编号,但是仍然加入双语目录,若英文标题参数空置那么仅加入中文目录而不加入英文目录,这一特点与 \cs*{chapter}\sarg{} 等命令的行为不太一样,在一些情况下会用到。可选参数是目录中的中文标题,默认与中文标题一致,正文标题过长时可用它设置在目录中显示的标题。默认情况下双语目录的格式是一致的,共享使用 \module*{tocset} 模块的设置,英文目录的章级别标题名及编号的修改方式如下:
-\begin{options}
+  它们的星号变体命令使文中标题不编号,但是仍然加入双语目录,若英文标题参数空置那么仅加入中文目录而不加入英文目录,这一特点与 \cs*{chapter}\sarg{} 等命令的行为不太一样,在一些情况下会用到。可选参数是目录中的中文标题,默认与中文标题一致,正文标题过长时可用它设置在目录中显示的标题。默认情况下双语目录的格式是一致的,共享使用 \module*{tocset} 模块的设置,英文目录的章级别标题名及编号的修改方式如下:
+  \begin{options}
   \kvsplit{biname}{英文目录前名字,英文目录后名字}\Module{chapter}\Default{Chapter\cs*{space}}
   更改英文目录 \code{chapter} 级别的标题编号前后名字,类似于 \CTeX 的 \option*{name} 选项。
   \keyval{binmuber}{英文目录数字输出命令}\Default{\cs*{arabic}\Marg{chapter}}
   更改英文目录 \code{chapter} 级别的标题编号输出格式,类似于 \CTeX 的 \option*{number} 选项。
-\end{options}
+  \end{options}
+\end{commands}
 
 \begin{commands}
   \command{appendix}[\splitoarg{前名字,后名字}\darg{数字输出命令}]
@@ -404,10 +404,9 @@
   同时输出上标和下标的命令,与简短命令 \cs{spb} 等效。
   \command{spbifmath}[\marg{数学模式代码}\marg{文本模式代码}]
   根据上下标处于数学还是文本模式分别设置不同的值,应当在格式命令或偏移距离选项中使用。
-\end{commands}
 
-上下标命令键值列表中共同的选项如下所示。当下面除 \option{mode} 以外的选项用于 \module*{style} 模块全局设置时,它们将根据前面最近一个命令的类型设定相应值。
-\begin{options}
+  上下标命令键值列表中共同的选项如下所示。当下面除 \option{mode} 以外的选项用于 \module*{style} 模块全局设置时,它们将根据前面最近一个命令的类型设定相应值。
+  \begin{options}
   \keyval{vmove}{刚性长度}\Default{0pt}
   上标或下标的垂直偏移。如果是上下标命令使用则代表上标和上标间的额外垂直距离 \option{vsep}。
   \keyval{hmove}{刚性长度}\Default{0pt}
@@ -420,7 +419,8 @@
   段落中当前行上标或下标的基线与下一行的间距。
   \keychoice{mode}{text,math,match}\Default{match}
   上标或下标的输出格式。可以为文本 \code{text} 或数学 \code{math} 模式。当使用选项 \code{match} 时可以根据当前段落所处的模式自动匹配。
-\end{options}
+  \end{options}
+\end{commands}
 
 \section{接口选项}
 \label{sec:interface options}
@@ -566,7 +566,7 @@
   \keyval{caption-every}{数值}\Default{1.2}
   同时设置图片、表格和代码题注的行距因子。
   \keyval{footnote}{数值}\Default{1.2}
-  脚注内容整体的行距因子,可以使用 \option{fnpara-form} 的代码覆盖每个脚注单独的行距,从而与不同脚注的段落间距不同\footnote{若在正文区中更改脚注行距,脚注横线下方的间距不会随当前行距改变。}。
+  脚注内容整体的行距因子。可以使用 \option{fnpara-form} 的代码覆盖每个脚注单独的行距,从而与不同脚注的段落间距不同\footnote{若在正文区中更改脚注行距,脚注横线下方的间距不会随当前行距改变。}。
   \begin{ctexexam}
   \ebspread{footnote = 1.3}
   \ebhdrset{fnpara-form = \linespread{1.2}\selectfont}
@@ -617,7 +617,9 @@
 \begin{commands}
   \command{printbibliography}[\oarg{键值列表}]
   两种方式\textbf{均使用}此命令打印参考文献,不同处理后端此命令的 \meta{键值列表} 不同。使用 \hologo{BibTeX} 处理时选项与\ref{sec:document command} 目录命令的选项相同,使用 \hologo{biber} 处理时常用的选项如下:
-  \begin{options}
+\end{commands}
+
+\begin{options}
   \keychoice*{heading}{bibliography,subbibliography,bibintoc,subbibintoc}\Default{bibintoc}
   参考文献通常有一个章标题或者节标题,该选项选择由 \cs*{defbibheading} 定义的标题名。
   \keyval*{title}{参考文献标题名}
@@ -630,18 +632,17 @@
   指定条目的打印类型。
   \keyval*{filter}{过滤器名}
   使用由 \cs*{defbibfilter} 定义的 \option*{filter} 来过滤条目。
-  \end{options}
 
-  可能在一些情况下您希望更加灵活地设置参考文献或有更多需求,下面举一个在导言区手动配置 \pkg*{biblatex} 宏包并使一个条目\textbf{同时输出}双语文献的例子:
+  可能在一些情况下您希望更加灵活地设置参考文献或有更多需求,下面举一个在导言区手动配置 \pkg*{biblatex} 宏包并使一个条目输出双语对照文献的例子:
   \begin{ctexexam}
-  \usepackage[style = numeric]{biblatex}
-  \addbibresource{myrefs.bib}
+  \usepackage[style = gb7714-2015]{biblatex}
+  \addbibresource{reference.bib}
   \defbibheading{bibliography}[参考文献] % 定义参考文献标题
     {\chapter*{#1}\markboth{#1}{#1}}
   \defbibentryset{Zhang2022}{张三2022,ZhangSan2022}
   \cite{Zhang2022} % 在正文中引用
   \end{ctexexam}
-\end{commands}
+\end{options}
 
 \subsection{定理样式}
 \label{subsec:theorem of style}
@@ -660,7 +661,6 @@
   定理将使用此 \meta{计数器} 进行编号,通常这是另一个定理环境的名称。
   \keyval*{style}{定理样式}
   选项的值为使用 \cs{declaretheoremstyle} 命令新定义的定理样式。
-  \end{options}
 
   使用 \cs{declaretheorem} 命令以\ref{exam:new theorem sty} 中的定理样式 \code{fancy} 新建一个定理环境猜想,然后用一个基于 \pkg*{tcolorbox} 宏包的预置彩色盒子 \env{easybox} 增加背景:
   \begin{ctexexam}[labelref = exam:new theorem env]
@@ -668,6 +668,7 @@
   \addtotcbstyle{tc-easybox}{colback = GreenYellow}
   \tcolorboxenvironment{caixiang}{tc-easybox}
   \end{ctexexam}
+  \end{options}
   \command{declaretheoremstyle}[\oarg{键值列表1}\marg{定理样式}\oarg{键值列表2}]
   定理样式声明命令,键值列表支持自身以及定理声明命令 \cs{declaretheorem} 的所有选项。可选参数的 \meta{键值列表1} 与 \meta{键值列表2} 等效,其中支持的选项如下:
   \begin{options}
@@ -878,7 +879,7 @@
   \keychoice{fnboth-form}{format code,match}
   同时设定默认脚注标记 \option{fnmate-form} 和自定义脚注标记 \option{fncust-form} 的格式。两种脚注标记匹配上标格式 \option*{spcmd} 的值是独立的,使用 \code{match} 则可以同时匹配。标记格式选项含有字体命令会覆盖 \option{footnote} 的设置,最后一个格式命令可以带有一个参数接受脚注标记。
   \keyval{fnpara-form}{格式代码}
-  脚注内容的格式,在此设置字体命令会覆盖 \option{footnote} 的设置,最后一个格式命令可以带有一个参数接受脚注内容。
+  脚注内容的格式。在此设置字体命令会覆盖 \option{footnote} 的设置,最后一个格式命令可以带有一个参数接受脚注内容。
   \kvsplit{fntext-code}{前代码,后代码}
   可以用 \meta{前代码} 与 \meta{后代码} 额外增加脚注内容标记前后的代码。也可以只有前部分,\meta{前代码} 中最后一个格式命令可以带有一个参数接受脚注内容标记。由于脚注标记处于水平模式,一般用于在脚注内容标记与脚注首行间插入一点距离,或与脚注正文标记的格式稍有不同。
   \begin{ctexexam}
@@ -1030,7 +1031,7 @@
   \environment*{enumerate}[\oarg{键值列表}]\default{}
   \environment*{itemize}[\oarg{键值列表}]\default{}
   \environment*{description}[\oarg{键值列表}]
-  已为三种列表各自预置了三个级别,同种列表或不同种列表间的不同级别可相互嵌套,可以使用短编号的形式,带有星号的环境为行内列表。默认列表标签与标准文档类一致,下面举几个更改列表标签以及其它格式的例子:
+  已为三种列表各自预置了三个级别。同种列表或不同种列表间的不同级别可相互嵌套,可以使用短编号的形式,带有星号的环境为行内列表。默认列表标签与标准文档类一致,下面举几个更改列表标签以及其它格式的例子:
   \begin{ctexexam}
   \setlist*{wide = 0em} % 取消所有列表的左边距
   \begin{enumerate}[label = (\arabic*),leftmargin = 1cm,resume]
@@ -1043,7 +1044,7 @@
 \subsection{悬挂缩进}
 \begin{commands}
   \command{hangpara}[\marg{缩进长度}\marg{缩进开始行数}]
-  悬挂缩进命令 \cs{hangpara} 使其后的一个段落保持悬挂缩进,参数与 \env{hangparas} 环境相同,不过只有一个段落。\meta{缩进长度} 可以是带单位的数值或由文本长度测定命令 \cs{widthof} 提供。
+  悬挂缩进命令 \cs{hangpara} 使其后的一个段落保持悬挂缩进。参数与 \env{hangparas} 环境相同,不过只有一个段落。\meta{缩进长度} 可以是带单位的数值或由文本长度测定命令 \cs{widthof} 提供。
 \end{commands}
 
 \begin{environments}
@@ -1056,12 +1057,12 @@
   \command*{lstdefinestyle}[\marg{代码风格}\marg{键值列表}]
   代码抄录宏包 \pkg*{listings} 的代码风格定义命令,提供大量选项对代码样式进行高度定制。可以根据需要的代码语言和样式定义多种风格,默认使用的 \meta{代码风格} 为 \code{lst-latex}。
   \command{lstinline}[\oarg{键值列表}\marg{行内代码}]
-  行内代码抄录命令,较原生的 \cs*{verb} 命令有较大改进,具有代码语言和样式支持。
+  行内代码抄录命令。较原生的 \cs*{verb} 命令有较大改进,具有代码语言和样式支持。
 \end{commands}
 
 \begin{environments}
   \environment{lstlisting}[\oarg{键值列表}]
-  行间代码抄录环境,支持多种语言库,默认使用 \code{LaTeX} 代码语言,可使用 \meta{键值列表} 局部修改代码样式。另外还提供了 \cs*{lstnewenvironment} 命令包装自定义名称的代码环境。
+  行间代码抄录环境。支持多种语言库,默认使用 \code{LaTeX} 代码语言,可使用 \meta{键值列表} 局部修改代码样式。另外还提供了 \cs*{lstnewenvironment} 命令包装自定义名称的代码环境。
   \begin{ctexexam}
   \lstdefinestyle{lst-pascal}
     {
@@ -1098,8 +1099,8 @@
       boxrule = 5pt,boxsep = 5pt,
       borderline = {2pt}{2pt}{white}
     }
-  \newtcolorbox{mytcbox}[1][]{enhanced,mytcb,title = #1}
-  \begin{tcolorbox}[mytcb,enhanced]
+  \newtcolorbox{mytcbox}[1][]{enhanced,fancy,title = #1}
+  \begin{tcolorbox}[fancy,enhanced]
     盒子内容
   \end{tcolorbox}
   \begin{mytcbox}[盒子标题]
@@ -1156,7 +1157,7 @@
   除了以普通公式的方式,化学式还可用 \pkg*{chemformula} 实现。无机化学式使用 \cs{ch} 命令书写。化合物表达式中的原子数不需要加下标符号,化学计量数与表达式间隔一个空格。
   \begin{ctexexam}
   \ch{[Cu(NH3)4]^2+}
-  \ch{Cu2S + 2 O2 - 2 e^- == 2 Cu^2+ + SO^{2-}_4}
+  \ch{Cu2S + 2 O2 - 2 e^- == 2 Cu^2+ + SO4^2-}
   \end{ctexexam}
 \end{commands}
 
@@ -1166,9 +1167,9 @@
   \command{counteruse}[\sarg\oarg{编号}\darg{分隔符}\marg{计数器}\oarg{父计数器}]
   命令 \cs{newcounter} 是 \LaTeX 自带的创建计数器命令,计数器值输出命令 \cs{counteruse} 将会以 \cs*{the}\meta{父计数器}\meta{分隔符}\cs*{the}\meta{计数器} 形式输出这种计数器的值。命令 \cs{counteruse} 仅具有\textbf{输出功能},并不会改变计数器原有的绑定关系。默认每使用一次命令 \meta{计数器} 的值增加1,带有星号参数的命令使 \meta{计数器} 的值保持不变。计数器的 \meta{编号} 为 \code{arabic} 或 \code{alph} 等计数形式。
 
-  在一定的场合下可能用到 \cs{counteruse} 命令,比如通过新建快捷命令在一些位置使用定理环境的计数器,使用 \cs{labelformat} 设置计数器的标签引用需添加 \code{eb@}:
+  在一定的场合下可能用到 \cs{counteruse} 命令,比如通过新建快捷命令在一些位置使用定理环境的计数器。使用 \cs{labelformat} 设置计数器的标签引用时需添加 \code{eb-} 前缀:
   \begin{ctexexam}
-  \labelformat{eb at theorem}{定理#1}
+  \labelformat{eb-theorem}{定理#1}
   \newcommand{\theoremhead}[1]{定理\counteruse{theorem}[chapter]\hspace{1em}#1}
   \theoremhead{定理内容}\label{thm:theorem}
   \end{ctexexam}
@@ -1212,12 +1213,12 @@
 \begin{commands}
   \command{indexsetup}[\marg{键值列表}]
   \pkg*{imakeidx} 宏包增强了索引的功能。这是它的的接口命令,用于设置索引表的整体格式。
-  \command*{index}[\oarg{索引名}\marg{标签}]
-  索引标签命令 \cs*{index} 的 \meta{索引名} 与索引输出命令 \cs{printindex} 一致,可以存在多个索引表。
-  \command*{makeindex}[\oarg{键值列表}]
-  使用 \cs*{makeindex} 命令开启索引收集。这个命令可以重复使用打印多个索引表,以不同的 \meta{索引名} 作为区分,如果仅打印一个索引表就没必要再使用。
+  \command{index}[\oarg{索引名}\marg{标签}]
+  索引标签命令的可选参数可以用不同的 \meta{索引名} 给多个索引表设置标签。
+  \command{makeindex}[\oarg{键值列表}]
+  用于导言区开启索引收集的命令。这个命令可以重复使用收集多个索引表,以不同的 \meta{索引名} 作为区分,如果仅打印一个索引表没必要重复使用。
   \command{printindex}[\sarg\oarg{键值列表}]
-  现在索引表生成命令 \cs{printindex} 被重新定义。\meta{键值列表} 中的选项与\ref{sec:document command} 其它目录命令相同,但是原本接口命令 \cs{indexsetup} 的部分选项失效。
+  打印不同索引表的命令。这个命令被重新定义,\meta{键值列表} 中的选项与\ref{sec:document command} 其它目录命令相同,但是接口命令 \cs{indexsetup} 的部分选项失效。
   \begin{options}
   \keyval{name}{索引名}
   指定输出名为 \meta{索引名} 的索引表,如果只使用一个索引表则默认为项目文件名不需要指定。

Modified: branches/branch2021.final/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- branches/branch2021.final/Master/texmf-dist/source/latex/easybook/easybook.dtx	2022-03-13 20:47:37 UTC (rev 62682)
+++ branches/branch2021.final/Master/texmf-dist/source/latex/easybook/easybook.dtx	2022-03-13 20:47:44 UTC (rev 62683)
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/03/11}{1.645}
+\ProvidesExplClass{easybook}{2022/03/13}{1.648}
   {Easily typesetting Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -303,7 +303,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/03/11}{1.645}
+\ProvidesExplPackage{easybase}{2022/03/13}{1.648}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -430,7 +430,6 @@
   }
 
 \PassOptionsToPackage{list = off}{bicaption}
-\PassOptionsToPackage{nonewpage}{imakeidx}
 \PassOptionsToPackage{upint}{newtxmath}
 \PassOptionsToPackage{svgnames}{xcolor}
 \PassOptionsToPackage{many}{tcolorbox}
@@ -474,6 +473,7 @@
     \newcounter{chapter}
     \providebool{@mainmatter}
     \bool_set_false:N \l__eb_class_mode_book_bool
+    \ctex_define:n { chapter .meta:nn = { ctex/chapter } {#1} }
     \ctex_define:n { chapter/tocline .code:n = { } }
   }
 \bool_if:NF \l__eb_class_mode_book_bool
@@ -633,8 +633,6 @@
           { \use:c { eb at mark@#1 at label@layout }{##1} }
       }
   }
-\cs_gset_eq:NN \easyhead \fancyhead
-\cs_gset_eq:NN \easyfoot \fancyfoot
 \NewDocumentCommand{\markrule}
   {O{\textwidth}D(){ctex at frame}m>{\SplitArgument{1}{|}}O{}}
   {\eb_draw_markrule:nnnnn {#1} {#2} {#3} #4}
@@ -888,6 +886,7 @@
       { plain,hang,bottom,para,flush }
       { \eb_footnote_value_handle:n {#1} },
     footnotetype .value_required:n  = true,
+    footnotetype/default .meta:n    = footnotetype/plain,
     footnotetype .initial:n         = hang,
     fnmark-vmove .code:n = \eb_fnmate_move_set:nnn {#1} { mark } { v },
     fnmark-hmove .code:n = \eb_fnmate_move_set:nnn {#1} { mark } { h },
@@ -1222,13 +1221,13 @@
 \NewDocumentCommand{\counteruse}{sO{arabic}D(){.}mod()}
   {
     \IfBooleanF{#1}{\stepcounter{#4}}
-    \tl_set:cn { theeb@#4 }
+    \tl_set:cn { theeb-#4 }
       {
         \IfValueT{#5}{\use:c { the#5 }#3}
         \use:c {#2}{#4}
       }
-    \tl_use:c { theeb@#4 }
-    \eb_current_label:n { eb@#4 }
+    \tl_use:c { theeb-#4 }
+    \eb_current_label:n { eb-#4 }
   }
 \cs_new:Npn \eb_section_counter_prefix:n #1
   {
@@ -2323,7 +2322,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/11}{1.645}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/13}{1.648}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2
@@ -2332,7 +2331,6 @@
   { \tcbset{#1/.style = {#2}} }
 \cs_new_protected:Npn \tcbappstyle
   { \@ifstar{\deftcbstyle}{\addtotcbstyle} }
-\cs_set_eq:NN \newtcbstyle \deftcbstyle
 
 \deftcbstyle{tc-easybox}
   {

Modified: branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/easybase.sty	2022-03-13 20:47:37 UTC (rev 62682)
+++ branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/easybase.sty	2022-03-13 20:47:44 UTC (rev 62683)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/03/11}{1.645}
+\ProvidesExplPackage{easybase}{2022/03/13}{1.648}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -147,7 +147,6 @@
   }
 
 \PassOptionsToPackage{list = off}{bicaption}
-\PassOptionsToPackage{nonewpage}{imakeidx}
 \PassOptionsToPackage{upint}{newtxmath}
 \PassOptionsToPackage{svgnames}{xcolor}
 \PassOptionsToPackage{many}{tcolorbox}
@@ -191,6 +190,7 @@
     \newcounter{chapter}
     \providebool{@mainmatter}
     \bool_set_false:N \l__eb_class_mode_book_bool
+    \ctex_define:n { chapter .meta:nn = { ctex/chapter } {#1} }
     \ctex_define:n { chapter/tocline .code:n = { } }
   }
 \bool_if:NF \l__eb_class_mode_book_bool
@@ -350,8 +350,6 @@
           { \use:c { eb at mark@#1 at label@layout }{##1} }
       }
   }
-\cs_gset_eq:NN \easyhead \fancyhead
-\cs_gset_eq:NN \easyfoot \fancyfoot
 \NewDocumentCommand{\markrule}
   {O{\textwidth}D(){ctex at frame}m>{\SplitArgument{1}{|}}O{}}
   {\eb_draw_markrule:nnnnn {#1} {#2} {#3} #4}
@@ -605,6 +603,7 @@
       { plain,hang,bottom,para,flush }
       { \eb_footnote_value_handle:n {#1} },
     footnotetype .value_required:n  = true,
+    footnotetype/default .meta:n    = footnotetype/plain,
     footnotetype .initial:n         = hang,
     fnmark-vmove .code:n = \eb_fnmate_move_set:nnn {#1} { mark } { v },
     fnmark-hmove .code:n = \eb_fnmate_move_set:nnn {#1} { mark } { h },
@@ -939,13 +938,13 @@
 \NewDocumentCommand{\counteruse}{sO{arabic}D(){.}mod()}
   {
     \IfBooleanF{#1}{\stepcounter{#4}}
-    \tl_set:cn { theeb@#4 }
+    \tl_set:cn { theeb-#4 }
       {
         \IfValueT{#5}{\use:c { the#5 }#3}
         \use:c {#2}{#4}
       }
-    \tl_use:c { theeb@#4 }
-    \eb_current_label:n { eb@#4 }
+    \tl_use:c { theeb-#4 }
+    \eb_current_label:n { eb-#4 }
   }
 \cs_new:Npn \eb_section_counter_prefix:n #1
   {

Modified: branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/easybook.cls	2022-03-13 20:47:37 UTC (rev 62682)
+++ branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/easybook.cls	2022-03-13 20:47:44 UTC (rev 62683)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/03/11}{1.645}
+\ProvidesExplClass{easybook}{2022/03/13}{1.648}
   {Easily typesetting Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool

Modified: branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
===================================================================
--- branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2022-03-13 20:47:37 UTC (rev 62682)
+++ branches/branch2021.final/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2022-03-13 20:47:44 UTC (rev 62683)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/11}{1.645}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/13}{1.648}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2
@@ -27,7 +27,6 @@
   { \tcbset{#1/.style = {#2}} }
 \cs_new_protected:Npn \tcbappstyle
   { \@ifstar{\deftcbstyle}{\addtotcbstyle} }
-\cs_set_eq:NN \newtcbstyle \deftcbstyle
 
 \deftcbstyle{tc-easybox}
   {



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