Skip to content

Commit

Permalink
not invoke expl3 explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
SwitWu committed Jun 7, 2024
1 parent d9430fb commit c821f4a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions whu-thesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

%tag 标识节
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass {whu-thesis} {2024-05-29} {v2.2.0}
{Thesis template for Wuhan University}

Expand All @@ -33,9 +32,6 @@
\cs_new:Npn \__whu_error:nn { \msg_error:nnn { whu-thesis } }
\cs_new:Npn \__whu_fatal:nx { \msg_fatal:nnx { whu-thesis } }


\cs_if_exist:NF \NewDocumentCommand
{ \RequirePackage { xparse } }
\RequirePackage { xtemplate, l3keys2e }

\__whu_msg_new:nn { l3-too-old }
Expand All @@ -47,7 +43,7 @@
}
\clist_map_inline:nn { expl3, xtemplate, l3keys2e }
{
\@ifpackagelater {#1} { 2018/05/12 }
\@ifpackagelater {#1} { 2020/02/02 }
{ } { \__whu_error:nn { l3-too-old } {#1} }
}
\sys_if_engine_xetex:F
Expand Down

0 comments on commit c821f4a

Please sign in to comment.