Skip to content

Commit

Permalink
提示信息前移
Browse files Browse the repository at this point in the history
  • Loading branch information
sikouhjw committed Feb 24, 2022
1 parent 3011f6e commit 3294ac6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions gdutthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@
\ProvidesExplClass{gdutthesis}
{2021/11/09}{v0.1c}{Thesis Template for Guangdong University of Technology}
\RequirePackage { xtemplate, l3keys2e }
\clist_map_inline:nn { xtemplate, l3keys2e }
{
\@ifpackagelater {#1} { 2020/07/17 }
{ } { \msg_error:nnn { gdutthesis } { l3-too-old } {#1} }
}
\msg_new:nnn { gdutthesis } { l3-too-old }
{
Package~ "#1"~ is~ too~ old. \\\\
Please~ update~ an~ up-to-date~ version~ of~ the~ bundles \\
"l3kernel"~ and~ "l3packages"~ using~ your~ TeX~ package \\
manager~ or~ from~ CTAN.
}
\sys_if_engine_xetex:F
\clist_map_inline:nn { xtemplate, l3keys2e }
{
\sys_if_engine_luatex:F
{
\msg_fatal:nnx { gdutthesis } { unsupported-engine }
{ \c_sys_engine_str }
}
\@ifpackagelater {#1} { 2020/07/17 }
{ } { \msg_error:nnn { gdutthesis } { l3-too-old } {#1} }
}
\msg_new:nnn { gdutthesis } { unsupported-engine }
{
The~ gdutthesis~ class~ requires~ either~ XeTeX~ or~ LuaTeX. \\\\
"#1"~ is~ not~ supported~ at~ present.~ You~ must~ change \\
your~ typesetting~ engine~ to~ "xelatex"~ or~ "lualatex".
}
\sys_if_engine_xetex:F
{
\sys_if_engine_luatex:F
{
\msg_fatal:nnx { gdutthesis } { unsupported-engine }
{ \c_sys_engine_str }
}
}
\int_new:N \g__gdut_thesis_type_int
\clist_new:N \g__gdut_to_ctexbook_clist
\clist_new:N \g__gdut_to_hyperref_clist
Expand Down

0 comments on commit 3294ac6

Please sign in to comment.