summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-10 21:02:58 +0000
committerKarl Berry <karl@freefriends.org>2021-09-10 21:02:58 +0000
commit4fb1439822812931cd8727b02790f8ddcf3e3e1d (patch)
treebac86fcebb995e508eff826e1170a71f14f86a54 /Master/texmf-dist/tex/latex
parent5d6fff8fbf92d4ec1185bef63a353cefb80762e9 (diff)
easybook (10sep21)
git-svn-id: svn://tug.org/texlive/trunk@60467 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybase.sty46
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybook.cls2
-rw-r--r--Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg2
3 files changed, 21 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty
index 991d1fcdf28..6c37208e6ab 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}{2021/09/08}{1.3a}
+\ProvidesExplPackage{easybase}{2021/09/10}{1.3c}
{Typeset Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -892,6 +892,21 @@
}
}
}
+\eb_clist_map_inline:nn
+ { numsep,indent,rule }
+ {
+ \ctex_define:nn { tocset }
+ {
+ #1-all .meta:n =
+ {
+ part/#1 = ##1,
+ chapter/#1 = ##1,
+ section/#1 = ##1,
+ subsection/#1 = ##1,
+ list/#1 = ##1
+ }
+ }
+ }
\cs_set_eq:NN \ctexnumberline \CTEXnumberline
\cs_set:Npn \CTEXnumberline #1
@@ -926,31 +941,7 @@
hang .default:n = true,
hang .initial:n = false,
- numsep-all .meta:n =
- {
- part/numsep = #1,
- chapter/numsep = #1,
- section/numsep = #1,
- subsection/numsep = #1,
- list/numsep = #1
- },
- numsep-all .initial:n = 1em,
- indent-all .meta:n =
- {
- part/indent = #1,
- chapter/indent = #1,
- section/indent = #1,
- subsection/indent = #1,
- list/indent = #1
- },
- rule-all .meta:n =
- {
- part/rule = #1,
- chapter/rule = #1,
- section/rule = #1,
- subsection/rule = #1,
- list/rule = #1
- }
+ unknown .code:n = \eb_msg_unknown_option:n { tocset }
}
\ctex_set:n
{
@@ -1026,7 +1017,8 @@
\lstlistingname\space\thelstlisting
\notbool{eb@titletoc@hang@fix}
{\hspace{\eb@toc@lstlisting@numsep}}{}
- }
+ },
+ numsep-all = 1em
}
\prop_new:N \l__eb_list_label_name_prop
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls
index 459bddb88de..e23cb2bf963 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}{2021/09/08}{1.3a}
+\ProvidesExplClass{easybook}{2021/09/10}{1.3c}
{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 f194c24f555..6ea8fd180bb 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}{2021/09/08}{1.3a}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/09/10}{1.3c}
{Customization of tcolorbox for easybook}
\tl_gset:Nn \eb@tc@line@skip { 0.5\baselineskip }