summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook/easybook.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-01-29 03:01:04 +0000
committerNorbert Preining <norbert@preining.info>2024-01-29 03:01:04 +0000
commit6c43653052d016d5913aabb728c484f0e62b4754 (patch)
tree86463762682ace059db9efb216a1a4f0ad773688 /macros/latex/contrib/easybook/easybook.dtx
parent7084e3008c8fc947579f46c6b8a08dfd180e72ef (diff)
CTAN sync 202401290301
Diffstat (limited to 'macros/latex/contrib/easybook/easybook.dtx')
-rw-r--r--macros/latex/contrib/easybook/easybook.dtx10
1 files changed, 6 insertions, 4 deletions
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx
index bf2b48909d..3c026512da 100644
--- a/macros/latex/contrib/easybook/easybook.dtx
+++ b/macros/latex/contrib/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