summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/easybook/easybase.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook/easybase.sty')
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybase.sty13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty
index c958de7f3a9..a2846008391 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}[2020/10/01]
\RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/02/14}{1.626}
+\ProvidesExplPackage{easybase}{2022/02/16}{1.629}
{Typeset Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -358,7 +358,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:
@@ -447,7 +447,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}
}
@@ -931,8 +931,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 }
}
@@ -1707,7 +1708,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}
{
@@ -1740,7 +1741,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