From e1b70cd3906c3b92e231eb8001f1a0c0eb2053c1 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 16 Feb 2022 03:00:44 +0000 Subject: CTAN sync 202202160300 --- macros/latex/contrib/easybook/easybook.dtx | 17 +++++++++-------- macros/latex/contrib/easybook/easybook.pdf | Bin 578143 -> 578310 bytes macros/latex/contrib/easybook/easybook.tex | 13 +++++++------ 3 files changed, 16 insertions(+), 14 deletions(-) (limited to 'macros/latex/contrib/easybook') diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx index 52c3418055..050718cbb5 100644 --- a/macros/latex/contrib/easybook/easybook.dtx +++ b/macros/latex/contrib/easybook/easybook.dtx @@ -15,7 +15,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2022/02/14}{1.626} +\ProvidesExplClass{easybook}{2022/02/15}{1.628} {Typeset Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -303,7 +303,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2022/02/14}{1.626} +\ProvidesExplPackage{easybase}{2022/02/15}{1.628} {Typeset Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -641,7 +641,7 @@ \cs_new_protected:Npn \eb_draw_markrule:nnnnn #1#2#3#4#5 { \group_begin: - \tl_if_empty:nF {#4} { \vspace*{#4} } + \tl_if_blank:nF {#4} { \vspace*{#4} } \color{#2}\hrule\@width #1\@height #3 \tl_if_novalue:nF {#5} { \vspace*{#5} } \group_end: @@ -730,7 +730,7 @@ \ctex_at_end_preamble:n { \bool_if:NF \l__eb_ps_used_bool { \pagestyle{fancy} } - \tl_if_empty:NF \l_eb_graphics_path_tl + \tl_if_blank:VF \l_eb_graphics_path_tl { \exp_args:NV \graphicspath \l_eb_graphics_path_tl } \providecommand{\kaishu}{\itshape} } @@ -1214,8 +1214,9 @@ \bool_if:NT \l__eb_toc_entry_hang_bool { \contentspush } { - \bool_if:NT \l__eb_toc_number_color_bool + \bool_if:NTF \l__eb_toc_number_color_bool { \textcolor{ctex@toc@number} } + { \use:n } { \thecontentslabel } \tl_use:c { l__eb_toc_#1_after_tl } } @@ -1990,7 +1991,7 @@ } { \cs_set_eq:NN \cite \citep } { \exp_args:NV \bibliographystyle \l__eb_bib_otherstyle_tl } - \tl_if_empty:NF \l__eb_bib_cite_style_tl + \tl_if_blank:VF \l__eb_bib_cite_style_tl { \exp_args:NV \setcitestyle \l__eb_bib_cite_style_tl } \NewDocumentCommand{\printbibliography}{st+o} { @@ -2023,7 +2024,7 @@ { \eb_put_biblatex:n { style = gb7714-2015 } } { \eb_put_biblatex:n { style = gb7714-2015ay } } { \eb_put_biblatex:n { style = \l__eb_bib_both_style_tl } } - \tl_if_empty:NF \l__eb_bib_cite_style_tl + \tl_if_blank:VF \l__eb_bib_cite_style_tl { \eb_put_biblatex:n { citestyle = \l__eb_bib_cite_style_tl } } \LoadPackage[backend = biber]{biblatex} \clist_map_function:NN \l__eb_bib_datafile_clist \addbibresource @@ -2270,7 +2271,7 @@ } % %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2022/02/14}{1.626} +\ProvidesExplFile{eb-tcolorbox.cfg}{2022/02/15}{1.628} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf index c58bf2d8aa..d5fc5dc183 100644 Binary files a/macros/latex/contrib/easybook/easybook.pdf and b/macros/latex/contrib/easybook/easybook.pdf differ diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex index 8dfe779fa2..39c87a9732 100644 --- a/macros/latex/contrib/easybook/easybook.tex +++ b/macros/latex/contrib/easybook/easybook.tex @@ -21,8 +21,8 @@ name = easybook, color-scheme = blue, title = EASYBOOK 使用手册, - version = v1.626, - date = 2022/02/14, + version = v1.628, + date = 2022/02/15, authors = 瞿毅, info = 排版简体中文学位论文和书籍, email = q1jx@foxmail.com, @@ -343,7 +343,7 @@ 如果需要部分而不是全文的目录或其它类型的目录,可以查看 \pkg*{titletoc} 宏包的相关命令。上面目录命令的可选参数改进了原本单一的功能,其中 \meta{键值列表} 的选项如下: \begin{options} - \keyval{level}{标题命令}\newtag + \keyval{level}{标题命令}\newtag% 设定输出目录标题的命令。如果使用 \option{title} 选项设置了双语标题则需要配合双语标题命令。 \begin{ctexexam} \tableofcontents[level = \chapter*] @@ -519,8 +519,8 @@ 上下标命令 \cs{supersub} 对应的上下标共同水平偏移量。 \kvsplit{spbcmd}{上标格式,下标格式} 上下标命令 \cs{supersub} 对应的上下标格式命令。以英文逗号分隔为前后两个部分分别设置上下标格式,也可以只有前部分,表示上标的格式。 - \keyval{vsep}{刚性长度}\Default{0.6ex} - 上下标命令 \cs{supersub} 对应的上下标额外垂直距离。 + \kvsplit{vsep}{上标偏移,下标偏移}\Default{0.6ex}\newtag[Changed]% + 上下标命令 \cs{supersub} 对应的上下标额外垂直距离。前部分为上标的偏移量,后部分为下标的偏移量。如果只有前部分则上下标各自垂直移动当前值的一半。 \keychoice{halign}{l,c,r}\Default{l} 上下标命令 \cs{supersub} 对应的上下标水平对齐方式,有左 \code{l}、居中 \code{c} 和右 \code{r} 三种对齐方式。 \end{options} @@ -899,7 +899,7 @@ 引导线选项 \option{tocrule} 中一般可以使用基于 \cs*{xleaders} 命令的 \cs{tocrule} 绘制引导线。 \keyval{tocafter}{距离命令}\dtag\Default{\cs*{hspace}\Marg{1em}} 目录条目编号与标题间的代码,默认为插入 \code{1em} 横向距离。 - \keyval{tocbelow}{距离命令}\dtag\newtag + \keyval{tocbelow}{距离命令}\dtag\newtag% 在目录条目下方执行的代码,可以插入垂直距离等命令。 \keyval{tocline}{条目定义}\dtag 这个选项扩展了图片、表格或代码题注在目录文件中的定义。选项中参数 \code{\#1} 代表相应题注编号 \cs*{the}\meta{计数器} 的值,参数 \code{\#2} 代表相应题注内容。 @@ -1262,6 +1262,7 @@ \end{commands} \appendix +\setlist[1]{} \begin{changelog}[title = 更新日志] \shortversion{v = 1.45,date = 2022/01/08,changes = 经过前期各模块的功能调整和错误修复,稳定版本正式发布。} \begin{version}[v = 1.46,date = 2022/01/12] -- cgit v1.2.3