summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-19 21:09:26 +0000
committerKarl Berry <karl@freefriends.org>2020-10-19 21:09:26 +0000
commit8922652b4c013622bf6844a414b192d2e1ace25e (patch)
tree42e550080cc706e62e9209db646508b9da05f3f8 /Master/texmf-dist/tex/latex/ctex/ctexhook.sty
parent12ef9a6d68a544de01f5e01905e3d6a9957199b1 (diff)
ctex (19oct20)
git-svn-id: svn://tug.org/texlive/trunk@56705 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/ctexhook.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/ctexhook.sty18
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/ctexhook.sty b/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
index c6ae5130a98..b05729f969a 100644
--- a/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
+++ b/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
@@ -26,10 +26,10 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx e805781 2020-08-23 21:30:35 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx 81d4c90 2020-10-19 20:24:58 +0800 Qing Lee <sobenlee@gmail.com> $
{Document and package hooks (CTEX)}
\ProvidesExplPackage{ctexhook}
- {\ExplFileDate}{2.5.4}{\ExplFileDescription}
+ {\ExplFileDate}{2.5.5}{\ExplFileDescription}
\cs_new_protected:Npn \ctex_at_begin_package:nn #1
{
\@ifpackageloaded {#1}
@@ -51,12 +51,14 @@
}
\@ifl@t@r \fmtversion { 2020/10/01 }
{
- \cs_new_protected:Npx \ctex_at_end_preamble:n
- { \hook_gput_code:nnn { env/document/before } { \c_novalue_tl } }
- \cs_new_protected:Npx \ctex_after_end_preamble:n
- { \hook_gput_code:nnn { begindocument/end } { \c_novalue_tl } }
- \cs_new_protected:Npx \ctex_gadd_package_hook:nnn #1#2
- { \hook_gput_code:nnn { package/#1/#2 } { \c_novalue_tl } }
+ \cs_new_protected:Npx \ctex_gadd_ltxhook:nn #1
+ { \hook_gput_code:nnn {#1} { \c_novalue_tl } }
+ \cs_new_protected:Npn \ctex_at_end_preamble:n
+ { \ctex_gadd_ltxhook:nn { env/document/before } }
+ \cs_new_protected:Npn \ctex_after_end_preamble:n
+ { \ctex_gadd_ltxhook:nn { begindocument/end } }
+ \cs_new_protected:Npn \ctex_gadd_package_hook:nnn #1#2
+ { \ctex_gadd_ltxhook:nn { package/#1/#2 } }
\file_input_stop:
}
{ }