summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
diff options
context:
space:
mode:
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, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/ctexhook.sty b/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
index 0bad5bedc30..c8790544a1b 100644
--- a/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
+++ b/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
@@ -6,7 +6,7 @@
%%
%% ctex.dtx (with options: `ctexhook')
%%
-%% Copyright (C) 2003--2021
+%% Copyright (C) 2003--2022
%% CTEX.ORG and any individual authors listed in the documentation.
%% ---------------------------------------------------------------------
%%
@@ -26,10 +26,10 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx fcbe2c0 2021-12-12 18:20:54 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx c6b2e9c 2022-06-04 19:41:06 +0800 Qing Lee <sobenlee@gmail.com> $
{Document and package hooks (CTEX)}
\ProvidesExplPackage{ctexhook}
- {\ExplFileDate}{2.5.8}{\ExplFileDescription}
+ {\ExplFileDate}{2.5.9}{\ExplFileDescription}
\cs_new:Npn \ctex_if_format_at_least:nTF
{ \@ifl@t@r \fmtversion }
\cs_new_protected:Npn \ctex_file_input:n #1
@@ -74,7 +74,7 @@
\@ifpackageloaded {#1}
{ \msg_error:nnxx }
{ \__ctex_disable_package_aux:nnnn }
- { ctex } { disable-package } {#1} { \@currname }
+ { ctexhook } { disable-package } {#1} { \@currname }
}
\cs_new_protected:Npx \__ctex_disable_package_aux:nnnn #1#2#3#4
{
@@ -85,7 +85,7 @@
}
{ \tl_const:cn { ver@ #3 . \exp_not:N \@pkgextension } { 9999/99/99 } }
}
-\msg_new:nnn { ctex } { disable-package }
+\msg_new:nnn { ctexhook } { disable-package }
{ Package~`#1'~can~not~be~loaded~with~`#2'. }
\ctex_if_format_at_least:nTF { 2020/10/01 }
{
@@ -98,8 +98,8 @@
}
{
\cs_new_protected:Npn \ctex_replace_package:nn
- { \msg_warning:nnnn { ctex } { replace-package-invalid } }
- \msg_new:nnn { ctex } { replace-package-invalid }
+ { \msg_warning:nnnn { ctexhook } { replace-package-invalid } }
+ \msg_new:nnn { ctexhook } { replace-package-invalid }
{
\token_to_str:N \ctex_replace_package:nn \{#1\}\{#2\}~is~invalid~
before~LaTeX~2020-10-01.
@@ -112,8 +112,8 @@
{ \ctex_gadd_package_hook:nnn { before } {#1} }
}
\cs_new_protected:Npn \__ctex_package_loaded_warning:nn #1#2
- { \msg_warning:nnx { ctex } { invalid-hook } {#1} }
-\msg_new:nnn { ctex } { invalid-hook }
+ { \msg_warning:nnx { ctexhook } { invalid-hook } {#1} }
+\msg_new:nnn { ctexhook } { invalid-hook }
{
Package~`#1'~is~loaded. \\
\token_to_str:N \ctex_at_begin_package:nn \{#1\}\{...\}~is~invalid.