diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-14 20:22:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-14 20:22:08 +0000 |
commit | da895cafca5415b63ab705b4e6457d9496e48a9f (patch) | |
tree | 65b7e5510b9d4f8e331a8ec07659a28f369bc43b | |
parent | 8d5a756a403da93240d7f737211a0d06bf00d0d5 (diff) |
easybook (14mar24)
git-svn-id: svn://tug.org/texlive/trunk@70634 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/easybook/easybook.pdf | bin | 604372 -> 608488 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/easybook/easybook.tex | 23 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/easybook/easybook.dtx | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybase.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | 2 |
6 files changed, 25 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.pdf b/Master/texmf-dist/doc/latex/easybook/easybook.pdf Binary files differindex 3bc9fb4d0eb..b053b576acf 100644 --- a/Master/texmf-dist/doc/latex/easybook/easybook.pdf +++ b/Master/texmf-dist/doc/latex/easybook/easybook.pdf diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.tex b/Master/texmf-dist/doc/latex/easybook/easybook.tex index 58886c011f9..5ce75e40fa4 100644 --- a/Master/texmf-dist/doc/latex/easybook/easybook.tex +++ b/Master/texmf-dist/doc/latex/easybook/easybook.tex @@ -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@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,17 +1407,18 @@ \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} 的可选参数设置英文目录中条目名字和编号失效的问题。 \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{*} diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx index e0506e460df..98f5ddab464 100644 --- a/Master/texmf-dist/source/latex/easybook/easybook.dtx +++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx @@ -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 diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty index 938fab42ae9..e2fb6960890 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybase.sty +++ b/Master/texmf-dist/tex/latex/easybook/easybase.sty @@ -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, diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index dfe8565e420..ca1be7346ce 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -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 diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg index 55f6580634a..9ffc1e1a337 100644 --- a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg +++ b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg @@ -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 |