texlive[60777] Master/texmf-dist: easybook (16oct21)

commits+karl at tug.org commits+karl at tug.org
Sat Oct 16 22:42:32 CEST 2021


Revision: 60777
          http://tug.org/svn/texlive?view=revision&revision=60777
Author:   karl
Date:     2021-10-16 22:42:32 +0200 (Sat, 16 Oct 2021)
Log Message:
-----------
easybook (16oct21)

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-16 20:41:19 UTC (rev 60776)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2021-10-16 20:42:32 UTC (rev 60777)
@@ -20,8 +20,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK 使用手册,
-    version         = v1.3I,
-    date            = 2021/10/12,
+    version         = v1.3L,
+    date            = 2021/10/16,
     authors         = 瞿毅,
     info            = 排版简体中文学位论文和书籍,
     email           = q1jx at foxmail.com,
@@ -945,7 +945,7 @@
 
   \meta{键值列表2} 包括 \pkg*{tcolorbox} 的盒子样式选项,例如 \option*{boxsep} 和 \option*{fontupper} 等,也可以使用下述 \option{tcolorbox} 选项。在这里可以使用 \cs{addtcbstyle} 命令设置标题选项 \meta{键值列表2} 的值,第一个参数为 \code{tc-exercise}。
   \begin{ctexexam}
-  \tcphantomifname{\markright{\UseCounter{tcbcounter}{\quad 习题}}}{}
+  \tcphantomifname{\markright{\counteruse{tcbcounter}{\quad 习题}}}{}
   \addtcbstyle{tc-exercise}{boxsep = 5pt}
   \exerprologue{习题前的一段文本}
   \begin{exercise}+[color = LightSkyBlue](after skip = 2pc)[itemsep = 1ex]
@@ -1074,13 +1074,13 @@
 \subsection{计数器}
 \begin{commands}\noitemsep
   \command{newcounter}[\marg{计数器}\oarg{父计数器}]\default{}
-  \command{UseCounter}[\sarg\oarg{父计数器}\darg{编号}\marg{计数器}\marg{内容}\oarg{分隔符}]
-  命令 \cs{newcounter} 是 \LaTeX 自带的创建计数器命令,命令 \cs{UseCounter} 以一定的格式使用由它创建的计数器,将会以 \cs*{the}\meta{父计数器}\meta{分隔符}\cs*{the}\meta{计数器}\meta{内容} 输出当前内容。注意 \cs{UseCounter} 仅具有\textbf{输出功能},并不会改变计数器原有的绑定关系。默认每使用一次命令 \meta{计数器} 的值增加 1,带有星号的命令使 \meta{计数器} 值保持不变,\meta{编号} 为 \code{arabic} 或 \code{alpha} 等形式,\meta{数值} 可以手动将 \meta{计数器} 设为指定值。
+  \command{counteruse}[\sarg\oarg{父计数器}\darg{编号}\marg{计数器}\marg{内容}\oarg{分隔符}]
+  命令 \cs{newcounter} 是 \LaTeX 自带的创建计数器命令,命令 \cs{counteruse} 以一定的格式使用由它创建的计数器,将会以 \cs*{the}\meta{父计数器}\meta{分隔符}\cs*{the}\meta{计数器}\meta{内容} 输出当前内容。注意 \cs{counteruse} 仅具有\textbf{输出功能},并不会改变计数器原有的绑定关系。默认每使用一次命令 \meta{计数器} 的值增加 1,带有星号的命令使 \meta{计数器} 值保持不变,\meta{编号} 为 \code{arabic} 或 \code{alpha} 等形式,\meta{数值} 可以手动将 \meta{计数器} 设为指定值。
 
-  在一定的场合下可能用到 \cs{UseCounter} 命令,比如通过新建快捷命令在一些位置使用定理环境的计数器,使用 \cs{labelformat} 设置计数器的引用标签需添加 \code{eb@}:
+  在一定的场合下可能用到 \cs{counteruse} 命令,比如通过新建快捷命令在一些位置使用定理环境的计数器,使用 \cs{labelformat} 设置计数器的引用标签需添加 \code{eb@}:
   \begin{ctexexam}
   \labelformat{eb at theorem}{定理 #1}
-  \newcommand{\theoremhead}[1]{定理 \UseCounter[chapter]{theorem}{\hspace{1em}#1}}
+  \newcommand{\theoremhead}[1]{定理 \counteruse[chapter]{theorem}{\hspace{1em}#1}}
   \theoremhead{定理内容}\label{thm:theorem}
   \end{ctexexam}
 \end{commands}

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-10-16 20:41:19 UTC (rev 60776)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-10-16 20:42:32 UTC (rev 60777)
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/10/12}{1.3I}
+\ProvidesExplClass{easybook}{2021/10/16}{1.3L}
   {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/12}{1.3I}
+\ProvidesExplPackage{easybase}{2021/10/16}{1.3L}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1358,7 +1358,7 @@
         \tl_use:c { the#1 }
       }
   }
-\NewDocumentCommand{\UseCounter}{soD(){arabic}mmO{.}d()}
+\NewDocumentCommand{\counteruse}{soD(){arabic}mmO{.}d()}
   {
     \IfBooleanF{#1}{\stepcounter{#4}}
     \IfValueT{#7}{\setcounter{#4}{#7}}
@@ -2385,7 +2385,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/12}{1.3I}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/16}{1.3L}
   {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-16 20:41:19 UTC (rev 60776)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-10-16 20:42:32 UTC (rev 60777)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/10/12}{1.3I}
+\ProvidesExplPackage{easybase}{2021/10/16}{1.3L}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1059,7 +1059,7 @@
         \tl_use:c { the#1 }
       }
   }
-\NewDocumentCommand{\UseCounter}{soD(){arabic}mmO{.}d()}
+\NewDocumentCommand{\counteruse}{soD(){arabic}mmO{.}d()}
   {
     \IfBooleanF{#1}{\stepcounter{#4}}
     \IfValueT{#7}{\setcounter{#4}{#7}}

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-10-16 20:41:19 UTC (rev 60776)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-10-16 20:42:32 UTC (rev 60777)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/10/12}{1.3I}
+\ProvidesExplClass{easybook}{2021/10/16}{1.3L}
   {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-16 20:41:19 UTC (rev 60776)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2021-10-16 20:42:32 UTC (rev 60777)
@@ -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/12}{1.3I}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/16}{1.3L}
   {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.