texlive[70634] Master/texmf-dist: easybook (14mar24)

commits+karl at tug.org commits+karl at tug.org
Thu Mar 14 21:22:08 CET 2024


Revision: 70634
          https://tug.org/svn/texlive?view=revision&revision=70634
Author:   karl
Date:     2024-03-14 21:22:08 +0100 (Thu, 14 Mar 2024)
Log Message:
-----------
easybook (14mar24)

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	2024-03-14 20:21:59 UTC (rev 70633)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2024-03-14 20:22:08 UTC (rev 70634)
@@ -23,8 +23,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2024an,
-    date            = 2024/02/28,
+    version         = v2024ao,
+    date            = 2024/03/13,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = toquyi at 163.com,
@@ -869,9 +869,15 @@
   \DeclareFloatList{algorithm}{loa}
   \listofalgorithms[multoc] % 在正文中输出双栏算法目录
   \end{ctexexam}
-  \command{SetTocStyle}[\marg{条目名}\marg{风格名}\marg{键值列表}]\newtag%
+  \command{AllotCaptionExt}[\marg{条目名}\marg{扩展名}]\newtag%
+  给条目类型名称为 \meta{条目名} 的标题分配目录文件 \meta{扩展名},注意 \meta{扩展名} 需要被定义在 \cs*{ext@}\meta{条目名} 命令中才有效(\pkg*{caption} 宏包的默认定义形式)。可以使不同的 \meta{条目名} 共享一个目录:
+  \begin{ctexexam}
+  \AllotCaptionExt{table}{lof}
+  \newcommand{\listoffiguretables}{\listoffigures} % 同时输出图表目录的命令
+  \end{ctexexam}
+  \command{SetTocStyle}[\marg{条目名}\marg{风格名}\marg{键值列表}]
   定义条目类型名称为 \meta{风格名} 的目录风格。使用 \cs*{ctexset} 命令设置目录样式时,除了条目标题定义选项 \option{tocline},其它选项只有在目录输出命令前设置才有效,定义完目录风格后用 \cs{UseTocStyle} 命令可以在正文中任意位置生效。如果是没有 \ding{73} 符号的选项,\meta{条目名} 设置为 \module*{tocset}。
-  \command{UseTocStyle}[\marg{条目名}\marg{风格名}\marg{扩展名}]\newtag%
+  \command{UseTocStyle}[\marg{条目名}\marg{风格名}\marg{扩展名}]
   使用对应条目类型名称为 \meta{风格名} 的目录风格,随后标题在目录中的格式会改变。本命令导言区和正文区均可使用,第三个必选参数还需要指定条目标题加入目录文件的 \meta{扩展名}。
   \begin{ctexexam}
   \SetTocStyle{chapter}{fancy}{tocformat = \color{red}\zihao{3}}
@@ -886,8 +892,8 @@
       figure/tocline      = \protect\numberline{图\thefigure\hspace{1em}}#2
     }
   \end{ctexexam}
-  \command{contentsmargin}[\marg{右边距}]
-  目录中引导线到版心右边的距离,用于条目页码的精细调整。当设置条目页码对齐方式或数字较大时,可以设置适当的数值,可在导言区全局设置或在 \option{tocformat} 选项给条目类型单独设置。
+  \command{contentsmargin}[\oarg{修正距离}\marg{右边距}]
+  设置目录中引导线到版心右边的距离,用于条目页码的精细调整。当设计条目页码对齐方式或数字较大时,可以设置适当的 \meta{右边距}。\meta{修正距离} 是在过长而换行的标题右侧 \meta{右边距} 基础上附加的距离。此命令可在导言区全局使用或在 \option{tocformat} 选项给特定条目类型单独使用。
 \end{commands}
 
 \begin{options}
@@ -1401,7 +1407,7 @@
   \shortversion{v = 1.638,date = 2022/03/04,changes = 增加目录条目样式选项注册命令 \cs{RegisterTocName}。}
   \shortversion{v = 1.644,date = 2022/03/10,changes = 增加浮动环境目录声明命令 \cs{DeclareFloatList} 配合 \pkg*{caption} 宏包。}
   \shortversion{v = 1.682,date = 2022/05/01,changes = 将迷你页判断命令 \cs{notminipage} 改为被保护命令兼容 \pkg*{circledtext} 宏包。}
-  \begin{version}[v = 2024an,date = 2024/02/28]
+  \begin{version}[v = 2024ao,date = 2024/03/13]
   \fixed
   \item 修复图表等浮动环境题注目录中条目标签编号的计数器值显示错误问题。
   \item 修复附录命令 \cs{appendix} 的可选参数设置英文目录中条目名字和编号失效的问题。
@@ -1408,10 +1414,11 @@
   \item 修复 \pkg*{biblatex} 宏包对脚注打补丁失效的问题。
   \added
   \item 新增目录风格定义命令 \cs{SetTocStyle} 和使用命令 \cs{UseTocStyle}。
-  \item 新增目录配置命令 \cs{SetTocOuter} 双语目录判断命令 \cs{ebifbitoc}。
+  \item 新增目录配置命令 \cs{SetTocOuter} 和双语目录判断命令 \cs{ebifbitoc}。
   \item 新增脚注段落文本格式定义命令 \cs{deffntpara} 和脚注间距离选项 \option{footnotesep}。
   \item 新增悬挂缩进命令 \cs{hangfrom}。
   \item 新增行间公式与正文上下间距选项 \option{abovedisplayskip} 和 \option{belowdisplayskip}。
+  \item 新增目录文件扩展名分配命令 \cs{AllotCaptionExt}。
   \end{version}
 \end{changelog}
 \nocite{*}

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-03-14 20:21:59 UTC (rev 70633)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-03-14 20:22:08 UTC (rev 70634)
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2024/02/28}{2024an}
+\ProvidesExplClass{easybook}{2024/03/13}{2024ao}
   {Easily typesetting Chinese theses or books}
 
 \bool_new:N \l__eb_compile_draft_bool
@@ -297,7 +297,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2024/02/28}{2024an}
+\ProvidesExplPackage{easybase}{2024/03/13}{2024ao}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1473,6 +1473,8 @@
           { \protect\numberline{#3}{#4} }
       }
   }
+\cs_new_protected:Npn \AllotCaptionExt #1#2
+  { \tl_set:cn { ext@#1 } {#2} }
 \ctex_define:n
   {
     bicontentsname .tl_set:N  = \bicontentsname,
@@ -2390,7 +2392,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/02/28}{2024an}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/03/13}{2024ao}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-03-14 20:21:59 UTC (rev 70633)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-03-14 20:22:08 UTC (rev 70634)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2024/02/28}{2024an}
+\ProvidesExplPackage{easybase}{2024/03/13}{2024ao}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1196,6 +1196,8 @@
           { \protect\numberline{#3}{#4} }
       }
   }
+\cs_new_protected:Npn \AllotCaptionExt #1#2
+  { \tl_set:cn { ext@#1 } {#2} }
 \ctex_define:n
   {
     bicontentsname .tl_set:N  = \bicontentsname,

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-03-14 20:21:59 UTC (rev 70633)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-03-14 20:22:08 UTC (rev 70634)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2021/11/15]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2024/02/28}{2024an}
+\ProvidesExplClass{easybook}{2024/03/13}{2024ao}
   {Easily typesetting Chinese theses or books}
 
 \bool_new: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	2024-03-14 20:21:59 UTC (rev 70633)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2024-03-14 20:22:08 UTC (rev 70634)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/02/28}{2024an}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/03/13}{2024ao}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2



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