Skip to content

Commit

Permalink
Merge pull request #238 from BITNP/dev-fky
Browse files Browse the repository at this point in the history
fix: suppress warnings.
  • Loading branch information
fky2015 committed Feb 19, 2023
2 parents e47145f + 0844846 commit aa6359e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bithesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2286,6 +2286,10 @@
}
% \end{macrocode}
%
% 抑制 fontspec 宏包关于字体的警告信息。
% \begin{macrocode}
\PassOptionsToPackage{quiet}{xeCJK}
% \end{macrocode}
% 加载 ctexbook 模板类。
% \begin{macrocode}
\ProcessOptions\relax
Expand Down Expand Up @@ -6192,7 +6196,7 @@ footskip=0.7cm% 页脚 1.8cm %
\ProvidesPackage{dtx-style}
\RequirePackage{hypdoc}
\RequirePackage{ifthen}
\RequirePackage{fontspec}
\RequirePackage[quiet]{fontspec}
\RequirePackage{amsmath}
\RequirePackage{unicode-math}
\RequirePackage[UTF8,scheme=chinese,heading,sub3section]{ctex}
Expand Down
1 change: 1 addition & 0 deletions templates/graduate-thesis/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@
\DeclareOption*{
\PassOptionsToClass{\l__bithesis_options_to_ctex_tl}{ctexbook}
}
\PassOptionsToPackage{quiet}{xeCJK}
\ProcessOptions\relax
\LoadClass[zihao=-4,]{ctexbook}
\RequirePackage{geometry}
Expand Down
1 change: 1 addition & 0 deletions templates/paper-translation/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@
\DeclareOption*{
\PassOptionsToClass{\l__bithesis_options_to_ctex_tl}{ctexbook}
}
\PassOptionsToPackage{quiet}{xeCJK}
\ProcessOptions\relax
\LoadClass[zihao=-4,]{ctexbook}
\RequirePackage{geometry}
Expand Down
1 change: 1 addition & 0 deletions templates/undergraduate-thesis-en/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@
\DeclareOption*{
\PassOptionsToClass{\l__bithesis_options_to_ctex_tl}{ctexbook}
}
\PassOptionsToPackage{quiet}{xeCJK}
\ProcessOptions\relax
\LoadClass[zihao=-4,]{ctexbook}
\RequirePackage{geometry}
Expand Down
1 change: 1 addition & 0 deletions templates/undergraduate-thesis/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@
\DeclareOption*{
\PassOptionsToClass{\l__bithesis_options_to_ctex_tl}{ctexbook}
}
\PassOptionsToPackage{quiet}{xeCJK}
\ProcessOptions\relax
\LoadClass[zihao=-4,]{ctexbook}
\RequirePackage{geometry}
Expand Down

0 comments on commit aa6359e

Please sign in to comment.