在https://www.latexstudio.net/index/details/index/mid/421.html 下载的模板无法编译,查看log文件主要分为几个问题:
c:/texlive/2020/texmf-dist/tex/latex/cjk/texinput/CJK.sty:809: LaTeX Error: Command \CJKglue already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.809 ...glue}{\hskip \z@ \@plus .08\baselineskip}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
和许多的
c:/Users/wsxceerf/Desktop/m421_1617892419_0fe2efa62c5c09da35fe0b9b5bd9bd5f/paperdemo.tex:30: Missing number, treated as zero.
<to be read again>
第
l.30 \maketitle
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
同时附件是点击xelatex编译后无法显示pdf的mwe压缩包mwe.zip
因为比较着急,所以在论坛和latexstudio邮箱都发送了,请大佬解答!
已在群中Listlee帮助下解决。
根据 https://github.com/CTeX-org/ctex-kit/issues/562
将模板中tzmcmthesis.cls
的
\RequirePackage{CJKnumb}
注释掉即可编译。