diff options
author | Karl Berry <karl@freefriends.org> | 2024-07-04 20:27:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-07-04 20:27:51 +0000 |
commit | bb00a823f0b951e13c431d9edecb85b7197e2335 (patch) | |
tree | 9cec774c453150ec8d94bbfbb974ac6040a6e90b /Master/texmf-dist/tex/latex/easybook | |
parent | 091e6d6899a761f545328d2d31d4a1cb160574a3 (diff) |
easybook (4jul24)
git-svn-id: svn://tug.org/texlive/trunk@71705 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook')
-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 0c8011b30f6..83e481e6fa5 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{etoolbox} -\ProvidesExplPackage{easybase}{2024/06/24}{2024cm} +\ProvidesExplPackage{easybase}{2024/07/03}{2024cn} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -1377,7 +1377,7 @@ { tocformat = \IfBooleanT{#1}{\contentsmargin{0pt}}, tocindent = 0pt, - tocrule = \IfBooleanTF{#1}{,~\thecontentspage}{\tocrule{$\cdot$}}, + tocrule = \IfBooleanTF{#1}{,~\thecontentspage}{\cdottocrule}, toclabel = { \bool_if:NTF \l__eb_toc_entry_hang_bool @@ -1448,7 +1448,7 @@ \eb@register@every@toc@option } \RegisterEveryTocOption{tocafter,tocindent,tocrule} -\NewDocumentCommand{\tocrule}{st-O{0.7pc}d()mO{}} +\NewDocumentCommand{\tocrule}{st-O{0.6pc}d()mO{}} { \normalsize\normalfont \ttl@row@i[#3]{\IfValueTF{#4}{\scalebox{#4}{#5}}{#5}}#6 @@ -1465,6 +1465,7 @@ } } } +\cs_set:Npn \cdottocrule { \tocrule{\textperiodcentered} } \ctex_define:nn { toc } { lolskip .skip_set:N = \eb@toc@lol@skip, @@ -1578,7 +1579,7 @@ { tocformat = \addvspace{1pc}\sffamily, tocindent = 0pt, - tocrule = \tocrule{$\cdot$}[\bfseries], + tocrule = \cdottocrule[\bfseries], tocline = \CTEXnumberline{#1}#2 }, section = @@ -1588,8 +1589,8 @@ tocrule = { \bool_if:NTF \l__eb_class_mode_book_bool - { \tocrule{$\cdot$} } - { \tocrule{$\cdot$}[\bfseries] } + { \cdottocrule } + { \cdottocrule[\bfseries] } } }, subsection = diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 637ec260f2c..2867595bb9e 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -19,7 +19,7 @@ %% %% This work has the LPPL maintenance status `maintained'. \NeedsTeXFormat{LaTeX2e}[2021/11/15] -\ProvidesExplClass{easybook}{2024/06/24}{2024cm} +\ProvidesExplClass{easybook}{2024/07/03}{2024cn} {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 9d6f1c517ec..44a1f959d37 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/06/24}{2024cm} +\ProvidesExplFile{eb-tcolorbox.cfg}{2024/07/03}{2024cn} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 |