diff options
author | Karl Berry <karl@freefriends.org> | 2024-05-10 21:15:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-05-10 21:15:04 +0000 |
commit | 4509574ed056cb5935f4a8c0c43d746ae1922161 (patch) | |
tree | 91142a52f87d45a7103a7ec1182b981313b2225f /Master/texmf-dist/source | |
parent | 361f809b94945810863cf942ccb7a6f8865079e5 (diff) |
easybook (10may24)
git-svn-id: svn://tug.org/texlive/trunk@71224 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/easybook/easybook.dtx | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx index ff41382cdc8..1396d311baa 100644 --- a/Master/texmf-dist/source/latex/easybook/easybook.dtx +++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx @@ -14,7 +14,7 @@ % This work has the LPPL maintenance status `maintained'. %<*class> \NeedsTeXFormat{LaTeX2e}[2021/11/15] -\ProvidesExplClass{easybook}{2024/05/08}{2024bl} +\ProvidesExplClass{easybook}{2024/05/09}{2024bm} {Easily typesetting Chinese theses or books} \bool_new:N \l__eb_compile_draft_bool @@ -301,7 +301,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2021/11/15] \RequirePackage{etoolbox} -\ProvidesExplPackage{easybase}{2024/05/08}{2024bl} +\ProvidesExplPackage{easybase}{2024/05/09}{2024bm} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -1607,11 +1607,8 @@ \tl_new:N \l__eb_toc_tmpb_tl \cs_new_protected:Npn \eb_toc_format_initial:nn #1#2 { - \exp_last_unbraced:Nx - \use:n + \exp_last_unbraced:Nx \titlecontents { - \exp_not:N - \titlecontents \tl_use:N \l__eb_toc_tmpa_tl \exp_not:n { @@ -1677,6 +1674,18 @@ } } } +\eb_seq_map_inline:nn + { tocafter,tocindent,tocrule } + { + \ctex_define:nn { toc } + { + #1-every .code:n = + { + \seq_map_inline:Nn \c__ctex_headings_seq + { \ctex_set:n { ####1/#1 = {##1} } } + } + } + } \NewDocumentCommand{\tocrule}{st-O{0.7pc}d()mO{}} { \normalsize\normalfont @@ -1926,7 +1935,7 @@ caption-every = {#1},footnote = {#1} }, abovedisplayskip .code:n = - {\AfterPreamble{\skip_set:Nn \abovedisplayskip {#1}}}, + { \AfterPreamble{\skip_set:Nn \abovedisplayskip {#1}} }, abovedisplayskip .initial:n = 0.5ex plus .1ex minus .1ex, belowdisplayskip .code:n = { @@ -2531,7 +2540,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2024/05/08}{2024bl} +\ProvidesExplFile{eb-tcolorbox.cfg}{2024/05/09}{2024bm} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 |