summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/easybook
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-25 21:24:09 +0000
committerKarl Berry <karl@freefriends.org>2021-11-25 21:24:09 +0000
commit91c444a271f31d785e695b9c74e4dbaaede3f6bc (patch)
tree82ab3be0be7e157339502a67c4ebf8fa54d9cb5b /Master/texmf-dist/tex/latex/easybook
parent9bb1d536b006d4a9e16a0eae95d0797e9e5926a0 (diff)
easybook (25nov21)
git-svn-id: svn://tug.org/texlive/trunk@61153 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook')
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybase.sty36
-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, 20 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty
index 5a4ec969861..43e89f8d020 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/24}{1.40X}
+\ProvidesExplPackage{easybase}{2021/11/25}{1.40Z}
{Typeset Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1083,7 +1083,7 @@
{
\eb@if@boolT\eb@titletoc@hang@fix@bool{\p@numberline}
\bgroup
- \eb@toc@label@lstlisting{}
+ \eb@toc@label@lstlisting{\thelstlisting}
\egroup
\lst@@caption
}
@@ -1392,16 +1392,19 @@
\ctex_define:nn { subfont }
{
- caption-table .tl_set:N = \l__eb_subfont_table_tl,
- caption-table .initial:n = \sffamily\small,
- caption-figure .tl_set:N = \l__eb_subfont_figure_tl,
- caption-figure .initial:n = \sffamily\small,
- caption-listing .tl_set:N = \l__eb_subfont_listing_tl,
- caption-listing .initial:n = \sffamily\small,
- footnote .tl_set:N = \l__eb_subfont_footnote_tl,
- footnote .initial:n = \rmfamily,
- marginpar .tl_set:N = \marginfont,
- marginpar .initial:n = \rmfamily\footnotesize,
+ caption-table .tl_set:N = \l__eb_subfont_table_tl,
+ caption-figure .tl_set:N = \l__eb_subfont_figure_tl,
+ caption-listing .tl_set:N = \l__eb_subfont_listing_tl,
+ caption .meta:n =
+ {
+ caption-table = #1,caption-figure = #1,
+ caption-listing = #1
+ },
+ caption .initial:n = \sffamily\small,
+ footnote .tl_set:N = \l__eb_subfont_footnote_tl,
+ footnote .initial:n = \rmfamily,
+ marginpar .tl_set:N = \marginfont,
+ marginpar .initial:n = \rmfamily\footnotesize,
unknown .code:n = \eb_msg_unknown_option:n { subfont }
}
@@ -1455,13 +1458,10 @@
\captionsetup[figure][bi-second]{name = Figure}
\captionsetup[table][bi-second]{name = Table}
}
-\IfPackageAtLeastTF{tabularray}{2021/07/01}
- {
- \UseTblrLibrary{booktabs}
- \SetTblrInner{stretch = \fp_use:N \l__eb_spread_table_fp}
- }{}
-\eb_at_begin_environment:nn { tabular,tabularx }
+\eb_at_begin_environment:nn
+ { tabular,tabularx,tblr,longtblr,longtable }
{ \setspread{\fp_use:N \l__eb_spread_table_fp} }
+\IfPackageAtLeastTF{tabularray}{2021/07/01}{\UseTblrLibrary{booktabs}}{}
\bool_if:NF \l__eb_float_page_bool
{
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls
index 1a4f18b3e04..10489fb95eb 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/24}{1.40X}
+\ProvidesExplClass{easybook}{2021/11/25}{1.40Z}
{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 92f9f45b948..d151a93c0a6 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/24}{1.40X}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/25}{1.40Z}
{Customization of tcolorbox for easybook}
\cs_set_protected:Npn \setexercise #1