summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-09 22:18:03 +0000
committerKarl Berry <karl@freefriends.org>2021-11-09 22:18:03 +0000
commita16f9ec7efa2ceed249836b714bee540b95c2bac (patch)
tree61899ae0f0f6f0ed7519124587ddf0ff782d3f1a /Master/texmf-dist/tex
parentd452d36d354e8e3e1ace322a803d6f8db64e523a (diff)
easybook (9nov21)
git-svn-id: svn://tug.org/texlive/trunk@61009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybase.sty14
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybook.cls8
-rw-r--r--Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg2
3 files changed, 9 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty
index 80afd16db8a..a0a154f852d 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/11/06}{1.40L}
+\ProvidesExplPackage{easybase}{2021/11/09}{1.40M}
{Typeset Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1493,9 +1493,7 @@
}
\IfPackageAtLeastTF{tabularray}{2021/07/01}
{
- \NewTableCommand{\toprule}[1][1pt]{\hline[#1]}
- \NewTableCommand{\midrule}[1][0.5pt]{\hline[#1]}
- \NewTableCommand{\bottomrule}[1][1pt]{\hline[#1]}
+ \UseTblrLibrary{booktabs}
\SetTblrInner{stretch = \fp_use:N \l__eb_spread_table_fp}
}{}
\eb_at_begin_environment:nn { tabular,tabularx }
@@ -1552,12 +1550,8 @@
\SetEnumitemValue{font}{sf}{\color{ctex@emph}\normalfont\sffamily}
\SetEnumitemValue{ref}{enumii}{\arabic{enumi}.\alph*}
\SetEnumitemValue{ref}{enumiii}{\arabic{enumi}.\alph{enumii}.\roman*}
-\setlist
- {
- labelsep = 0.75em,listparindent = 2em,leftmargin = *,
- itemsep = 0.75ex plus .1ex,topsep = 0.75ex plus .1ex,
- partopsep = 0ex,parsep = 0ex
- }
+\setlist{nosep,align = left}
+\setlist*{labelsep = 0.5em,listparindent = 2em,leftmargin = *}
\setlist[itemize,1]{label = bullet}
\setlist[itemize,2]{label = endash}
\setlist[itemize,3]{label = asterisk}
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls
index 8913ccba875..eed1827762d 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/11/06}{1.40L}
+\ProvidesExplClass{easybook}{2021/11/09}{1.40M}
{Typeset Chinese theses or books}
\bool_set_false:N \l__eb_compile_draft_bool
@@ -31,6 +31,7 @@
\clist_new:N \g__eb_options_clist
\cs_new_protected:Npn \eb_put_ctexbook:n #1
{ \PassOptionsToClass{#1}{ctexbook} }
+\cs_generate_variant:Nn \eb_put_ctexbook:n { V }
\keys_define:nn { easybook }
{
@@ -71,13 +72,12 @@
config .tl_set:N = \g__eb_config_tl,
floatpage .bool_set:N = \l__eb_float_page_bool,
floatpage .default:n = true,
- unknown .code:n =
- { \clist_gput_right:NV \g__eb_options_clist \CurrentOption }
+ unknown .code:n = \clist_gput_right:NV \g__eb_options_clist \CurrentOption
}
\ProcessKeysOptions{easybook}
\PassOptionsToPackage{no-math,quiet,CJKmath}{xeCJK}
-\eb_put_ctexbook:n { \g__eb_options_clist }
+\eb_put_ctexbook:V \g__eb_options_clist
\LoadClass[UTF8]{ctexbook}
\RequirePackage{easybase}
diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
index 1d100e729f1..28cb1a6af0d 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/11/06}{1.40L}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/09}{1.40M}
{Customization of tcolorbox for easybook}
\tl_gset:Nn \eb@tc@line@skip { 0.5\baselineskip }