texlive[60860] Master/texmf-dist: easybook (24oct21)

commits+karl at tug.org commits+karl at tug.org
Sun Oct 24 23:00:12 CEST 2021


Revision: 60860
          http://tug.org/svn/texlive?view=revision&revision=60860
Author:   karl
Date:     2021-10-24 23:00:12 +0200 (Sun, 24 Oct 2021)
Log Message:
-----------
easybook (24oct21)

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	2021-10-24 20:59:56 UTC (rev 60859)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2021-10-24 21:00:12 UTC (rev 60860)
@@ -9,9 +9,9 @@
 \definecolorscheme{blue}
   {
     cs      => purple,
-    option  => cnltxgreen,
-    cnltx   => cnltxblue,
-    link    => cnltxblue,
+    option  => teal,
+    cnltx   => Blue,
+    link    => magenta,
     module  => violet,
     meta    => black
   }
@@ -20,7 +20,7 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK 使用手册,
-    version         = v1.40A,
+    version         = v1.40B,
     date            = 2021/10/21,
     authors         = 瞿毅,
     info            = 排版简体中文学位论文和书籍,
@@ -37,8 +37,8 @@
   }
 \KOMAoptions{headsepline = 0.6pt,numbers = noenddot}
 \setfootnoterule[0.6pt]{0.4\columnwidth}
-\addtokomafont{headsepline}{\color{cnltxblue}}
-\addtokomafont{footnoterule}{\color{cnltxblue}}
+\addtokomafont{headsepline}{\color{Blue}}
+\addtokomafont{footnoterule}{\color{Blue}}
 \addtokomafont{section}{\normalfont\sffamily}
 \addtokomafont{subsection}{\normalfont\sffamily}
 \addtokomafont{subsubsection}{\normalfont\sffamily}
@@ -45,12 +45,12 @@
 \DeclareTOCStyleEntry[entryformat = \sffamily]{default}{section}
 \geometry{margin = 1in,marginparwidth = 0.65in}
 \setlist{nosep,labelindent = \parindent,leftmargin = *,labelsep = 0.5em}
-\setlist[itemize,1]{label = \small\color{cnltxblue}\textbullet}
+\setlist[itemize,1]{label = \small\color{Blue}\textbullet}
 \setcounter{tocdepth}{2}
 
 \ExplSyntaxOn\makeatletter
 \NewDocumentCommand{\passto}{smm}
-  {\IfBooleanF{#1}{\color{cnltxblue}}#3\ifblank{#2}{}{\ttfamily[#2]}}
+  {\IfBooleanF{#1}{\color{Blue}}#3\ifblank{#2}{}{\ttfamily[#2]}}
 \newcommand{\splitmeta}[2][\code{,}]
   {
     \clist_clear:N \l_tmpa_clist
@@ -98,7 +98,7 @@
 \DefineVerbatimEnvironment{frameverb}{Verbatim}
   {
     baselinestretch = 1.2,gobble = 2,fontsize = \small,
-    rulecolor = \color{cnltxblue},framerule = 0.6pt,
+    rulecolor = \color{Blue},framerule = 0.6pt,
     frame = single,framesep = 10pt,
     listparameters =
       {
@@ -109,7 +109,7 @@
 \DefineVerbatimEnvironment{ctexexam}{Verbatim}
   {
     baselinestretch = 1.2,gobble = 2,fontsize = \small,
-    rulecolor = \color{cnltxblue},framerule = 0.6pt,
+    rulecolor = \color{Blue},framerule = 0.6pt,
     frame = single,framesep = 10pt,
     label = \rule{0pt}{12pt}\textnormal{\bfseries 例 \arabic{ctexexam}},
     listparameters =
@@ -211,14 +211,14 @@
 
 \subsection{英文字体}
 \begin{options}
-  \keychoice{font}{noto,garamond,times,libertine,palatino,auto}\Default{auto}
+  \keychoice{font}{noto,garamond,times,times*,libertine,palatino,auto}\Default{auto}
   预置的英文字体相关配置方案如下表所示,这些字体已经包含在了 \TeX Live 发行版中,所以通常不需要再专门安装。如果您想使用其他英文字体,可以使用 \pkg*{fontspec} 宏包的相关命令进行设置。
   \begin{center}
   \begin{tblr}
   {
     colspec = @{}*{4}{c}@{},
-    hline{1,7} = {1pt,cnltxblue},
-    hline{2} = {0.6pt,cnltxblue},
+    hline{1,8} = {1pt,Blue},
+    hline{2} = {0.6pt,Blue},
     row{1} = {font = \sffamily},
     column{1} = {cmd = \code}
   }
@@ -226,8 +226,9 @@
   noto & Noto Serif & Noto Sans & Noto Sans Mono \\
   garamond & EB Garamond & Libertinus Sans & LM Mono \\
   palatino & TG Pagella & Libertinus Sans & LM Mono \\
-  libertine & TG Pagella & Libertinus Sans & LM Mono \\
-  times & XITS & TG Heros & TG Cursor
+  libertine & Libertinus Serif & Libertinus Sans & LM Mono \\
+  times & XITS & TG Heros & TG Cursor \\
+  times* & Times New Roman & Arial & Courier New
   \end{tblr}
   \end{center}
 \end{options}
@@ -282,7 +283,7 @@
   \opt{section}\Default!
   使当前目录标题按照 \code{section} 节级别输出。
   \keybool{multoc}\Default{false}
-  与 \module*{style/}\option{multoc} 选项具有相同的效果,但是具有优先性且可单独设置不同目录是否多栏排版,栏数默认为双栏,可使用 \option{columns} 更改。
+  与 \module*{style} 模块的 \option{multoc} 选项具有相同的效果,但是具有优先性且可单独设置不同目录是否多栏排版,栏数默认为双栏,可使用 \option{columns} 更改。
   \keyval-{columns}{目录栏数}\Default{2}
   设置目录的栏数,仅在 \keyis-{multoc}{true} 时有效,默认为双栏。
   \kvsplit{title}{中文目录标题,英文目录标题}\newline
@@ -329,7 +330,7 @@
   \command{sub}[\sarg\oarg{垂直偏移}\splitoarg{高度,深度}\darg{格式代码}\marg{内容}\oarg{水平偏移}]
   下标命令,与简短命令 \cs{sp} 等效。水平和垂直偏移为正值时代表向下或向右移动,否则相反。其它用法和参数与上标命令 \cs{super} 类似。
   \command{supersub}[\sarg\oarg{间距}\darg{对齐方式}\marg{上标内容}\marg{下标内容}\oarg{水平偏移}\splitdarg{上标代码,下标代码}]
-  同时输出上标和下标的命令,与简短命令 \cs{spb} 等效。\meta{间距} 为上下标的垂直间距,\meta{对齐方式} 是下标的水平对齐方式,参数与 \module*{style/}\option{supersubalign} 相同,\meta{水平偏移} 默认为 \code{0pt}。
+  同时输出上标和下标的命令,与简短命令 \cs{spb} 等效。\meta{间距} 为上下标的垂直间距,\meta{对齐方式} 是下标的水平对齐方式,参数与 \option{supersubalign} 相同,\meta{水平偏移} 默认为 \code{0pt}。
 \end{commands}
 
 \section{接口选项}
@@ -341,9 +342,9 @@
   \begin{tblr}
   {
     colspec = @{}*{5}{c}@{},
-    hline{1,5} = {1pt,cnltxblue},
-    hline{3} = {0.6pt,cnltxblue},
-    row{1,3} = {font = \sffamily},
+    hline{1,5} = {1pt,Blue},
+    hline{3} = {0.6pt,Blue},
+    row{1,3} = {font = \sffamily,belowsep = 0pt},
     row{2,4} = {cmd = \module*}
   }
   \hyperref[subsec:style]{风格} & \hyperref[subsec:other font]{其它字体} & \hyperref[subsec:spacing]{行距} & \hyperref[subsec:hyperlinks]{超链接} & \hyperref[subsec:reference]{参考文献} \\
@@ -353,7 +354,7 @@
   \end{tblr}
   \end{center}
 
-  例如使用下面小节 \ref{subsec:style} 介绍的风格 \module*{style} 模块,路径名与所属下级选项之间可以 \code{/} 或 \code{=} 号分开,符号后不能有空格或者换行:
+  例如使用下面小节 \ref{subsec:style} 介绍的风格 \module*{style} 模块,路径名与所属下级选项之间可以 \code{/} 或 \code{=} 号分开,斜线 \code{/} 后不能有空格或者换行:
   \begin{ctexexam}
   \ctexset
     {
@@ -528,7 +529,7 @@
   \end{options}
 \end{commands}
 
-可能一些情况下您希望更加灵活地设置参考文献或有更多需求,下面举一个在导言区手动配置 \pkg*{biblatex} 宏包的例子:
+可能在一些情况下您希望更加灵活地设置参考文献或有更多需求,下面举一个在导言区手动配置 \pkg*{biblatex} 宏包的例子:
 \begin{ctexexam}
   \usepackage[style = numeric]{biblatex}
   \addbibresource{myrefs.bib}
@@ -639,7 +640,7 @@
 
 \subsection{页眉页脚}
 \label{subsec:header and footer}
-模块 \module*{hdrset} 设置的命令由 \pkg*{fancyhdr} 宏包提供支持。在 \cls*{book} 模式时使用章节标题标记选项 \option{chap-mark} 和 \option{sec-mark},在 \cls*{article} 模式时使用 \option{sec-mark} 和 \option{subsec-mark} 选项,这与标准文档类的行为一致。标题标记由标签和标题组成,选项中参数 \code{\#1} 代表当前章、节或小节的标题。也可以直接重新定义这些选项对应的标题标记命令,但此时标记大写选项 \module*{style/}\option{uppercase} 失效。
+模块 \module*{hdrset} 设置的命令由 \pkg*{fancyhdr} 宏包提供支持。在 \cls*{book} 模式时使用章节标题标记选项 \option{chap-mark} 和 \option{sec-mark},在 \cls*{article} 模式时使用 \option{sec-mark} 和 \option{subsec-mark} 选项,这与标准文档类的行为一致。标题标记由标签和标题组成,选项中参数 \code{\#1} 代表当前章、节或小节的标题。也可以直接重新定义这些选项对应的标题标记命令,但此时标记大写选项 \option{uppercase} 失效。
 \begin{options}
   \keyval-{headfoot}{页眉页脚代码}\Module{hdrset}
   设置页眉页脚的格式,使用 \pkg*{fancyhdr} 支持的 \cs*{fancyhead} 和 \cs*{fancyhead} 等命令,或在正文中使用这些命令改变其后的页面风格。
@@ -663,7 +664,7 @@
   \kvsplit-{subsec-label}{\oarg{数字输出命令}\marg{距离命令}}\Default{\cs*{hspace}\Carg{0.5em}}
   标题标记命令内容 \cs*{subsectionmark} 的标签,用法与 \option{chap-label} 类似。
   \keyval-{headrule}{横线命令}
-  绘制页眉横线的选项,可以使用 \cs*{hrule}、\cs*{rule} 或下述 \cs{markrule} 等画线命令来绘制横线。手动绘制横线时线条粗细选项 \module*{style/}\option{rulewidth} 会失效。
+  绘制页眉横线的选项,可以使用 \cs*{hrule}、\cs*{rule} 或下述 \cs{markrule} 等画线命令来绘制横线。手动绘制横线时线条粗细选项 \option{rulewidth} 会失效。
   \keyval-{footrule}{横线命令}\Default
   绘制页脚横线的选项,可以使用 \cs*{hrule}、\cs*{rule} 或下述 \cs{markrule} 等画线命令来绘制横线。
   \keyval-{footnoterule}{横线命令}
@@ -702,18 +703,18 @@
 \subsubsection{脚注格式}
 模块 \module*{hdrset} 还可以灵活调整脚注编号和内容的格式。格式主要包括脚注标记的编号类型、字体、附加符号、对齐方式和缩进距离等,以及脚注内容的首行缩进、行距和字体等。基本思想是默认脚注和自定义编号脚注标记的格式分离,两种类型脚注各自正文和内容的标记又共享格式,默认脚注中正文和内容标记的编号类型分离。
 \begin{options}
-  \keyval-{fnindent}{刚性长度}\Module{hdrset}\Default{0.75em}
-  脚注内容首段缩进距离,等于长度 \cs{footnoteindent} 的值。
-  \keyval-{fnparskip}{弹性长度}\Default{0ex}
-  脚注段落间距,等于长度 \cs{footparskip} 的值。
-  \keyval-{fnparindent}{刚性长度}\Default{2em}
-  脚注段落缩进,等于长度 \cs{footparindent} 的值。
-  \keychoice{footnotetype}{hang,default,flush,bottom}\Default{hang}
+  \keychoice{footnotetype}{hang,default,flush,bottom}\Module{hdrset}\Default{hang}
   脚注的类型,悬挂缩进 \code{hang} 是默认值,\code{default} 是原始的类型,在一些浮动体排版的情况下,脚注可能位于页面中间,\code{bottom} 使脚注始终位于页面底端,\code{flush} 使脚注内容标记位于脚注首行边缘外侧并右对齐。其中 \code{bottom} 是复合选项,可以与前三种类型重复或复合使用:
   \begin{ctexexam}
   \hdrset{footnotetype = default,footnotetype = bottom}
   \hdrset{footnotetype = {hang,bottom}}
   \end{ctexexam}
+  \keyval-{fnindent}{刚性长度}\Default{0.75em}
+  脚注内容首段缩进距离,等于长度 \cs{footindent} 的值。
+  \keyval-{fnparskip}{弹性长度}\Default{0ex}
+  脚注段落间距,等于长度 \cs{footparskip} 的值。
+  \keyval-{fnparindent}{刚性长度}\Default{2em}
+  脚注段落缩进,等于长度 \cs{footparindent} 的值。
   \keychoice{fntext-pos}{normal,super}\Default{super}
   设置脚注内容标记的位置,正常文本或是上标形式。
   \keychoice{fnmark-num}{plain,pifont,pifont*,pisans,pisans*,short num}\Default{plain}
@@ -747,9 +748,9 @@
   \keychoice{fncust-form}{format code,match}\Default
   单独设定自定义脚注标记的格式,\code{match} 可以匹配 \option*{super-format} 全局的值。自定义脚注的命令与用法见小节 \ref{subsubsec:custom footnotes}。
   \keychoice{fnboth-form}{format code,match}\Default
-  同时设定默认脚注标记 \option{fnmate-form} 和自定义脚注标记 \option{fncust-form} 的格式。两种脚注标记匹配上标格式 \option*{super-format} 的值是独立的,使用 \code{match} 则可以同时匹配。标记格式选项含有字体命令会覆盖 \module*{subfont/}\option{footnote} 的设置,最后一个格式命令可以带有一个参数接受脚注标记。
+  同时设定默认脚注标记 \option{fnmate-form} 和自定义脚注标记 \option{fncust-form} 的格式。两种脚注标记匹配上标格式 \option*{super-format} 的值是独立的,使用 \code{match} 则可以同时匹配。标记格式选项含有字体命令会覆盖 \option{footnote} 的设置,最后一个格式命令可以带有一个参数接受脚注标记。
   \keyval-{fnpara-form}{格式代码}\Default
-  脚注内容的格式,在此设置字体命令会覆盖 \module*{subfont/}\option{footnote} 的设置,最后一个格式命令可以带有一个参数接受脚注内容。
+  脚注内容的格式,在此设置字体命令会覆盖 \option{footnote} 的设置,最后一个格式命令可以带有一个参数接受脚注内容。
   \kvsplit{fntext-code}{前代码,后代码}\newline
   可以用 \meta{前代码} 与 \meta{后代码} 额外增加脚注内容标记前后的代码,也可以只有前部分,\meta{前代码} 中最后一个格式命令可以带有一个参数接受脚注内容标记。由于脚注标记处于水平模式,一般用于在脚注内容标记与脚注首行间插入一点距离,或与脚注正文标记的格式稍有不同。
   \begin{ctexexam}
@@ -853,7 +854,7 @@
     }
     Alpha & Beta & Gamma & Delta \\
     Epsilon & Zeta & Eta & Theta \\
-    Iota & Kappa & \SetCell[r=2]{h,c,Cyan}Lambda & Mu \\
+    Iota & Kappa & \SetCell[r = 2]{h,c,Cyan}Lambda & Mu \\
     Nu & Xi & Omicron & Pi \\
     Rho & Sigma & Tau & Upsilon
   \end{tblr}
@@ -900,13 +901,13 @@
   \environment{example}\default{}
   \environment{remark}\default{}
   \environment{proof}
-  这些是预置的定理环境,可使用选项 \module*{thmset/}\option{thmframe} 为它们添加盒子边框,其中注与证明环境不编号,证明末尾会自动添加证明结束符,声明新的定理环境或更改定理盒子样式见小节 \ref{subsec:theorem of style}。环境名与之对应的定理名如下:
+  这些是预置的定理环境,可使用选项 \option{thmframe} 为它们添加盒子边框,其中注与证明环境不编号,证明末尾会自动添加证明结束符,声明新的定理环境或更改定理盒子样式见小节 \ref{subsec:theorem of style}。环境名与之对应的定理名如下:
   \begin{center}
   \begin{tblr}
   {
     colspec = @{}*{8}{c}@{},
-    hline{1,3} = {1pt,cnltxblue},
-    hline{2} = {0.6pt,cnltxblue},
+    hline{1,3} = {1pt,Blue},
+    hline{2} = {0.6pt,Blue},
     row{1} = {font = \sffamily},
     row{2} = {cmd = \env}
   }
@@ -982,9 +983,9 @@
   \begin{options}
   \keyval-{color}{标题背景颜色名}\Default{DeepSkyBlue}
   习题标题盒子背景颜色,可以使用 \pkg*{xcolor} 自定义颜色或使用色库。
-  \keyval-{title}{环境标题}\Default{习题}
+  \keyval-{title}{环境标题}
   习题的标题,可以匹配中英文模式,习题环境使用 \parg{} 参数时无效。
-  \keyval-{number}{习题编号格式}\Default{\Carg{1.}}
+  \keyval-{number}{习题编号格式}\Default{1.}
   标题编号输出选项 \option{number} 为短编号形式,应当包含 \code{A}、\code{a}、\code{I}、\code{i}、或 \code{1} 其中一个符号。
   \keyval-{numsep}{编号与标题的间距}\Default{0.5em}
   习题标题编号与后方标题文本的间距,习题环境使用星号参数时无效。

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-10-24 20:59:56 UTC (rev 60859)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-10-24 21:00:12 UTC (rev 60860)
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/10/21}{1.40A}
+\ProvidesExplClass{easybook}{2021/10/21}{1.40B}
   {Typeset Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -34,7 +34,7 @@
     enmode .meta:n  = { newline,scheme = plain },
 
     font .choices:nn            =
-      { noto,garamond,times,libertine,palatino,auto }
+      { noto,garamond,times,times*,libertine,palatino,auto }
       { \tl_set:Nn \l__eb_font_choice_tl {#1} },
     font .value_required:n      = true,
     font .initial:n             = auto,
@@ -169,6 +169,12 @@
         Ligatures       = CommonOff
       }
   }
+\cs_new_protected:cpn { eb at font@load at times* }
+  {
+    \eb_setmainfont:nn { Times~New~Roman } { }
+    \eb_setsansfont:nn { Arial } { }
+    \eb_setmonofont:nn { Courier~New } { }
+  }
 \cs_new_protected:Npn \eb_font_load_libertinus_sans:
   {
     \eb_setsansfont:nn { LibertinusSans }
@@ -319,7 +325,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/10/21}{1.40A}
+\ProvidesExplPackage{easybase}{2021/10/21}{1.40B}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -887,7 +893,7 @@
 \clist_new:N \l__eb_footnote_mulchoice_clist
 \ctex_define:nn { hdrset }
   {
-    fnindent .dim_set:N             = \footnoteindent,
+    fnindent .dim_set:N             = \footindent,
     fnindent .initial:n             = 0.75em,
     fnparskip .skip_set:N           = \footparskip,
     fnparskip .initial:n            = 0ex,
@@ -995,8 +1001,8 @@
   {
     \hbox_set:Nn \l_tmpa_box
       {
-        \dim_compare:nNnTF { \footnoteindent } > { 0pt }
-          { \hbox_to_wd:nn { \footnoteindent } { \eb at makefnmark\hss } }
+        \dim_compare:nNnTF { \footindent } > { 0pt }
+          { \hbox_to_wd:nn { \footindent } { \eb at makefnmark\hss } }
           { \eb at makefnmark }
       }
     \dim_set:Nn \leftmargin { \box_wd:N \l_tmpa_box }
@@ -1012,19 +1018,19 @@
   {
     \noindent
     \clist_if_in:NnT \l__eb_footnote_mulchoice_clist { flush }
-      { \dim_zero:N \footnoteindent }
-    \int_case:nn { \dim_sign:V \footnoteindent }
+      { \dim_zero:N \footindent }
+    \int_case:nn { \dim_sign:V \footindent }
       {
         { 1 } { \use_i:nnn }
         { 0 } { \use_ii:nnn }
         { -1 } { \use_iii:nnn }
       }
-      { \hbox_to_wd:nn { \footnoteindent } { \hss\eb at makefnmark } }
+      { \hbox_to_wd:nn { \footindent } { \hss\eb at makefnmark } }
       { \hbox_overlap_left:n { \eb at makefnmark } }
       {
         \hbox_overlap_left:n
           {
-            \hbox_to_wd:nn { -\footnoteindent }
+            \hbox_to_wd:nn { -\footindent }
               { \eb at makefnmark\hss }
           }
       }
@@ -2459,7 +2465,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/21}{1.40A}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/21}{1.40B}
   {Customization of tcolorbox for easybook}
 
 \tl_gset:Nn \eb at tc@line at skip { 0.5\baselineskip }

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-10-24 20:59:56 UTC (rev 60859)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-10-24 21:00:12 UTC (rev 60860)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/10/21}{1.40A}
+\ProvidesExplPackage{easybase}{2021/10/21}{1.40B}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -588,7 +588,7 @@
 \clist_new:N \l__eb_footnote_mulchoice_clist
 \ctex_define:nn { hdrset }
   {
-    fnindent .dim_set:N             = \footnoteindent,
+    fnindent .dim_set:N             = \footindent,
     fnindent .initial:n             = 0.75em,
     fnparskip .skip_set:N           = \footparskip,
     fnparskip .initial:n            = 0ex,
@@ -696,8 +696,8 @@
   {
     \hbox_set:Nn \l_tmpa_box
       {
-        \dim_compare:nNnTF { \footnoteindent } > { 0pt }
-          { \hbox_to_wd:nn { \footnoteindent } { \eb at makefnmark\hss } }
+        \dim_compare:nNnTF { \footindent } > { 0pt }
+          { \hbox_to_wd:nn { \footindent } { \eb at makefnmark\hss } }
           { \eb at makefnmark }
       }
     \dim_set:Nn \leftmargin { \box_wd:N \l_tmpa_box }
@@ -713,19 +713,19 @@
   {
     \noindent
     \clist_if_in:NnT \l__eb_footnote_mulchoice_clist { flush }
-      { \dim_zero:N \footnoteindent }
-    \int_case:nn { \dim_sign:V \footnoteindent }
+      { \dim_zero:N \footindent }
+    \int_case:nn { \dim_sign:V \footindent }
       {
         { 1 } { \use_i:nnn }
         { 0 } { \use_ii:nnn }
         { -1 } { \use_iii:nnn }
       }
-      { \hbox_to_wd:nn { \footnoteindent } { \hss\eb at makefnmark } }
+      { \hbox_to_wd:nn { \footindent } { \hss\eb at makefnmark } }
       { \hbox_overlap_left:n { \eb at makefnmark } }
       {
         \hbox_overlap_left:n
           {
-            \hbox_to_wd:nn { -\footnoteindent }
+            \hbox_to_wd:nn { -\footindent }
               { \eb at makefnmark\hss }
           }
       }

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-10-24 20:59:56 UTC (rev 60859)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-10-24 21:00:12 UTC (rev 60860)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/10/21}{1.40A}
+\ProvidesExplClass{easybook}{2021/10/21}{1.40B}
   {Typeset Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -39,7 +39,7 @@
     enmode .meta:n  = { newline,scheme = plain },
 
     font .choices:nn            =
-      { noto,garamond,times,libertine,palatino,auto }
+      { noto,garamond,times,times*,libertine,palatino,auto }
       { \tl_set:Nn \l__eb_font_choice_tl {#1} },
     font .value_required:n      = true,
     font .initial:n             = auto,
@@ -174,6 +174,12 @@
         Ligatures       = CommonOff
       }
   }
+\cs_new_protected:cpn { eb at font@load at times* }
+  {
+    \eb_setmainfont:nn { Times~New~Roman } { }
+    \eb_setsansfont:nn { Arial } { }
+    \eb_setmonofont:nn { Courier~New } { }
+  }
 \cs_new_protected:Npn \eb_font_load_libertinus_sans:
   {
     \eb_setsansfont:nn { LibertinusSans }

Modified: trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2021-10-24 20:59:56 UTC (rev 60859)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2021-10-24 21:00:12 UTC (rev 60860)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/21}{1.40A}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/21}{1.40B}
   {Customization of tcolorbox for easybook}
 
 \tl_gset:Nn \eb at tc@line at skip { 0.5\baselineskip }



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