summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/easybook/easybook.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/easybook/easybook.dtx')
-rw-r--r--Master/texmf-dist/source/latex/easybook/easybook.dtx10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx
index bf2b48909d6..3c026512da7 100644
--- a/Master/texmf-dist/source/latex/easybook/easybook.dtx
+++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx
@@ -15,7 +15,7 @@
%<*class>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2024/01/23}{2024N}
+\ProvidesExplClass{easybook}{2024/01/28}{2024O}
{Easily typesetting Chinese theses or books}
\bool_set_false:N \l__eb_compile_draft_bool
@@ -302,7 +302,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2024/01/23}{2024N}
+\ProvidesExplPackage{easybase}{2024/01/28}{2024O}
{Easily typesetting Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -716,7 +716,9 @@
\geometry{showframe}
}
\bool_new:N \l__eb_ps_used_bool
-\eb_appto_cmd:nn { pagestyle } { \bool_set_true:N \l__eb_ps_used_bool }
+\NewHook{ps@end}
+\AddToHook{ps@end}{\bool_set_true:N \l__eb_ps_used_bool}
+\apptocmd{\pagestyle}{\UseOneTimeHook{ps@end}}{}{}
\ctex_at_end_preamble:n
{
\bool_if:NF \l__eb_ps_used_bool { \pagestyle{fancy} }
@@ -2323,7 +2325,7 @@
}
%</package>
%<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/23}{2024N}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/28}{2024O}
{Customization of tcolorbox for easybook}
\cs_set_protected:Npn \addtotcbstyle #1#2