However, when I compile the main.tex with pdflatex, some errors occur.
log:
Option clash for package hyperref. \usepackage
Critical xeCJK error: "Require-XeTeX" The xeCJK package requires XeTeX to function. You must change your typesetting engine to "xelatex" instead of plain "latex" or "pdflatex" or "lualatex". Loading xeCJK will abort! For immediate help type H .
Undefined control sequence. \setmainfont
Missing \begin{document}. \setmainfont{T
Undefined control sequence. \setCJKmainfont
Undefined control sequence. \setCJKfamilyfont
Undefined control sequence. \setCJKfamilyfont
Missing $ inserted. \setCJKfamilyfont{fs}{FangSong_
Extra }, or forgotten $. \setCJKfamilyfont{fs}{FangSong_GB2312}
Undefined control sequence. \setCJKfamilyfont
Undefined control sequence. \setCJKfamilyfont
Undefined control sequence. \setCJKfamilyfont
Missing $ inserted.
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Argument of extract@rangefontinfo has an extra }. \makecover
Paragraph ended before extract@rangefontinfo was complete. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
Undefined control sequence. \makecover
fontenc already loaded - some fonts may be unprocessed.