texlive[60752] Master/texmf-dist: easybook (13oct21)

commits+karl at tug.org commits+karl at tug.org
Wed Oct 13 22:30:02 CEST 2021


Revision: 60752
          http://tug.org/svn/texlive?view=revision&revision=60752
Author:   karl
Date:     2021-10-13 22:30:02 +0200 (Wed, 13 Oct 2021)
Log Message:
-----------
easybook (13oct21)

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/source/latex/easybook/easybook.ins
    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-13 20:29:48 UTC (rev 60751)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2021-10-13 20:30:02 UTC (rev 60752)
@@ -6,14 +6,22 @@
     enumitem,newtxmath,indentfirst,tabularray,
     fancyvrb,geometry,hologo,pifont
   }
-\colorlet{cnltxred}{violet}
+\definecolorscheme{blue}
+  {
+    cs      => purple,
+    option  => cnltxgreen,
+    cnltx   => cnltxblue,
+    link    => cnltxblue,
+    module  => violet,
+    meta    => black
+  }
 \setcnltx
   {
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK 使用手册,
-    version         = v1.3H,
-    date            = 2021/10/10,
+    version         = v1.3I,
+    date            = 2021/10/12,
     authors         = 瞿毅,
     info            = 排版简体中文学位论文和书籍,
     email           = q1jx at foxmail.com,
@@ -24,6 +32,7 @@
       },
     arg-format      = \normalfont\small\itshape,
     abstract-format = \small,
+    module-sep      = \,$\Rightarrow$\,,
     title-format    = \huge\sffamily
   }
 \KOMAoptions{headsepline = 0.6pt,numbers = noenddot}
@@ -62,6 +71,7 @@
         \IfBooleanTF{#2}{#4}{\IfBooleanTF{#1}{\Marg{#4}}{\splitmarg{#4}}}
       }
   }
+\newarg[\color{violet}\code]\Carg{\{}{\}}
 \newsplitarg{\splitoarg}{[}{]}
 \newsplitarg{\splitdarg}{(}{)}
 \newsplitarg{\splitmarg}{\{}{\}}
@@ -297,7 +307,7 @@
 \begin{options}
   \kvsplit{biname}{英文目录前名字,英文目录后名字}\Module{chapter}\Default{Chapter\cs*{space}}
   更改英文目录 \code{chapter} 级别的标题编号前后名字,类似于 C\TeX 的 \option*{name} 选项。
-  \keyval-{binmuber}{英文目录数字输出命令}\Module{chapter}\Default{\cs*{arabic}\Marg{chapter}}
+  \keyval-{binmuber}{英文目录数字输出命令}\Default{\cs*{arabic}\Carg{chapter}}
   更改英文目录 \code{chapter} 级别的标题编号输出格式,类似于 C\TeX 的 \option*{number} 选项。
 \end{options}
 
@@ -376,7 +386,7 @@
   统一调整页眉、定理盒子以及代码框等线条的粗细。
   \keybool{uppercase}\Default{true}
   使用 \cs*{rightmark} 及 \cs*{leftmark} 标题标记命令获取标题内容时英文是否大写。
-  \kvsplit{brackets}{左括号,右括号}\Default{\Marg{(,)}}
+  \kvsplit{brackets}{左括号,右括号}\Default{\Carg{(,)}}
   设置行间公式编号标签的括号,以英文逗号分隔,分别代表左右括号。
   \kvsplit*{figurepath}{\meta{路径名1}\code{\}\{}\meta{路径名2}}\Default
   设置插入图片的文件夹路径名,可以有多个路径名,每个路径包含在括号分隔,只有一个路径时需要包含在两层括号内。
@@ -384,15 +394,15 @@
 
 \subsubsection{连接符}
 \begin{options}
-  \keyval-{figure-con}{图片连接符}\Module{style}\Default{\Marg{.}}
+  \keyval-{figure-con}{图片连接符}\Module{style}\Default{\Carg{.}}
   设置图片题注编号的连接符。
-  \keyval-{table-con}{表格连接符}\Default{\Marg{.}}
+  \keyval-{table-con}{表格连接符}\Default{\Carg{.}}
   设置表格题注编号的连接符。
-  \keyval-{listing-con}{代码连接符}\Default{\Marg{.}}
+  \keyval-{listing-con}{代码连接符}\Default{\Carg{.}}
   设置代码题注编号的连接符。
-  \keyval-{equation-con}{公式连接符}\Default{\Marg{.}}
+  \keyval-{equation-con}{公式连接符}\Default{\Carg{.}}
   设置公式题注编号的连接符。
-  \keyval-{number-con}{连接符}\Default{\Marg{.}}
+  \keyval-{number-con}{连接符}\Default{\Carg{.}}
   统一设置上述所有编号的连接符。
 \end{options}
 
@@ -485,7 +495,7 @@
 \begin{options}
   \keychoice{backend}{bibtex,biblatex}\Module{bibset}\Default{bibtex}
   参考文献处理后端,默认用传统的 \hologo{BibTeX} 处理参考文献\footnote{使用 \hologo{BibTeX} 引擎时加载 \pkg*{natbib} 宏包,使用 \hologo{biber} 时将加载 \pkg*{biblatex} 宏包。}。
-  \keychoice{bib-style}{numerical,authoryear,其它格式}\Default{numerical}
+  \keychoice{bib-style}{numerical,authoryear,other sty}\Default{numerical}
   参考文献格式为中国的参考文献推荐标准 GB/T 7714-2015,有顺序编码制和著者-出版年制两种风格,理工科类一般使用顺序编码制,文科类一般使用著者-出版年制。若使用其它格式,使用 \hologo{BibTeX} 处理时需确保正确的 \code{bst} 文件,使用 \hologo{biber} 处理可使用 \pkg*{biblatex} 宏包支持的参考文献风格名称。
   \keyval-{cite-style}{标注风格}\Default
   标注参考文献的风格,选项 \keyis-{backend}{bibtex} 下可使用 \option{super}(数字上标标注,默认)或 \option{numbers}(数字标注)等 \pkg*{natbib} 宏包带有的标注风格,选项 \keyis-{backend}{biblatex} 下可使用 \pkg*{biblatex} 宏包支持的标注风格名称。
@@ -527,7 +537,7 @@
 \begin{options}
   \keybool{thmbox}\Module{thmset}\Default{false}
   给定理环境使用彩色盒子。这个特殊选项在 \module*{thmset} 模块中使用 \pkg*{tcolorbox} 宏包来支持,\meta{盒子风格} 默认为 \code{tc-theorem}。新建定理命令的同名选项则包括 \code{L}、\code{M} 和 \code{S} 三个参数。
-  \keychoice{within}{chapter,section,其它环境,空置}\Default{chapter}
+  \keychoice{within}{chapter,section,env,empty}\Default{chapter}
   定理编号跟随的计数器,默认跟随章的编号,也可以跟随其它定理环境的编号,当计数器增加时定理编号会从零开始,空置时不跟随其它计数器编号。
   \keyval-{headpunct}{代码}\Default
   紧随定理标题末尾的标记代码,位于定理第一段内容的间距 \option{postheadspace} 之前,可以是字符或插入换行符 \cs*{newline} 等命令。
@@ -535,7 +545,7 @@
   定理内容部分的字体,包括字体族、字体系列、字体尺寸和字体形状命令。
   \keyval-{notefont}{字体命令}\Default
   定理题注部分的字体,包括字体族、字体系列、字体尺寸和字体形状命令。
-  \keyval-{headfont}{字体命令}\Default{\cs*{color}\Marg{ctex at emph}\cs*{sffamily}}
+  \keyval-{headfont}{字体命令}\Default{\cs*{color}\Carg{ctex at emph}\cs*{sffamily}}
   定理标题部分的字体,包括字体族、字体系列、字体尺寸和字体形状命令。
   \keyval-{headindent}{刚性长度}\Default{0em}
   定理标题的缩进,默认无缩进,可用 \cs*{parindent} 命令设置为段落缩进。
@@ -545,9 +555,9 @@
   定理环境后的间距,使用 \pkg*{tcolorbox} 的盒子环境包装后被覆盖。
   \keyval-{postheadspace}{刚性长度}\Default{1em}
   定理标题后与定理第一段内容的间距。
-  \kvsplit*{notebraces}{\meta{左括号}\code{\}\{}\meta{右括号}}\Default{\Marg{(}\Marg{)}}
+  \kvsplit*{notebraces}{\meta{左括号}\code{\}\{}\meta{右括号}}\Default{\Carg{(}\Carg{)}}
   设置定理题注两边的括号,两个必选参数分别代表左括号和右括号。
-  \keyval-{headformat}{标题排列}\Default{\cs*{NAME}\cs*{space}\cs*{NUMBER}\cs*{NOTE}}
+  \keyval-{headformat}{标题排列}\Default{\cs*{NAME}\cs*{NUMBER}\cs*{NOTE}}
   定理标题各组成元素的位置排列和格式。定理标题由定理名、编号和题注组成,\meta{标题排列} 中参数 \cs*{NAME}、\cs*{NUMBER} 和 \cs*{NOTE} 分别代表定理名、编号和题注。
 \end{options}
 
@@ -634,7 +644,7 @@
   标题标记命令 \cs*{sectionmark} 的内容,包括了标签选项 \option{sec-label} 的内容。
   \keyval-{subsec-mark}{标题标记}
   标题标记命令 \cs*{subsectionmark} 的内容,包括了标签选项 \option{subsec-label} 的内容。
-  \kvsplit-{chap-label}{\oarg{数字输出命令}\marg{距离命令}}\Default{\cs*{hspace}\Marg{1em}}
+  \kvsplit-{chap-label}{\oarg{数字输出命令}\marg{距离命令}}\Default{\cs*{hspace}\Carg{1em}}
   标题标记命令 \cs*{chaptermark} 内容的标签(标题有编号时),比标题标记选项更常用,可选参数是对应于章节编号计数器的输出命令,必选参数是编号与标题之间的距离命令:
   \begin{ctexexam}
   \hdrset
@@ -643,9 +653,9 @@
       sec-mark    = \CTEXifname{\CTEXthesection——}{}#1
     }
   \end{ctexexam}
-  \kvsplit-{sec-label}{\oarg{数字输出命令}\marg{距离命令}}\Default{\cs*{hspace}\Marg{0.5em}}
+  \kvsplit-{sec-label}{\oarg{数字输出命令}\marg{距离命令}}\Default{\cs*{hspace}\Carg{0.5em}}
   标题标记命令 \cs*{sectionmark} 内容的标签,用法与 \option{chap-label} 类似。
-  \kvsplit-{subsec-label}{\oarg{数字输出命令}\marg{距离命令}}\Default{\cs*{hspace}\Marg{0.5em}}
+  \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} 会失效。
@@ -700,7 +710,7 @@
   \end{ctexexam}
   \keychoice{fnmark-pos}{normal,super}\Default{super}
   设置脚注内容标记的位置,正常文本或是上标形式。
-  \keychoice{fnmark-num}{plain,pifont,pifont*,pifont-sans,pifont-sans*,短编号}\Default{plain}
+  \keychoice{fnmark-num}{plain,pifont,pifont*,pifont-sans,pifont-sans*,short num}\Default{plain}
   脚注正文标记编号的格式,默认为原生样式 \code{plain},还可以改为 \code{pifont} 的各个版本,从左往右依次为普通版、阴文衬线版、阳文无衬线版和阴文无衬线版,缺点是它们的编号仅包括 1-10。
 
   短编号的形式与列表环境类似,不过增加了一个中文数字格式参数 \code{c}。原生样式 \code{plain} 等同于单独使用数字 \code{1} 参数。这个选项可以用在正文中改变其后脚注编号格式。
@@ -708,9 +718,9 @@
   \hdrset{fnmark-num = 1} % 等于编号格式plain
   \hdrset{fnmark-num = (a)}
   \end{ctexexam}
-  \keychoice{fntext-num}{plain,pifont,pifont*,pifont-sans,pifont-sans*,短编号}\Default{plain}
+  \keychoice{fntext-num}{plain,pifont,pifont*,pifont-sans,pifont-sans*,short num}\Default{plain}
   脚注内容标记编号的格式,用法与 \option{fnmark-num} 一样,所以脚注内容与正文标记编号格式\textbf{可以不同}。
-  \keychoice{fnboth-num}{plain,pifont,pifont*,pifont-sans,pifont-sans*,短编号}\Default{plain}
+  \keychoice{fnboth-num}{plain,pifont,pifont*,pifont-sans,pifont-sans*,short num}\Default{plain}
   同时设定脚注正文标记编号 \option{fnmark-num} 与脚注内容标记编号 \option{fntext-num} 的格式。目前脚注编号格式选项对于迷你页环境 \env*{minipage} 无效,其中的脚注保持默认英文字母的编号形式。
   \keyval-{fnmark-form}{格式代码}\Default
   脚注标记的格式,一般配合选项 \keyis-{fnmark-num}{plain} 使用,例如配合 \pkg*{circledsteps} 宏包的带圈符号命令 \cs*{Circled} 给脚注标记添加圆圈:
@@ -953,7 +963,7 @@
   习题标题盒子背景颜色,可以使用 \pkg*{xcolor} 自定义颜色或使用色库。
   \keyval-{title}{环境标题}\Default{习题}
   习题的标题,可以匹配中英文模式,习题环境使用 \parg{} 参数时无效。
-  \keyval-{number}{习题编号格式}\Default{\Marg{1.}}
+  \keyval-{number}{习题编号格式}\Default{\Carg{1.}}
   标题编号输出选项 \option{number} 为短编号形式,应当包含 \code{A}、\code{a}、\code{I}、\code{i}、或 \code{1} 其中一个符号。
   \keyval-{numsep}{编号与标题的间距}\Default{0.5em}
   习题标题编号与后方标题文本的间距,习题环境使用星号参数时无效。
@@ -1111,7 +1121,7 @@
   \begin{options}
   \keyval-{width}{符号宽度}\Default{2em}
   设置适当的符号宽度可以防止文字重叠和边界溢出等问题。
-  \keyval-{delim}{引导符}\Default{\Marg{——}}
+  \keyval-{delim}{引导符}\Default{\Carg{——}}
   全局的符号对照引导符,\cs{symb} 局部的 \meta{引导符} 和对齐方式是基于这个符号的宽度。
   \keyval-{space}{符号间隙}\Default{0.25em}
   符号间隙为引导符两侧与符号和说明文字间的距离。

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-10-13 20:29:48 UTC (rev 60751)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-10-13 20:30:02 UTC (rev 60752)
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2021 by Yi Qu <q1jx at foxmail.com>
+% Copyright (C) 2021 by Qu Yi <q1jx at foxmail.com>
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/10/10}{1.3H}
+\ProvidesExplClass{easybook}{2021/10/12}{1.3I}
   {Typeset Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -319,7 +319,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/10/10}{1.3H}
+\ProvidesExplPackage{easybase}{2021/10/12}{1.3I}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1967,7 +1967,7 @@
     postheadspace = 1em,
     notebraces    = {(}{)},
     within        = \bool_if:NT \l__eb_class_book_bool { chapter },
-    headformat    = \NAME\space\NUMBER\NOTE
+    headformat    = \NAME\NUMBER\NOTE
   }
 \eb_at_end_preamble:n
   {
@@ -2385,7 +2385,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/10}{1.3H}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/12}{1.3I}
   {Customization of tcolorbox for easybook}
 
 \tl_gset:Nn \eb at tc@line at skip { 0.5\baselineskip }

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.ins	2021-10-13 20:29:48 UTC (rev 60751)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.ins	2021-10-13 20:30:02 UTC (rev 60752)
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2021 by Yi Qu <q1jx at foxmail.com>
+% Copyright (C) 2021 by Qu Yi <q1jx at foxmail.com>
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -19,7 +19,7 @@
 \usedir{tex/latex/easybook}
 
 \preamble
-Copyright (C) 2021 by Yi Qu <q1jx at foxmail.com>
+Copyright (C) 2021 by Qu Yi <q1jx at foxmail.com>
 
 This work may be distributed and/or modified under the
 conditions of the LaTeX Project Public License, either

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-10-13 20:29:48 UTC (rev 60751)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-10-13 20:30:02 UTC (rev 60752)
@@ -5,7 +5,7 @@
 %% The original source files were:
 %%
 %% easybook.dtx  (with options: `package')
-%% Copyright (C) 2021 by Yi Qu <q1jx at foxmail.com>
+%% Copyright (C) 2021 by Qu Yi <q1jx at foxmail.com>
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/10/10}{1.3H}
+\ProvidesExplPackage{easybase}{2021/10/12}{1.3I}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1668,7 +1668,7 @@
     postheadspace = 1em,
     notebraces    = {(}{)},
     within        = \bool_if:NT \l__eb_class_book_bool { chapter },
-    headformat    = \NAME\space\NUMBER\NOTE
+    headformat    = \NAME\NUMBER\NOTE
   }
 \eb_at_end_preamble:n
   {

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-10-13 20:29:48 UTC (rev 60751)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-10-13 20:30:02 UTC (rev 60752)
@@ -5,7 +5,7 @@
 %% The original source files were:
 %%
 %% easybook.dtx  (with options: `class')
-%% Copyright (C) 2021 by Yi Qu <q1jx at foxmail.com>
+%% Copyright (C) 2021 by Qu Yi <q1jx at foxmail.com>
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/10/10}{1.3H}
+\ProvidesExplClass{easybook}{2021/10/12}{1.3I}
   {Typeset Chinese theses or books}
 
 \bool_set_false: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	2021-10-13 20:29:48 UTC (rev 60751)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2021-10-13 20:30:02 UTC (rev 60752)
@@ -5,7 +5,7 @@
 %% The original source files were:
 %%
 %% easybook.dtx  (with options: `tcolorbox')
-%% Copyright (C) 2021 by Yi Qu <q1jx at foxmail.com>
+%% Copyright (C) 2021 by Qu Yi <q1jx at foxmail.com>
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -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/10}{1.3H}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/12}{1.3I}
   {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.