diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-16 21:16:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-16 21:16:56 +0000 |
commit | 0b42da51fe17b44ba91a2588ece01e2dd4dc042c (patch) | |
tree | aeeb00da9e674b7b2a8b1534a1d3edb413b1847d /Master/texmf-dist/tex/latex | |
parent | 92a238ceeb6e36c0b8ce4d156f690bc76c3bae0f (diff) |
easybook (16feb22)
git-svn-id: svn://tug.org/texlive/trunk@62042 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybase.sty | 13 | ||||
-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 |
3 files changed, 9 insertions, 8 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 diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index afafee9d50f..fefb36deea7 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}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2022/02/14}{1.626} +\ProvidesExplClass{easybook}{2022/02/16}{1.629} {Typeset Chinese theses or books} \bool_set_false: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 f796611d4de..b38065c52ae 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}{2022/02/14}{1.626} +\ProvidesExplFile{eb-tcolorbox.cfg}{2022/02/16}{1.629} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 |